]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/CAttributes.h
Remove unused attribute saving and loading (#86)
[irrlicht.git] / source / Irrlicht / CAttributes.h
index 466e9044f5476a1bb15142b28a50e8737477209d..966d31cb1140b0aa4ea31a2d41735d8263de95fa 100644 (file)
@@ -62,15 +62,6 @@ public:
        //! Removes all attributes\r
        virtual void clear() _IRR_OVERRIDE_;\r
 \r
-       //! Reads attributes from a xml file.\r
-       //! \param readCurrentElementOnly: If set to true, reading only works if current element has the name 'attributes'.\r
-       //! IF set to false, the first appearing list attributes are read.\r
-       virtual bool read(io::IXMLReader* reader, bool readCurrentElementOnly=false,\r
-                                       const wchar_t* nonDefaultElementName = 0) _IRR_OVERRIDE_;\r
-\r
-       //! Write these attributes into a xml file\r
-       virtual bool write(io::IXMLWriter* writer, bool writeXMLHeader=false, const wchar_t* nonDefaultElementName=0) _IRR_OVERRIDE_;\r
-\r
 \r
        /*\r
 \r
@@ -122,126 +113,9 @@ public:
        //! Sets an attribute as float value\r
        virtual void setAttribute(s32 index, f32 value) _IRR_OVERRIDE_;\r
 \r
-       /*\r
-\r
-               String Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as string\r
-       virtual void addString(const c8* attributeName, const c8* value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute value as string.\r
-       //! \param attributeName: Name for the attribute\r
-       //! \param value: Value for the attribute. Set this to 0 to delete the attribute\r
-       virtual void setAttribute(const c8* attributeName, const c8* value) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as string.\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       //! or defaultNotFound if attribute is not set.\r
-       virtual core::stringc getAttributeAsString(const c8* attributeName, const core::stringc& defaultNotFound=core::stringc()) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as string.\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param target: Buffer where the string is copied to.\r
-       virtual void getAttributeAsString(const c8* attributeName, c8* target) const _IRR_OVERRIDE_;\r
-\r
-       //! Returns attribute value as string by index.\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::stringc getAttributeAsString(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute value as string.\r
-       //! \param attributeName: Name for the attribute\r
-       virtual void setAttribute(s32 index, const c8* value) _IRR_OVERRIDE_;\r
-\r
-       // wide strings\r
-\r
-       //! Adds an attribute as string\r
-       virtual void addString(const c8* attributeName, const wchar_t* value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute value as string.\r
-       //! \param attributeName: Name for the attribute\r
-       //! \param value: Value for the attribute. Set this to 0 to delete the attribute\r
-       virtual void setAttribute(const c8* attributeName, const wchar_t* value) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as string.\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       //! or defaultNotFound if attribute is not set.\r
-       virtual core::stringw getAttributeAsStringW(const c8* attributeName, const core::stringw& defaultNotFound = core::stringw()) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as string.\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param target: Buffer where the string is copied to.\r
-       virtual void getAttributeAsStringW(const c8* attributeName, wchar_t* target) const _IRR_OVERRIDE_;\r
-\r
-       //! Returns attribute value as string by index.\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::stringw getAttributeAsStringW(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute value as string.\r
-       //! \param attributeName: Name for the attribute\r
-       virtual void setAttribute(s32 index, const wchar_t* value) _IRR_OVERRIDE_;\r
 \r
        /*\r
-\r
-               Binary Data Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as binary data\r
-       virtual void addBinary(const c8* attributeName, void* data, s32 dataSizeInBytes) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as binary data\r
-       virtual void setAttribute(const c8* attributeName, void* data, s32 dataSizeInBytes) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as binary data\r
-       //! \param attributeName: Name of the attribute to get.\r
-       virtual void getAttributeAsBinaryData(const c8* attributeName, void* outData, s32 maxSizeInBytes) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as binary data\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual void getAttributeAsBinaryData(s32 index, void* outData, s32 maxSizeInBytes) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as binary data\r
-       virtual void setAttribute(s32 index, void* data, s32 dataSizeInBytes) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               Array Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as wide string array\r
-       virtual void addArray(const c8* attributeName, const core::array<core::stringw>& value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute value as a wide string array.\r
-       //! \param attributeName: Name for the attribute\r
-       //! \param value: Value for the attribute. Set this to 0 to delete the attribute\r
-       virtual void setAttribute(const c8* attributeName, const core::array<core::stringw>& value) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as an array of wide strings.\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       //! or defaultNotFound if attribute is not set.\r
-       virtual core::array<core::stringw> getAttributeAsArray(const c8* attributeName, const core::array<core::stringw>& defaultNotFound = core::array<core::stringw>()) const _IRR_OVERRIDE_;\r
-\r
-       //! Returns attribute value as an array of wide strings by index.\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::array<core::stringw> getAttributeAsArray(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as an array of wide strings\r
-       virtual void setAttribute(s32 index, const core::array<core::stringw>& value) _IRR_OVERRIDE_;\r
-\r
-       /*\r
-\r
                Bool Attribute\r
-\r
        */\r
 \r
        //! Adds an attribute as bool\r
@@ -263,467 +137,8 @@ public:
        //! Sets an attribute as boolean value\r
        virtual void setAttribute(s32 index, bool value) _IRR_OVERRIDE_;\r
 \r
-       /*\r
-\r
-               Enumeration Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as enum\r
-       virtual void addEnum(const c8* attributeName, const c8* enumValue, const c8* const* enumerationLiterals) _IRR_OVERRIDE_;\r
-\r
-       //! Adds an attribute as enum\r
-       virtual void addEnum(const c8* attributeName, s32 enumValue, const c8* const* enumerationLiterals) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as enumeration\r
-       virtual void setAttribute(const c8* attributeName, const c8* enumValue, const c8* const* enumerationLiterals) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as enumeration\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual const c8* getAttributeAsEnumeration(const c8* attributeName, const c8* defaultNotFound = 0) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as enumeration\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param enumerationLiteralsToUse: Use these enumeration literals to get the index value instead of the set ones.\r
-       //! This is useful when the attribute list maybe was read from an xml file, and only contains the enumeration string, but\r
-       //! no information about its index.\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual s32 getAttributeAsEnumeration(const c8* attributeName, const c8* const* enumerationLiteralsToUse, s32 defaultNotFound ) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as enumeration\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual s32 getAttributeAsEnumeration(s32 index, const c8* const* enumerationLiteralsToUse, s32 defaultNotFound) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as enumeration\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual const c8* getAttributeAsEnumeration(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets the list of enumeration literals of an enumeration attribute\r
-       //! \param attributeName: Name of the attribute to get.\r
-       virtual void getAttributeEnumerationLiteralsOfEnumeration(const c8* attributeName, core::array<core::stringc>& outLiterals) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets the list of enumeration literals of an enumeration attribute\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual void getAttributeEnumerationLiteralsOfEnumeration(s32 index, core::array<core::stringc>& outLiterals) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as enumeration\r
-       virtual void setAttribute(s32 index, const c8* enumValue, const c8* const* enumerationLiterals) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               SColor Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as color\r
-       virtual void addColor(const c8* attributeName, video::SColor value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets a attribute as color\r
-       virtual void setAttribute(const c8* attributeName, video::SColor color) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as color\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual video::SColor getAttributeAsColor(const c8* attributeName, const video::SColor& defaultNotFound = video::SColor(0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as color\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual video::SColor getAttributeAsColor(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as color\r
-       virtual void setAttribute(s32 index, video::SColor color) _IRR_OVERRIDE_;\r
-\r
-       /*\r
-\r
-               SColorf Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as floating point color\r
-       virtual void addColorf(const c8* attributeName, video::SColorf value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets a attribute as floating point color\r
-       virtual void setAttribute(const c8* attributeName, video::SColorf color) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as floating point color\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual video::SColorf getAttributeAsColorf(const c8* attributeName, const video::SColorf& defaultNotFound = video::SColorf(0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as floating point color\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual video::SColorf getAttributeAsColorf(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as floating point color\r
-       virtual void setAttribute(s32 index, video::SColorf color) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               Vector3d Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as 3d vector\r
-       virtual void addVector3d(const c8* attributeName, const core::vector3df& value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets a attribute as 3d vector\r
-       virtual void setAttribute(const c8* attributeName, const core::vector3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as 3d vector\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::vector3df getAttributeAsVector3d(const c8* attributeName, const core::vector3df& defaultNotFound=core::vector3df(0,0,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as 3d vector\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::vector3df getAttributeAsVector3d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as vector\r
-       virtual void setAttribute(s32 index, const core::vector3df& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               Vector2d Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as 2d vector\r
-       virtual void addVector2d(const c8* attributeName, const core::vector2df& value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets a attribute as 2d vector\r
-       virtual void setAttribute(const c8* attributeName, const core::vector2df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as 2d vector\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::vector2df getAttributeAsVector2d(const c8* attributeName, const core::vector2df& defaultNotFound=core::vector2df(0,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as 3d vector\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::vector2df getAttributeAsVector2d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as vector\r
-       virtual void setAttribute(s32 index, const core::vector2df& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               Position2d Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as 2d position\r
-       virtual void addPosition2d(const c8* attributeName, const core::position2di& value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets a attribute as 2d position\r
-       virtual void setAttribute(const c8* attributeName, const core::position2di& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as position\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::position2di getAttributeAsPosition2d(const c8* attributeName, const core::position2di& defaultNotFound=core::position2di(0,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as position\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::position2di getAttributeAsPosition2d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as 2d position\r
-       virtual void setAttribute(s32 index, const core::position2di& v) _IRR_OVERRIDE_;\r
-\r
-       /*\r
-\r
-               Rectangle Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as rectangle\r
-       virtual void addRect(const c8* attributeName, const core::rect<s32>& value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as rectangle\r
-       virtual void setAttribute(const c8* attributeName, const core::rect<s32>& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as rectangle\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::rect<s32> getAttributeAsRect(const c8* attributeName, const core::rect<s32>& defaultNotFound = core::rect<s32>()) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as rectangle\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::rect<s32> getAttributeAsRect(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as rectangle\r
-       virtual void setAttribute(s32 index, const core::rect<s32>& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               Dimension2d Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as dimension2d\r
-       virtual void addDimension2d(const c8* attributeName, const core::dimension2d<u32>& value) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as dimension2d\r
-       virtual void setAttribute(const c8* attributeName, const core::dimension2d<u32>& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as dimension2d\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::dimension2d<u32> getAttributeAsDimension2d(const c8* attributeName, const core::dimension2d<u32>& defaultNotFound = core::dimension2d<u32>()) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as dimension2d\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::dimension2d<u32> getAttributeAsDimension2d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as dimension2d\r
-       virtual void setAttribute(s32 index, const core::dimension2d<u32>& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               matrix attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as matrix\r
-       virtual void addMatrix(const c8* attributeName, const core::matrix4& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as matrix\r
-       virtual void setAttribute(const c8* attributeName, const core::matrix4& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a matrix4\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::matrix4 getAttributeAsMatrix(const c8* attributeName, const core::matrix4& defaultNotFound=core::matrix4()) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as matrix\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::matrix4 getAttributeAsMatrix(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as matrix\r
-       virtual void setAttribute(s32 index, const core::matrix4& v) _IRR_OVERRIDE_;\r
-\r
-       /*\r
-               quaternion attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as quaternion\r
-       virtual void addQuaternion(const c8* attributeName, const core::quaternion& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as quaternion\r
-       virtual void setAttribute(const c8* attributeName, const core::quaternion& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a quaternion\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::quaternion getAttributeAsQuaternion(const c8* attributeName, const core::quaternion& defaultNotFound=core::quaternion(0,1,0, 0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as quaternion\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::quaternion getAttributeAsQuaternion(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as quaternion\r
-       virtual void setAttribute(s32 index, const core::quaternion& v) _IRR_OVERRIDE_;\r
-\r
-       /*\r
-\r
-               3d bounding box\r
-\r
-       */\r
-\r
-       //! Adds an attribute as axis aligned bounding box\r
-       virtual void addBox3d(const c8* attributeName, const core::aabbox3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as axis aligned bounding box\r
-       virtual void setAttribute(const c8* attributeName, const core::aabbox3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a axis aligned bounding box\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::aabbox3df getAttributeAsBox3d(const c8* attributeName, const core::aabbox3df& defaultNotFound=core::aabbox3df(0,0,0, 0,0,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as axis aligned bounding box\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::aabbox3df getAttributeAsBox3d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as axis aligned bounding box\r
-       virtual void setAttribute(s32 index, const core::aabbox3df& v) _IRR_OVERRIDE_;\r
-\r
-       /*\r
-\r
-               plane\r
-\r
-       */\r
-\r
-       //! Adds an attribute as 3d plane\r
-       virtual void addPlane3d(const c8* attributeName, const core::plane3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as 3d plane\r
-       virtual void setAttribute(const c8* attributeName, const core::plane3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a 3d plane\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::plane3df getAttributeAsPlane3d(const c8* attributeName, const core::plane3df& defaultNotFound=core::plane3df(0,0,0, 0,1,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as 3d plane\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::plane3df getAttributeAsPlane3d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as 3d plane\r
-       virtual void setAttribute(s32 index, const core::plane3df& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               3d triangle\r
-\r
-       */\r
-\r
-       //! Adds an attribute as 3d triangle\r
-       virtual void addTriangle3d(const c8* attributeName, const core::triangle3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as 3d triangle\r
-       virtual void setAttribute(const c8* attributeName, const core::triangle3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a 3d triangle\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::triangle3df getAttributeAsTriangle3d(const c8* attributeName, const core::triangle3df& defaultNotFound = core::triangle3df(core::vector3df(0,0,0), core::vector3df(0,0,0), core::vector3df(0,0,0))) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as 3d triangle\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::triangle3df getAttributeAsTriangle3d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as 3d triangle\r
-       virtual void setAttribute(s32 index, const core::triangle3df& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               line 2d\r
-\r
-       */\r
-\r
-       //! Adds an attribute as a 2d line\r
-       virtual void addLine2d(const c8* attributeName, const core::line2df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as a 2d line\r
-       virtual void setAttribute(const c8* attributeName, const core::line2df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a 2d line\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::line2df getAttributeAsLine2d(const c8* attributeName, const core::line2df& defaultNotFound = core::line2df(0,0, 0,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a 2d line\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::line2df getAttributeAsLine2d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as a 2d line\r
-       virtual void setAttribute(s32 index, const core::line2df& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               line 3d\r
-\r
-       */\r
-\r
-       //! Adds an attribute as a 3d line\r
-       virtual void addLine3d(const c8* attributeName, const core::line3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as a 3d line\r
-       virtual void setAttribute(const c8* attributeName, const core::line3df& v) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a 3d line\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       //! \return Returns value of the attribute previously set by setAttribute()\r
-       virtual core::line3df getAttributeAsLine3d(const c8* attributeName, const core::line3df& defaultNotFound=core::line3df(0,0,0, 0,0,0)) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as a 3d line\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual core::line3df getAttributeAsLine3d(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as a 3d line\r
-       virtual void setAttribute(s32 index, const core::line3df& v) _IRR_OVERRIDE_;\r
-\r
-\r
-       /*\r
-\r
-               Texture Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as texture reference\r
-       virtual void addTexture(const c8* attributeName, video::ITexture* texture, const io::path& filename = "") _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as texture reference\r
-       virtual void setAttribute(const c8* attributeName, video::ITexture* texture, const io::path& filename = "") _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as texture reference\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       virtual video::ITexture* getAttributeAsTexture(const c8* attributeName, video::ITexture* defaultNotFound=0) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as texture reference\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual video::ITexture* getAttributeAsTexture(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as texture reference\r
-       virtual void setAttribute(s32 index, video::ITexture* texture, const io::path& filename = "") _IRR_OVERRIDE_;\r
-\r
-\r
-\r
-       /*\r
-\r
-               User Pointer Attribute\r
-\r
-       */\r
-\r
-       //! Adds an attribute as user pointer\r
-       virtual void addUserPointer(const c8* attributeName, void* userPointer) _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as user pointer\r
-       virtual void setAttribute(const c8* attributeName, void* userPointer) _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as user pointer\r
-       //! \param attributeName: Name of the attribute to get.\r
-       //! \param defaultNotFound Value returned when attributeName was not found\r
-       virtual void* getAttributeAsUserPointer(const c8* attributeName, void* defaultNotFound = 0) const _IRR_OVERRIDE_;\r
-\r
-       //! Gets an attribute as user pointer\r
-       //! \param index: Index value, must be between 0 and getAttributeCount()-1.\r
-       virtual void* getAttributeAsUserPointer(s32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Sets an attribute as user pointer\r
-       virtual void setAttribute(s32 index, void* userPointer) _IRR_OVERRIDE_;\r
-\r
 protected:\r
 \r
-       void readAttributeFromXML(const io::IXMLReader* reader);\r
-\r
        core::array<IAttribute*> Attributes;\r
 \r
        IAttribute* getAttributeP(const c8* attributeName) const;\r