Revision 8c1dacab include/Attribute.h

View differences:

include/Attribute.h
257 257
    int vector_value(const char *name, int& value) const;
258 258

  
259 259
    /**
260
     * Returns the float value
261
     *
262
     * @param name Name of the attribute
263
     * @param value Float value
264
     *
265
     * @return 0 on success, -1 otherwise
266
     */
267
    int vector_value(const char *name, float& value) const;
268

  
269
    /**
260 270
     * Returns the integer value
261 271
     *
262 272
     * @param name Name of the attribute
263
     * @param value Integer value, if an error ocurred the string returned is 
273
     * @param value Integer value, if an error occurred the string returned is
264 274
     * empty and value set to -1;
265 275
     *
266 276
     * @return the value in string form on success, "" otherwise

Also available in: Unified diff