Provides a generic interface for attributes and their values and the possiblity to serialize them. More...
#include <IAttributes.h>
Public Member Functions | |
virtual void | addArray (const c8 *attributeName, const core::array< core::stringw > &value)=0 |
Adds an attribute as wide string array. More... | |
virtual void | addBinary (const c8 *attributeName, void *data, s32 dataSizeInBytes)=0 |
Adds an attribute as binary data. More... | |
virtual void | addBool (const c8 *attributeName, bool value)=0 |
Adds an attribute as bool. More... | |
virtual void | addBox3d (const c8 *attributeName, core::aabbox3df v)=0 |
Adds an attribute as axis aligned bounding box. More... | |
virtual void | addColor (const c8 *attributeName, video::SColor value)=0 |
Adds an attribute as color. More... | |
virtual void | addColorf (const c8 *attributeName, video::SColorf value)=0 |
Adds an attribute as floating point color. More... | |
virtual void | addDimension2d (const c8 *attributeName, core::dimension2d< u32 > value)=0 |
Adds an attribute as dimension2d. More... | |
virtual void | addEnum (const c8 *attributeName, const c8 *enumValue, const c8 *const *enumerationLiterals)=0 |
Adds an attribute as enum. More... | |
virtual void | addEnum (const c8 *attributeName, s32 enumValue, const c8 *const *enumerationLiterals)=0 |
Adds an attribute as enum. More... | |
virtual void | addFloat (const c8 *attributeName, f32 value)=0 |
Adds an attribute as float. More... | |
virtual void | addInt (const c8 *attributeName, s32 value)=0 |
Adds an attribute as integer. More... | |
virtual void | addLine2d (const c8 *attributeName, core::line2df v)=0 |
Adds an attribute as a 2d line. More... | |
virtual void | addLine3d (const c8 *attributeName, core::line3df v)=0 |
Adds an attribute as a 3d line. More... | |
virtual void | addMatrix (const c8 *attributeName, const core::matrix4 &v)=0 |
Adds an attribute as matrix. More... | |
virtual void | addPlane3d (const c8 *attributeName, core::plane3df v)=0 |
Adds an attribute as 3d plane. More... | |
virtual void | addPosition2d (const c8 *attributeName, core::position2di value)=0 |
Adds an attribute as 2d position. More... | |
virtual void | addQuaternion (const c8 *attributeName, core::quaternion v)=0 |
Adds an attribute as quaternion. More... | |
virtual void | addRect (const c8 *attributeName, core::rect< s32 > value)=0 |
Adds an attribute as rectangle. More... | |
virtual void | addString (const c8 *attributeName, const c8 *value)=0 |
Adds an attribute as string. More... | |
virtual void | addString (const c8 *attributeName, const wchar_t *value)=0 |
Adds an attribute as string. More... | |
virtual void | addTexture (const c8 *attributeName, video::ITexture *texture, const io::path &filename="")=0 |
Adds an attribute as texture reference. More... | |
virtual void | addTriangle3d (const c8 *attributeName, core::triangle3df v)=0 |
Adds an attribute as 3d triangle. More... | |
virtual void | addUserPointer (const c8 *attributeName, void *userPointer)=0 |
Adds an attribute as user pointner. More... | |
virtual void | addVector2d (const c8 *attributeName, core::vector2df value)=0 |
Adds an attribute as 2d vector. More... | |
virtual void | addVector3d (const c8 *attributeName, core::vector3df value)=0 |
Adds an attribute as 3d vector. More... | |
virtual void | clear ()=0 |
Removes all attributes. More... | |
virtual bool | existsAttribute (const c8 *attributeName)=0 |
Returns if an attribute with a name exists. More... | |
virtual s32 | findAttribute (const c8 *attributeName) const =0 |
Returns attribute index from name, -1 if not found. More... | |
virtual core::array< core::stringw > | getAttributeAsArray (const c8 *attributeName)=0 |
virtual core::array< core::stringw > | getAttributeAsArray (s32 index)=0 |
virtual void | getAttributeAsBinaryData (const c8 *attributeName, void *outData, s32 maxSizeInBytes)=0 |
Gets an attribute as binary data. More... | |
virtual void | getAttributeAsBinaryData (s32 index, void *outData, s32 maxSizeInBytes)=0 |
Gets an attribute as binary data. More... | |
virtual bool | getAttributeAsBool (const c8 *attributeName)=0 |
virtual bool | getAttributeAsBool (s32 index)=0 |
virtual core::aabbox3df | getAttributeAsBox3d (const c8 *attributeName)=0 |
virtual core::aabbox3df | getAttributeAsBox3d (s32 index)=0 |
virtual video::SColor | getAttributeAsColor (const c8 *attributeName)=0 |
virtual video::SColor | getAttributeAsColor (s32 index)=0 |
virtual video::SColorf | getAttributeAsColorf (const c8 *attributeName)=0 |
virtual video::SColorf | getAttributeAsColorf (s32 index)=0 |
virtual core::dimension2d< u32 > | getAttributeAsDimension2d (const c8 *attributeName)=0 |
virtual core::dimension2d< u32 > | getAttributeAsDimension2d (s32 index)=0 |
virtual const c8 * | getAttributeAsEnumeration (const c8 *attributeName)=0 |
virtual s32 | getAttributeAsEnumeration (const c8 *attributeName, const c8 *const *enumerationLiteralsToUse)=0 |
Gets an attribute as enumeration. More... | |
virtual s32 | getAttributeAsEnumeration (s32 index, const c8 *const *enumerationLiteralsToUse)=0 |
Gets an attribute as enumeration. More... | |
virtual const c8 * | getAttributeAsEnumeration (s32 index)=0 |
virtual f32 | getAttributeAsFloat (const c8 *attributeName)=0 |
virtual f32 | getAttributeAsFloat (s32 index)=0 |
virtual s32 | getAttributeAsInt (const c8 *attributeName) const =0 |
virtual s32 | getAttributeAsInt (s32 index) const =0 |
virtual core::line2df | getAttributeAsLine2d (const c8 *attributeName)=0 |
virtual core::line2df | getAttributeAsLine2d (s32 index)=0 |
virtual core::line3df | getAttributeAsLine3d (const c8 *attributeName)=0 |
virtual core::line3df | getAttributeAsLine3d (s32 index)=0 |
virtual core::matrix4 | getAttributeAsMatrix (const c8 *attributeName)=0 |
virtual core::matrix4 | getAttributeAsMatrix (s32 index)=0 |
virtual core::plane3df | getAttributeAsPlane3d (const c8 *attributeName)=0 |
virtual core::plane3df | getAttributeAsPlane3d (s32 index)=0 |
virtual core::position2di | getAttributeAsPosition2d (const c8 *attributeName)=0 |
virtual core::position2di | getAttributeAsPosition2d (s32 index)=0 |
virtual core::quaternion | getAttributeAsQuaternion (const c8 *attributeName)=0 |
virtual core::quaternion | getAttributeAsQuaternion (s32 index)=0 |
virtual core::rect< s32 > | getAttributeAsRect (const c8 *attributeName)=0 |
virtual core::rect< s32 > | getAttributeAsRect (s32 index)=0 |
virtual core::stringc | getAttributeAsString (const c8 *attributeName)=0 |
virtual void | getAttributeAsString (const c8 *attributeName, c8 *target)=0 |
virtual core::stringc | getAttributeAsString (s32 index)=0 |
virtual core::stringw | getAttributeAsStringW (const c8 *attributeName)=0 |
virtual void | getAttributeAsStringW (const c8 *attributeName, wchar_t *target)=0 |
virtual core::stringw | getAttributeAsStringW (s32 index)=0 |
virtual video::ITexture * | getAttributeAsTexture (const c8 *attributeName)=0 |
virtual video::ITexture * | getAttributeAsTexture (s32 index)=0 |
virtual core::triangle3df | getAttributeAsTriangle3d (const c8 *attributeName)=0 |
virtual core::triangle3df | getAttributeAsTriangle3d (s32 index)=0 |
virtual void * | getAttributeAsUserPointer (const c8 *attributeName)=0 |
virtual void * | getAttributeAsUserPointer (s32 index)=0 |
virtual core::vector2df | getAttributeAsVector2d (const c8 *attributeName)=0 |
virtual core::vector2df | getAttributeAsVector2d (s32 index)=0 |
virtual core::vector3df | getAttributeAsVector3d (const c8 *attributeName)=0 |
virtual core::vector3df | getAttributeAsVector3d (s32 index)=0 |
virtual u32 | getAttributeCount () const =0 |
Returns amount of attributes in this collection of attributes. More... | |
virtual void | getAttributeEnumerationLiteralsOfEnumeration (const c8 *attributeName, core::array< core::stringc > &outLiterals)=0 |
virtual void | getAttributeEnumerationLiteralsOfEnumeration (s32 index, core::array< core::stringc > &outLiterals)=0 |
virtual const c8 * | getAttributeName (s32 index)=0 |
virtual E_ATTRIBUTE_TYPE | getAttributeType (const c8 *attributeName)=0 |
virtual E_ATTRIBUTE_TYPE | getAttributeType (s32 index)=0 |
virtual const wchar_t * | getAttributeTypeString (const c8 *attributeName)=0 |
virtual const wchar_t * | getAttributeTypeString (s32 index)=0 |
virtual bool | read (io::IXMLReader *reader, bool readCurrentElementOnly=false, const wchar_t *elementName=0)=0 |
virtual void | setAttribute (const c8 *attributeName, s32 value)=0 |
Sets an attribute as integer value. More... | |
virtual void | setAttribute (s32 index, s32 value)=0 |
Sets an attribute as integer value. More... | |
virtual void | setAttribute (const c8 *attributeName, f32 value)=0 |
Sets a attribute as float value. More... | |
virtual void | setAttribute (s32 index, f32 value)=0 |
Sets an attribute as float value. More... | |
virtual void | setAttribute (const c8 *attributeName, const c8 *value)=0 |
virtual void | setAttribute (s32 index, const c8 *value)=0 |
virtual void | setAttribute (const c8 *attributeName, const wchar_t *value)=0 |
virtual void | setAttribute (s32 index, const wchar_t *value)=0 |
virtual void | setAttribute (const c8 *attributeName, void *data, s32 dataSizeInBytes)=0 |
Sets an attribute as binary data. More... | |
virtual void | setAttribute (s32 index, void *data, s32 dataSizeInBytes)=0 |
Sets an attribute as binary data. More... | |
virtual void | setAttribute (const c8 *attributeName, const core::array< core::stringw > &value)=0 |
virtual void | setAttribute (s32 index, const core::array< core::stringw > &value)=0 |
Sets an attribute as an array of wide strings. More... | |
virtual void | setAttribute (const c8 *attributeName, bool value)=0 |
Sets an attribute as boolean value. More... | |
virtual void | setAttribute (s32 index, bool value)=0 |
Sets an attribute as boolean value. More... | |
virtual void | setAttribute (const c8 *attributeName, const c8 *enumValue, const c8 *const *enumerationLiterals)=0 |
Sets an attribute as enumeration. More... | |
virtual void | setAttribute (s32 index, const c8 *enumValue, const c8 *const *enumerationLiterals)=0 |
Sets an attribute as enumeration. More... | |
virtual void | setAttribute (const c8 *attributeName, video::SColor color)=0 |
Sets a attribute as color. More... | |
virtual void | setAttribute (s32 index, video::SColor color)=0 |
Sets an attribute as color. More... | |
virtual void | setAttribute (const c8 *attributeName, video::SColorf color)=0 |
Sets a attribute as floating point color. More... | |
virtual void | setAttribute (s32 index, video::SColorf color)=0 |
Sets an attribute as floating point color. More... | |
virtual void | setAttribute (const c8 *attributeName, core::vector3df v)=0 |
Sets a attribute as 3d vector. More... | |
virtual void | setAttribute (s32 index, core::vector3df v)=0 |
Sets an attribute as vector. More... | |
virtual void | setAttribute (const c8 *attributeName, core::vector2df v)=0 |
Sets a attribute as 2d vector. More... | |
virtual void | setAttribute (s32 index, core::vector2df v)=0 |
Sets an attribute as 2d vector. More... | |
virtual void | setAttribute (const c8 *attributeName, core::position2di v)=0 |
Sets a attribute as 2d position. More... | |
virtual void | setAttribute (s32 index, core::position2di v)=0 |
Sets an attribute as 2d position. More... | |
virtual void | setAttribute (const c8 *attributeName, core::rect< s32 > v)=0 |
Sets an attribute as rectangle. More... | |
virtual void | setAttribute (s32 index, core::rect< s32 > v)=0 |
Sets an attribute as rectangle. More... | |
virtual void | setAttribute (const c8 *attributeName, core::dimension2d< u32 > v)=0 |
Sets an attribute as dimension2d. More... | |
virtual void | setAttribute (s32 index, core::dimension2d< u32 > v)=0 |
Sets an attribute as dimension2d. More... | |
virtual void | setAttribute (const c8 *attributeName, const core::matrix4 &v)=0 |
Sets an attribute as matrix. More... | |
virtual void | setAttribute (s32 index, const core::matrix4 &v)=0 |
Sets an attribute as matrix. More... | |
virtual void | setAttribute (const c8 *attributeName, core::quaternion v)=0 |
Sets an attribute as quaternion. More... | |
virtual void | setAttribute (s32 index, core::quaternion v)=0 |
Sets an attribute as quaternion. More... | |
virtual void | setAttribute (const c8 *attributeName, core::aabbox3df v)=0 |
Sets an attribute as axis aligned bounding box. More... | |
virtual void | setAttribute (s32 index, core::aabbox3df v)=0 |
Sets an attribute as axis aligned bounding box. More... | |
virtual void | setAttribute (const c8 *attributeName, core::plane3df v)=0 |
Sets an attribute as 3d plane. More... | |
virtual void | setAttribute (s32 index, core::plane3df v)=0 |
Sets an attribute as 3d plane. More... | |
virtual void | setAttribute (const c8 *attributeName, core::triangle3df v)=0 |
Sets an attribute as 3d trianle. More... | |
virtual void | setAttribute (s32 index, core::triangle3df v)=0 |
Sets an attribute as 3d triangle. More... | |
virtual void | setAttribute (const c8 *attributeName, core::line2df v)=0 |
Sets an attribute as a 2d line. More... | |
virtual void | setAttribute (s32 index, core::line2df v)=0 |
Sets an attribute as a 2d line. More... | |
virtual void | setAttribute (const c8 *attributeName, core::line3df v)=0 |
Sets an attribute as a 3d line. More... | |
virtual void | setAttribute (s32 index, core::line3df v)=0 |
Sets an attribute as a 3d line. More... | |
virtual void | setAttribute (const c8 *attributeName, video::ITexture *texture, const io::path &filename="")=0 |
Sets an attribute as texture reference. More... | |
virtual void | setAttribute (s32 index, video::ITexture *texture, const io::path &filename="")=0 |
Sets an attribute as texture reference. More... | |
virtual void | setAttribute (const c8 *attributeName, void *userPointer)=0 |
Sets an attribute as user pointer. More... | |
virtual void | setAttribute (s32 index, void *userPointer)=0 |
Sets an attribute as user pointer. More... | |
virtual bool | write (io::IXMLWriter *writer, bool writeXMLHeader=false, const wchar_t *elementName=0)=0 |
![]() | |
IReferenceCounted () | |
Constructor. More... | |
virtual | ~IReferenceCounted () |
Destructor. More... | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. More... | |
const c8 * | getDebugName () const |
Returns the debug name of the object. More... | |
s32 | getReferenceCount () const |
Get the reference count. More... | |
void | grab () const |
Grabs the object. Increments the reference counter by one. More... | |
Additional Inherited Members | |
![]() | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
Provides a generic interface for attributes and their values and the possiblity to serialize them.
Definition at line 41 of file IAttributes.h.
|
pure virtual |
Adds an attribute as wide string array.
|
pure virtual |
Adds an attribute as binary data.
|
pure virtual |
Adds an attribute as bool.
Referenced by irr::scene::ICameraSceneNode::serializeAttributes(), irr::scene::ISceneNode::serializeAttributes(), and irr::gui::IGUIElement::serializeAttributes().
|
pure virtual |
Adds an attribute as axis aligned bounding box.
|
pure virtual |
Adds an attribute as color.
|
pure virtual |
Adds an attribute as floating point color.
|
pure virtual |
Adds an attribute as dimension2d.
|
pure virtual |
Adds an attribute as enum.
Referenced by irr::gui::IGUIElement::serializeAttributes().
|
pure virtual |
Adds an attribute as enum.
Adds an attribute as float.
Adds an attribute as integer.
Referenced by irr::scene::ISceneNode::serializeAttributes(), and irr::gui::IGUIElement::serializeAttributes().
|
pure virtual |
Adds an attribute as a 2d line.
|
pure virtual |
Adds an attribute as a 3d line.
|
pure virtual |
Adds an attribute as matrix.
|
pure virtual |
Adds an attribute as 3d plane.
|
pure virtual |
Adds an attribute as 2d position.
Referenced by irr::gui::IGUIElement::serializeAttributes().
|
pure virtual |
Adds an attribute as quaternion.
|
pure virtual |
Adds an attribute as rectangle.
Referenced by irr::gui::IGUIElement::serializeAttributes().
|
pure virtual |
Adds an attribute as string.
Referenced by irr::scene::ISceneNode::serializeAttributes(), and irr::gui::IGUIElement::serializeAttributes().
|
pure virtual |
Adds an attribute as string.
|
pure virtual |
Adds an attribute as texture reference.
|
pure virtual |
Adds an attribute as 3d triangle.
|
pure virtual |
Adds an attribute as user pointner.
|
pure virtual |
Adds an attribute as 2d vector.
|
pure virtual |
Adds an attribute as 3d vector.
Referenced by irr::scene::ISceneNode::serializeAttributes().
|
pure virtual |
Removes all attributes.
|
pure virtual |
Returns if an attribute with a name exists.
Returns attribute index from name, -1 if not found.
Referenced by irr::scene::ICameraSceneNode::deserializeAttributes().
|
pure virtual |
Gets an attribute as an array of wide strings.
attributeName | Name of the attribute to get. |
|
pure virtual |
Returns attribute value as an array of wide strings by index.
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as binary data.
attributeName | Name of the attribute to get. |
outData | Pointer to buffer where data shall be stored. |
maxSizeInBytes | Maximum number of bytes to write into outData. |
|
pure virtual |
Gets an attribute as binary data.
index | Index value, must be between 0 and getAttributeCount()-1. |
outData | Pointer to buffer where data shall be stored. |
maxSizeInBytes | Maximum number of bytes to write into outData. |
|
pure virtual |
Gets an attribute as boolean value
attributeName | Name of the attribute to get. |
Referenced by irr::scene::ICameraSceneNode::deserializeAttributes(), irr::scene::ISceneNode::deserializeAttributes(), and irr::gui::IGUIElement::deserializeAttributes().
|
pure virtual |
Gets an attribute as boolean value
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a axis aligned bounding box
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as axis aligned bounding box
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as color
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as color
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as floating point color
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as floating point color
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as dimension2d
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as dimension2d
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as enumeration
attributeName | Name of the attribute to get. |
Referenced by irr::scene::ISceneNode::deserializeAttributes(), and irr::gui::IGUIElement::deserializeAttributes().
|
pure virtual |
Gets an attribute as enumeration.
attributeName | Name of the attribute to get. |
enumerationLiteralsToUse | Use these enumeration literals to get the index value instead of the set ones. This is useful when the attribute list maybe was read from an xml file, and only contains the enumeration string, but no information about its index. |
|
pure virtual |
Gets an attribute as enumeration.
index | Index value, must be between 0 and getAttributeCount()-1. |
enumerationLiteralsToUse | Use these enumeration literals to get the index value instead of the set ones. This is useful when the attribute list maybe was read from an xml file, and only contains the enumeration string, but no information about its index. |
Gets an attribute as enumeration
index | Index value, must be between 0 and getAttributeCount()-1. |
Gets an attribute as float value
attributeName | Name of the attribute to get. |
Gets an attribute as float value
index | Index value, must be between 0 and getAttributeCount()-1. |
Gets an attribute as integer value
attributeName | Name of the attribute to get. |
Referenced by irr::scene::ISceneNode::deserializeAttributes(), and irr::gui::IGUIElement::deserializeAttributes().
Gets an attribute as integer value
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a 2d line
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as a 2d line
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a 3d line
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as a 3d line
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a matrix4
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as matrix
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a 3d plane
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as 3d plane
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as position
attributeName | Name of the attribute to get. |
Referenced by irr::gui::IGUIElement::deserializeAttributes().
|
pure virtual |
Gets an attribute as position
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a quaternion
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as quaternion
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as rectangle
attributeName | Name of the attribute to get. |
Referenced by irr::gui::IGUIElement::deserializeAttributes().
|
pure virtual |
Gets an attribute as rectangle
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as string.
attributeName | Name of the attribute to get. |
Referenced by irr::scene::ISceneNode::deserializeAttributes(), and irr::gui::IGUIElement::deserializeAttributes().
|
pure virtual |
Gets an attribute as string.
attributeName | Name of the attribute to get. |
target | Buffer where the string is copied to. |
|
pure virtual |
Returns attribute value as string by index.
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as string.
attributeName | Name of the attribute to get. |
Referenced by irr::gui::IGUIElement::deserializeAttributes().
|
pure virtual |
Gets an attribute as string.
attributeName | Name of the attribute to get. |
target | Buffer where the string is copied to. |
|
pure virtual |
Returns attribute value as string by index.
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as texture reference
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as texture reference
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as a 3d triangle
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as 3d triangle
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as user pointer
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as user pointer
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as vector
attributeName | Name of the attribute to get. |
|
pure virtual |
Gets an attribute as position
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Gets an attribute as 3d vector
attributeName | Name of the attribute to get. |
Referenced by irr::scene::ISceneNode::deserializeAttributes().
|
pure virtual |
Gets an attribute as 3d vector
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Returns amount of attributes in this collection of attributes.
|
pure virtual |
Gets the list of enumeration literals of an enumeration attribute
attributeName | Name of the attribute to get. |
outLiterals | Set of strings to choose the enum name from. |
|
pure virtual |
Gets the list of enumeration literals of an enumeration attribute
index | Index value, must be between 0 and getAttributeCount()-1. |
outLiterals | Set of strings to choose the enum name from. |
Returns attribute name by index.
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Returns the type of an attribute
attributeName | Name for the attribute |
|
pure virtual |
Returns attribute type by index.
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Returns the type string of the attribute
attributeName | String for the attribute type |
|
pure virtual |
Returns the type string of the attribute by index.
index | Index value, must be between 0 and getAttributeCount()-1. |
|
pure virtual |
Reads attributes from a xml file.
reader | The XML reader to read from |
readCurrentElementOnly | If set to true, reading only works if current element has the name 'attributes' or the name specified using elementName. |
elementName | The surrounding element name. If it is null, the default one, "attributes" will be taken. If set to false, the first appearing list of attributes are read. |
|
pure virtual |
Sets an attribute as integer value.
Sets an attribute as integer value.
|
pure virtual |
Sets a attribute as float value.
Sets an attribute as float value.
|
pure virtual |
Sets an attribute value as string.
attributeName | Name for the attribute |
value | Value for the attribute. Set this to 0 to delete the attribute |
Sets an attribute value as string.
index | Index value, must be between 0 and getAttributeCount()-1. |
value | String to which the attribute is set. |
|
pure virtual |
Sets an attribute value as string.
attributeName | Name for the attribute |
value | Value for the attribute. Set this to 0 to delete the attribute |
|
pure virtual |
Sets an attribute value as string.
index | Index value, must be between 0 and getAttributeCount()-1. |
value | String to which the attribute is set. |
|
pure virtual |
Sets an attribute as binary data.
|
pure virtual |
Sets an attribute as binary data.
|
pure virtual |
Sets an attribute value as a wide string array.
attributeName | Name for the attribute |
value | Value for the attribute. Set this to 0 to delete the attribute |
|
pure virtual |
Sets an attribute as an array of wide strings.
|
pure virtual |
Sets an attribute as boolean value.
|
pure virtual |
Sets an attribute as boolean value.
|
pure virtual |
Sets an attribute as enumeration.
|
pure virtual |
Sets an attribute as enumeration.
|
pure virtual |
Sets a attribute as color.
|
pure virtual |
Sets an attribute as color.
|
pure virtual |
Sets a attribute as floating point color.
|
pure virtual |
Sets an attribute as floating point color.
|
pure virtual |
Sets a attribute as 3d vector.
|
pure virtual |
Sets an attribute as vector.
|
pure virtual |
Sets a attribute as 2d vector.
|
pure virtual |
Sets an attribute as 2d vector.
|
pure virtual |
Sets a attribute as 2d position.
|
pure virtual |
Sets an attribute as 2d position.
|
pure virtual |
Sets an attribute as rectangle.
|
pure virtual |
Sets an attribute as rectangle.
|
pure virtual |
Sets an attribute as dimension2d.
|
pure virtual |
Sets an attribute as dimension2d.
|
pure virtual |
Sets an attribute as matrix.
|
pure virtual |
Sets an attribute as matrix.
|
pure virtual |
Sets an attribute as quaternion.
|
pure virtual |
Sets an attribute as quaternion.
|
pure virtual |
Sets an attribute as axis aligned bounding box.
|
pure virtual |
Sets an attribute as axis aligned bounding box.
|
pure virtual |
Sets an attribute as 3d plane.
|
pure virtual |
Sets an attribute as 3d plane.
|
pure virtual |
Sets an attribute as 3d trianle.
|
pure virtual |
Sets an attribute as 3d triangle.
|
pure virtual |
Sets an attribute as a 2d line.
|
pure virtual |
Sets an attribute as a 2d line.
|
pure virtual |
Sets an attribute as a 3d line.
|
pure virtual |
Sets an attribute as a 3d line.
|
pure virtual |
Sets an attribute as texture reference.
|
pure virtual |
Sets an attribute as texture reference.
|
pure virtual |
Sets an attribute as user pointer.
|
pure virtual |
Sets an attribute as user pointer.
|
pure virtual |
Write these attributes into a xml file
writer | The XML writer to write to |
writeXMLHeader | Writes a header to the XML file, required if at the beginning of the file |
elementName | The surrounding element name. If it is null, the default one, "attributes" will be taken. |