Loading...
Searching...
No Matches
IAttributes.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_ATTRIBUTES_H_INCLUDED__
#define __I_ATTRIBUTES_H_INCLUDED__
#include "IReferenceCounted.h"
#include "SColor.h"
#include "vector3d.h"
#include "vector2d.h"
#include "line2d.h"
#include "line3d.h"
#include "triangle3d.h"
#include "position2d.h"
#include "rect.h"
#include "dimension2d.h"
#include "matrix4.h"
#include "quaternion.h"
#include "plane3d.h"
#include "triangle3d.h"
#include "line2d.h"
#include "line3d.h"
#include "irrString.h"
#include "irrArray.h"
#include "IXMLReader.h"
#include "EAttributes.h"
#include "path.h"
namespace irr
{
namespace video
{
class ITexture;
} // end namespace video
namespace io
{
class IXMLWriter;
class IAttributes : public virtual IReferenceCounted
{
public:
virtual u32 getAttributeCount() const = 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 existsAttribute(const c8* attributeName) = 0;
virtual s32 findAttribute(const c8* attributeName) const =0;
virtual void clear() = 0;
virtual bool read(io::IXMLReader* reader, bool readCurrentElementOnly=false, const wchar_t* elementName=0) = 0;
virtual bool write(io::IXMLWriter* writer, bool writeXMLHeader=false, const wchar_t* elementName=0) = 0;
/*
Integer Attribute
*/
virtual void addInt(const c8* attributeName, s32 value) = 0;
virtual void setAttribute(const c8* attributeName, s32 value) = 0;
virtual s32 getAttributeAsInt(const c8* attributeName) const =0;
virtual s32 getAttributeAsInt(s32 index) const =0;
virtual void setAttribute(s32 index, s32 value) = 0;
/*
Float Attribute
*/
virtual void addFloat(const c8* attributeName, f32 value) = 0;
virtual void setAttribute(const c8* attributeName, f32 value) = 0;
virtual f32 getAttributeAsFloat(const c8* attributeName) = 0;
virtual f32 getAttributeAsFloat(s32 index) = 0;
virtual void setAttribute(s32 index, f32 value) = 0;
/*
String Attribute
*/
virtual void addString(const c8* attributeName, const c8* value) = 0;
virtual void setAttribute(const c8* attributeName, const c8* value) = 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 void setAttribute(s32 index, const c8* value) = 0;
// wide strings
virtual void addString(const c8* attributeName, const wchar_t* value) = 0;
virtual void setAttribute(const c8* attributeName, const wchar_t* value) = 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 void setAttribute(s32 index, const wchar_t* value) = 0;
/*
Binary Data Attribute
*/
virtual void addBinary(const c8* attributeName, void* data, s32 dataSizeInBytes) = 0;
virtual void setAttribute(const c8* attributeName, void* data, s32 dataSizeInBytes ) = 0;
virtual void getAttributeAsBinaryData(const c8* attributeName, void* outData, s32 maxSizeInBytes) = 0;
virtual void getAttributeAsBinaryData(s32 index, void* outData, s32 maxSizeInBytes) = 0;
virtual void setAttribute(s32 index, void* data, s32 dataSizeInBytes ) = 0;
/*
Array Attribute
*/
virtual void addArray(const c8* attributeName, const core::array<core::stringw>& value) = 0;
virtual void setAttribute(const c8* attributeName, const core::array<core::stringw>& value) = 0;
virtual core::array<core::stringw> getAttributeAsArray(const c8* attributeName) = 0;
virtual core::array<core::stringw> getAttributeAsArray(s32 index) = 0;
virtual void setAttribute(s32 index, const core::array<core::stringw>& value) = 0;
/*
Bool Attribute
*/
virtual void addBool(const c8* attributeName, bool value) = 0;
virtual void setAttribute(const c8* attributeName, bool value) = 0;
virtual bool getAttributeAsBool(const c8* attributeName) = 0;
virtual bool getAttributeAsBool(s32 index) = 0;
virtual void setAttribute(s32 index, bool value) = 0;
/*
Enumeration Attribute
*/
virtual void addEnum(const c8* attributeName, const c8* enumValue, const c8* const* enumerationLiterals) = 0;
virtual void addEnum(const c8* attributeName, s32 enumValue, const c8* const* enumerationLiterals) = 0;
virtual void setAttribute(const c8* attributeName, const c8* enumValue, const c8* const* enumerationLiterals) = 0;
virtual const c8* getAttributeAsEnumeration(const c8* attributeName) = 0;
virtual s32 getAttributeAsEnumeration(const c8* attributeName, const c8* const* enumerationLiteralsToUse) = 0;
virtual s32 getAttributeAsEnumeration(s32 index, const c8* const* enumerationLiteralsToUse) = 0;
virtual const c8* getAttributeAsEnumeration(s32 index) = 0;
virtual void getAttributeEnumerationLiteralsOfEnumeration(const c8* attributeName, core::array<core::stringc>& outLiterals) = 0;
virtual void getAttributeEnumerationLiteralsOfEnumeration(s32 index, core::array<core::stringc>& outLiterals) = 0;
virtual void setAttribute(s32 index, const c8* enumValue, const c8* const* enumerationLiterals) = 0;
/*
SColor Attribute
*/
virtual void addColor(const c8* attributeName, video::SColor value) = 0;
virtual void setAttribute(const c8* attributeName, video::SColor color) = 0;
virtual video::SColor getAttributeAsColor(const c8* attributeName) = 0;
virtual video::SColor getAttributeAsColor(s32 index) = 0;
virtual void setAttribute(s32 index, video::SColor color) = 0;
/*
SColorf Attribute
*/
virtual void addColorf(const c8* attributeName, video::SColorf value) = 0;
virtual void setAttribute(const c8* attributeName, video::SColorf color) = 0;
virtual video::SColorf getAttributeAsColorf(const c8* attributeName) = 0;
virtual video::SColorf getAttributeAsColorf(s32 index) = 0;
virtual void setAttribute(s32 index, video::SColorf color) = 0;
/*
Vector3d Attribute
*/
virtual void addVector3d(const c8* attributeName, core::vector3df value) = 0;
virtual void setAttribute(const c8* attributeName, core::vector3df v) = 0;
virtual core::vector3df getAttributeAsVector3d(const c8* attributeName) = 0;
virtual core::vector3df getAttributeAsVector3d(s32 index) = 0;
virtual void setAttribute(s32 index, core::vector3df v) = 0;
/*
Vector2d Attribute
*/
virtual void addVector2d(const c8* attributeName, core::vector2df value) = 0;
virtual void setAttribute(const c8* attributeName, core::vector2df v) = 0;
virtual core::vector2df getAttributeAsVector2d(const c8* attributeName) = 0;
virtual core::vector2df getAttributeAsVector2d(s32 index) = 0;
virtual void setAttribute(s32 index, core::vector2df v) = 0;
/*
Position2d Attribute
*/
virtual void addPosition2d(const c8* attributeName, core::position2di value) = 0;
virtual void setAttribute(const c8* attributeName, core::position2di v) = 0;
virtual core::position2di getAttributeAsPosition2d(const c8* attributeName) = 0;
virtual core::position2di getAttributeAsPosition2d(s32 index) = 0;
virtual void setAttribute(s32 index, core::position2di v) = 0;
/*
Rectangle Attribute
*/
virtual void addRect(const c8* attributeName, core::rect<s32> value) = 0;
virtual void setAttribute(const c8* attributeName, core::rect<s32> v) = 0;
virtual core::rect<s32> getAttributeAsRect(const c8* attributeName) = 0;
virtual core::rect<s32> getAttributeAsRect(s32 index) = 0;
virtual void setAttribute(s32 index, core::rect<s32> v) = 0;
/*
Dimension2d Attribute
*/
virtual void addDimension2d(const c8* attributeName, core::dimension2d<u32> value) = 0;
virtual void setAttribute(const c8* attributeName, core::dimension2d<u32> v) = 0;
virtual core::dimension2d<u32> getAttributeAsDimension2d(const c8* attributeName) = 0;
virtual core::dimension2d<u32> getAttributeAsDimension2d(s32 index) = 0;
virtual void setAttribute(s32 index, core::dimension2d<u32> v) = 0;
/*
matrix attribute
*/
virtual void addMatrix(const c8* attributeName, const core::matrix4& v) = 0;
virtual void setAttribute(const c8* attributeName, const core::matrix4& v) = 0;
virtual core::matrix4 getAttributeAsMatrix(const c8* attributeName) = 0;
virtual core::matrix4 getAttributeAsMatrix(s32 index) = 0;
virtual void setAttribute(s32 index, const core::matrix4& v) = 0;
/*
quaternion attribute
*/
virtual void addQuaternion(const c8* attributeName, core::quaternion v) = 0;
virtual void setAttribute(const c8* attributeName, core::quaternion v) = 0;
virtual core::quaternion getAttributeAsQuaternion(const c8* attributeName) = 0;
virtual core::quaternion getAttributeAsQuaternion(s32 index) = 0;
virtual void setAttribute(s32 index, core::quaternion v) = 0;
/*
3d bounding box
*/
virtual void addBox3d(const c8* attributeName, core::aabbox3df v) = 0;
virtual void setAttribute(const c8* attributeName, core::aabbox3df v) = 0;
virtual core::aabbox3df getAttributeAsBox3d(const c8* attributeName) = 0;
virtual core::aabbox3df getAttributeAsBox3d(s32 index) = 0;
virtual void setAttribute(s32 index, core::aabbox3df v) = 0;
/*
plane
*/
virtual void addPlane3d(const c8* attributeName, core::plane3df v) = 0;
virtual void setAttribute(const c8* attributeName, core::plane3df v) = 0;
virtual core::plane3df getAttributeAsPlane3d(const c8* attributeName) = 0;
virtual core::plane3df getAttributeAsPlane3d(s32 index) = 0;
virtual void setAttribute(s32 index, core::plane3df v) = 0;
/*
3d triangle
*/
virtual void addTriangle3d(const c8* attributeName, core::triangle3df v) = 0;
virtual void setAttribute(const c8* attributeName, core::triangle3df v) = 0;
virtual core::triangle3df getAttributeAsTriangle3d(const c8* attributeName) = 0;
virtual core::triangle3df getAttributeAsTriangle3d(s32 index) = 0;
virtual void setAttribute(s32 index, core::triangle3df v) = 0;
/*
line 2d
*/
virtual void addLine2d(const c8* attributeName, core::line2df v) = 0;
virtual void setAttribute(const c8* attributeName, core::line2df v) = 0;
virtual core::line2df getAttributeAsLine2d(const c8* attributeName) = 0;
virtual core::line2df getAttributeAsLine2d(s32 index) = 0;
virtual void setAttribute(s32 index, core::line2df v) = 0;
/*
line 3d
*/
virtual void addLine3d(const c8* attributeName, core::line3df v) = 0;
virtual void setAttribute(const c8* attributeName, core::line3df v) = 0;
virtual core::line3df getAttributeAsLine3d(const c8* attributeName) = 0;
virtual core::line3df getAttributeAsLine3d(s32 index) = 0;
virtual void setAttribute(s32 index, core::line3df v) = 0;
/*
Texture Attribute
*/
virtual void addTexture(const c8* attributeName, video::ITexture* texture, const io::path& filename = "") = 0;
virtual void setAttribute(const c8* attributeName, video::ITexture* texture, const io::path& filename = "") = 0;
virtual video::ITexture* getAttributeAsTexture(const c8* attributeName) = 0;
virtual video::ITexture* getAttributeAsTexture(s32 index) = 0;
virtual void setAttribute(s32 index, video::ITexture* texture, const io::path& filename = "") = 0;
/*
User Pointer Attribute
*/
virtual void addUserPointer(const c8* attributeName, void* userPointer) = 0;
virtual void setAttribute(const c8* attributeName, void* userPointer) = 0;
virtual void* getAttributeAsUserPointer(const c8* attributeName) = 0;
virtual void* getAttributeAsUserPointer(s32 index) = 0;
virtual void setAttribute(s32 index, void* userPointer) = 0;
};
} // end namespace io
} // end namespace irr
#endif
EAttributes.h
IReferenceCounted.h
IXMLReader.h
SColor.h
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
irr::core::array
Self reallocating template array (like stl vector) with additional features.
Definition irrArray.h:23
irr::core::dimension2d
Specifies a 2 dimensional size.
Definition dimension2d.h:21
irr::core::quaternion
Quaternion class for representing rotations.
Definition quaternion.h:27
irr::core::rect
Rectangle template.
Definition rect.h:27
irr::io::IAttributes
Provides a generic interface for attributes and their values and the possiblity to serialize them.
Definition IAttributes.h:42
irr::io::IAttributes::addEnum
virtual void addEnum(const c8 *attributeName, s32 enumValue, const c8 *const *enumerationLiterals)=0
Adds an attribute as enum.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, bool value)=0
Sets an attribute as boolean value.
irr::io::IAttributes::getAttributeAsMatrix
virtual core::matrix4 getAttributeAsMatrix(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, s32 value)=0
Sets an attribute as integer value.
irr::io::IAttributes::addUserPointer
virtual void addUserPointer(const c8 *attributeName, void *userPointer)=0
Adds an attribute as user pointner.
irr::io::IAttributes::getAttributeAsVector2d
virtual core::vector2df getAttributeAsVector2d(const c8 *attributeName)=0
irr::io::IAttributes::addString
virtual void addString(const c8 *attributeName, const c8 *value)=0
Adds an attribute as string.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, const c8 *value)=0
irr::io::IAttributes::addTriangle3d
virtual void addTriangle3d(const c8 *attributeName, core::triangle3df v)=0
Adds an attribute as 3d triangle.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::line3df v)=0
Sets an attribute as a 3d line.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::vector2df v)=0
Sets an attribute as 2d vector.
irr::io::IAttributes::getAttributeAsPosition2d
virtual core::position2di getAttributeAsPosition2d(s32 index)=0
irr::io::IAttributes::getAttributeAsTriangle3d
virtual core::triangle3df getAttributeAsTriangle3d(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::quaternion v)=0
Sets an attribute as quaternion.
irr::io::IAttributes::getAttributeAsTexture
virtual video::ITexture * getAttributeAsTexture(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::position2di v)=0
Sets an attribute as 2d position.
irr::io::IAttributes::getAttributeAsBool
virtual bool getAttributeAsBool(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::aabbox3df v)=0
Sets an attribute as axis aligned bounding box.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, bool value)=0
Sets an attribute as boolean value.
irr::io::IAttributes::getAttributeAsPlane3d
virtual core::plane3df getAttributeAsPlane3d(const c8 *attributeName)=0
irr::io::IAttributes::getAttributeAsBox3d
virtual core::aabbox3df getAttributeAsBox3d(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, void *data, s32 dataSizeInBytes)=0
Sets an attribute as binary data.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, void *data, s32 dataSizeInBytes)=0
Sets an attribute as binary data.
irr::io::IAttributes::getAttributeType
virtual E_ATTRIBUTE_TYPE getAttributeType(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::rect< s32 > v)=0
Sets an attribute as rectangle.
irr::io::IAttributes::addColorf
virtual void addColorf(const c8 *attributeName, video::SColorf value)=0
Adds an attribute as floating point color.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, video::ITexture *texture, const io::path &filename="")=0
Sets an attribute as texture reference.
irr::io::IAttributes::addBool
virtual void addBool(const c8 *attributeName, bool value)=0
Adds an attribute as bool.
irr::io::IAttributes::getAttributeAsColorf
virtual video::SColorf getAttributeAsColorf(s32 index)=0
irr::io::IAttributes::getAttributeAsArray
virtual core::array< core::stringw > getAttributeAsArray(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, video::SColorf color)=0
Sets a attribute as floating point color.
irr::io::IAttributes::getAttributeAsTexture
virtual video::ITexture * getAttributeAsTexture(s32 index)=0
irr::io::IAttributes::getAttributeAsBox3d
virtual core::aabbox3df getAttributeAsBox3d(s32 index)=0
irr::io::IAttributes::addTexture
virtual void addTexture(const c8 *attributeName, video::ITexture *texture, const io::path &filename="")=0
Adds an attribute as texture reference.
irr::io::IAttributes::getAttributeAsUserPointer
virtual void * getAttributeAsUserPointer(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, const c8 *enumValue, const c8 *const *enumerationLiterals)=0
Sets an attribute as enumeration.
irr::io::IAttributes::getAttributeAsDimension2d
virtual core::dimension2d< u32 > getAttributeAsDimension2d(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::plane3df v)=0
Sets an attribute as 3d plane.
irr::io::IAttributes::addVector2d
virtual void addVector2d(const c8 *attributeName, core::vector2df value)=0
Adds an attribute as 2d vector.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::vector2df v)=0
Sets a attribute as 2d vector.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::aabbox3df v)=0
Sets an attribute as axis aligned bounding box.
irr::io::IAttributes::getAttributeAsRect
virtual core::rect< s32 > getAttributeAsRect(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, void *userPointer)=0
Sets an attribute as user pointer.
irr::io::IAttributes::addPlane3d
virtual void addPlane3d(const c8 *attributeName, core::plane3df v)=0
Adds an attribute as 3d plane.
irr::io::IAttributes::getAttributeTypeString
virtual const wchar_t * getAttributeTypeString(s32 index)=0
irr::io::IAttributes::getAttributeAsQuaternion
virtual core::quaternion getAttributeAsQuaternion(const c8 *attributeName)=0
irr::io::IAttributes::write
virtual bool write(io::IXMLWriter *writer, bool writeXMLHeader=false, const wchar_t *elementName=0)=0
irr::io::IAttributes::getAttributeAsStringW
virtual core::stringw getAttributeAsStringW(s32 index)=0
irr::io::IAttributes::getAttributeAsString
virtual core::stringc getAttributeAsString(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, const wchar_t *value)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, const wchar_t *value)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::plane3df v)=0
Sets an attribute as 3d plane.
irr::io::IAttributes::addDimension2d
virtual void addDimension2d(const c8 *attributeName, core::dimension2d< u32 > value)=0
Adds an attribute as dimension2d.
irr::io::IAttributes::getAttributeAsInt
virtual s32 getAttributeAsInt(s32 index) const =0
irr::io::IAttributes::addBinary
virtual void addBinary(const c8 *attributeName, void *data, s32 dataSizeInBytes)=0
Adds an attribute as binary data.
irr::io::IAttributes::addString
virtual void addString(const c8 *attributeName, const wchar_t *value)=0
Adds an attribute as string.
irr::io::IAttributes::getAttributeAsColor
virtual video::SColor getAttributeAsColor(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, f32 value)=0
Sets an attribute as float value.
irr::io::IAttributes::getAttributeEnumerationLiteralsOfEnumeration
virtual void getAttributeEnumerationLiteralsOfEnumeration(const c8 *attributeName, core::array< core::stringc > &outLiterals)=0
irr::io::IAttributes::getAttributeName
virtual const c8 * getAttributeName(s32 index)=0
irr::io::IAttributes::getAttributeAsTriangle3d
virtual core::triangle3df getAttributeAsTriangle3d(s32 index)=0
irr::io::IAttributes::addMatrix
virtual void addMatrix(const c8 *attributeName, const core::matrix4 &v)=0
Adds an attribute as matrix.
irr::io::IAttributes::getAttributeAsEnumeration
virtual s32 getAttributeAsEnumeration(const c8 *attributeName, const c8 *const *enumerationLiteralsToUse)=0
Gets an attribute as enumeration.
irr::io::IAttributes::getAttributeCount
virtual u32 getAttributeCount() const =0
Returns amount of attributes in this collection of attributes.
irr::io::IAttributes::getAttributeAsVector3d
virtual core::vector3df getAttributeAsVector3d(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::line2df v)=0
Sets an attribute as a 2d line.
irr::io::IAttributes::getAttributeAsVector2d
virtual core::vector2df getAttributeAsVector2d(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, video::SColor color)=0
Sets an attribute as color.
irr::io::IAttributes::getAttributeAsStringW
virtual core::stringw getAttributeAsStringW(const c8 *attributeName)=0
irr::io::IAttributes::getAttributeAsDimension2d
virtual core::dimension2d< u32 > getAttributeAsDimension2d(s32 index)=0
irr::io::IAttributes::getAttributeAsString
virtual void getAttributeAsString(const c8 *attributeName, c8 *target)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, video::ITexture *texture, const io::path &filename="")=0
Sets an attribute as texture reference.
irr::io::IAttributes::addFloat
virtual void addFloat(const c8 *attributeName, f32 value)=0
Adds an attribute as float.
irr::io::IAttributes::read
virtual bool read(io::IXMLReader *reader, bool readCurrentElementOnly=false, const wchar_t *elementName=0)=0
irr::io::IAttributes::getAttributeAsEnumeration
virtual s32 getAttributeAsEnumeration(s32 index, const c8 *const *enumerationLiteralsToUse)=0
Gets an attribute as enumeration.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, const c8 *enumValue, const c8 *const *enumerationLiterals)=0
Sets an attribute as enumeration.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, const core::array< core::stringw > &value)=0
irr::io::IAttributes::getAttributeAsStringW
virtual void getAttributeAsStringW(const c8 *attributeName, wchar_t *target)=0
irr::io::IAttributes::getAttributeAsString
virtual core::stringc getAttributeAsString(s32 index)=0
irr::io::IAttributes::getAttributeAsFloat
virtual f32 getAttributeAsFloat(const c8 *attributeName)=0
irr::io::IAttributes::getAttributeAsFloat
virtual f32 getAttributeAsFloat(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, video::SColorf color)=0
Sets an attribute as floating point color.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, const c8 *value)=0
irr::io::IAttributes::getAttributeAsLine2d
virtual core::line2df getAttributeAsLine2d(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, const core::array< core::stringw > &value)=0
Sets an attribute as an array of wide strings.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::rect< s32 > v)=0
Sets an attribute as rectangle.
irr::io::IAttributes::getAttributeAsEnumeration
virtual const c8 * getAttributeAsEnumeration(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, s32 value)=0
Sets an attribute as integer value.
irr::io::IAttributes::getAttributeAsRect
virtual core::rect< s32 > getAttributeAsRect(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, void *userPointer)=0
Sets an attribute as user pointer.
irr::io::IAttributes::getAttributeAsMatrix
virtual core::matrix4 getAttributeAsMatrix(s32 index)=0
irr::io::IAttributes::clear
virtual void clear()=0
Removes all attributes.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::triangle3df v)=0
Sets an attribute as 3d triangle.
irr::io::IAttributes::getAttributeAsLine3d
virtual core::line3df getAttributeAsLine3d(s32 index)=0
irr::io::IAttributes::getAttributeAsLine3d
virtual core::line3df getAttributeAsLine3d(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, f32 value)=0
Sets a attribute as float value.
irr::io::IAttributes::addRect
virtual void addRect(const c8 *attributeName, core::rect< s32 > value)=0
Adds an attribute as rectangle.
irr::io::IAttributes::addArray
virtual void addArray(const c8 *attributeName, const core::array< core::stringw > &value)=0
Adds an attribute as wide string array.
irr::io::IAttributes::addLine3d
virtual void addLine3d(const c8 *attributeName, core::line3df v)=0
Adds an attribute as a 3d line.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::position2di v)=0
Sets a attribute as 2d position.
irr::io::IAttributes::findAttribute
virtual s32 findAttribute(const c8 *attributeName) const =0
Returns attribute index from name, -1 if not found.
irr::io::IAttributes::getAttributeAsPosition2d
virtual core::position2di getAttributeAsPosition2d(const c8 *attributeName)=0
irr::io::IAttributes::addLine2d
virtual void addLine2d(const c8 *attributeName, core::line2df v)=0
Adds an attribute as a 2d line.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::vector3df v)=0
Sets an attribute as vector.
irr::io::IAttributes::getAttributeAsColorf
virtual video::SColorf getAttributeAsColorf(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::vector3df v)=0
Sets a attribute as 3d vector.
irr::io::IAttributes::addColor
virtual void addColor(const c8 *attributeName, video::SColor value)=0
Adds an attribute as color.
irr::io::IAttributes::getAttributeAsColor
virtual video::SColor getAttributeAsColor(s32 index)=0
irr::io::IAttributes::getAttributeAsVector3d
virtual core::vector3df getAttributeAsVector3d(const c8 *attributeName)=0
irr::io::IAttributes::getAttributeAsInt
virtual s32 getAttributeAsInt(const c8 *attributeName) const =0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::quaternion v)=0
Sets an attribute as quaternion.
irr::io::IAttributes::getAttributeAsArray
virtual core::array< core::stringw > getAttributeAsArray(const c8 *attributeName)=0
irr::io::IAttributes::getAttributeAsLine2d
virtual core::line2df getAttributeAsLine2d(const c8 *attributeName)=0
irr::io::IAttributes::getAttributeAsBool
virtual bool getAttributeAsBool(s32 index)=0
irr::io::IAttributes::getAttributeAsBinaryData
virtual void getAttributeAsBinaryData(const c8 *attributeName, void *outData, s32 maxSizeInBytes)=0
Gets an attribute as binary data.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::dimension2d< u32 > v)=0
Sets an attribute as dimension2d.
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, core::line3df v)=0
Sets an attribute as a 3d line.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, const core::matrix4 &v)=0
Sets an attribute as matrix.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::triangle3df v)=0
Sets an attribute as 3d trianle.
irr::io::IAttributes::getAttributeTypeString
virtual const wchar_t * getAttributeTypeString(const c8 *attributeName)=0
irr::io::IAttributes::addBox3d
virtual void addBox3d(const c8 *attributeName, core::aabbox3df v)=0
Adds an attribute as axis aligned bounding box.
irr::io::IAttributes::getAttributeAsBinaryData
virtual void getAttributeAsBinaryData(s32 index, void *outData, s32 maxSizeInBytes)=0
Gets an attribute as binary data.
irr::io::IAttributes::getAttributeAsPlane3d
virtual core::plane3df getAttributeAsPlane3d(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(s32 index, const core::matrix4 &v)=0
Sets an attribute as matrix.
irr::io::IAttributes::existsAttribute
virtual bool existsAttribute(const c8 *attributeName)=0
Returns if an attribute with a name exists.
irr::io::IAttributes::getAttributeEnumerationLiteralsOfEnumeration
virtual void getAttributeEnumerationLiteralsOfEnumeration(s32 index, core::array< core::stringc > &outLiterals)=0
irr::io::IAttributes::addPosition2d
virtual void addPosition2d(const c8 *attributeName, core::position2di value)=0
Adds an attribute as 2d position.
irr::io::IAttributes::getAttributeAsEnumeration
virtual const c8 * getAttributeAsEnumeration(const c8 *attributeName)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::dimension2d< u32 > v)=0
Sets an attribute as dimension2d.
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, core::line2df v)=0
Sets an attribute as a 2d line.
irr::io::IAttributes::addVector3d
virtual void addVector3d(const c8 *attributeName, core::vector3df value)=0
Adds an attribute as 3d vector.
irr::io::IAttributes::getAttributeAsQuaternion
virtual core::quaternion getAttributeAsQuaternion(s32 index)=0
irr::io::IAttributes::addEnum
virtual void addEnum(const c8 *attributeName, const c8 *enumValue, const c8 *const *enumerationLiterals)=0
Adds an attribute as enum.
irr::io::IAttributes::getAttributeType
virtual E_ATTRIBUTE_TYPE getAttributeType(const c8 *attributeName)=0
irr::io::IAttributes::addQuaternion
virtual void addQuaternion(const c8 *attributeName, core::quaternion v)=0
Adds an attribute as quaternion.
irr::io::IAttributes::addInt
virtual void addInt(const c8 *attributeName, s32 value)=0
Adds an attribute as integer.
irr::io::IAttributes::getAttributeAsUserPointer
virtual void * getAttributeAsUserPointer(s32 index)=0
irr::io::IAttributes::setAttribute
virtual void setAttribute(const c8 *attributeName, video::SColor color)=0
Sets a attribute as color.
irr::io::IXMLWriter
Interface providing methods for making it easier to write XML files.
Definition IXMLWriter.h:21
irr::video::ITexture
Interface of a Video Driver dependent Texture.
Definition ITexture.h:99
irr::video::SColor
Class representing a 32 bit ARGB color.
Definition SColor.h:202
irr::video::SColorf
Class representing a color with four floats.
Definition SColor.h:459
dimension2d.h
irrArray.h
irrString.h
line2d.h
line3d.h
matrix4.h
irr::core::vector3df
vector3d< f32 > vector3df
Typedef for a f32 3d vector.
Definition vector3d.h:445
irr::core::triangle3df
triangle3d< f32 > triangle3df
Typedef for a f32 3d triangle.
Definition triangle3d.h:270
irr::core::line2df
line2d< f32 > line2df
Typedef for an f32 line.
Definition line2d.h:267
irr::core::vector2df
vector2d< f32 > vector2df
Typedef for f32 2d vector.
Definition vector2d.h:323
irr::core::position2di
vector2d< s32 > position2di
Definition position2d.h:24
irr::core::line3df
line3d< f32 > line3df
Typedef for an f32 line.
Definition line3d.h:136
irr::core::matrix4
CMatrix4< f32 > matrix4
Typedef for f32 matrix.
Definition matrix4.h:2235
irr::core::stringc
string< c8 > stringc
Typedef for character strings.
Definition irrString.h:1358
irr::core::aabbox3df
aabbox3d< f32 > aabbox3df
Typedef for a f32 3d bounding box.
Definition aabbox3d.h:324
irr::core::plane3df
plane3d< f32 > plane3df
Typedef for a f32 3d plane.
Definition plane3d.h:236
irr::core::stringw
string< wchar_t > stringw
Typedef for wide character strings.
Definition irrString.h:1361
irr::io
This namespace provides interfaces for input/output: Reading and writing files, accessing zip archive...
Definition EAttributes.h:11
irr::io::E_ATTRIBUTE_TYPE
E_ATTRIBUTE_TYPE
Types of attributes available for IAttributes.
Definition EAttributes.h:15
irr::io::IXMLReader
IIrrXMLReader< wchar_t, IReferenceCounted > IXMLReader
An xml reader for wide characters, derived from IReferenceCounted.
Definition IXMLReader.h:19
irr::io::path
core::string< fschar_t > path
Type used for all file system related strings.
Definition path.h:17
irr::video
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::f32
float f32
32 bit floating point variable.
Definition irrTypes.h:104
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::c8
char c8
8 bit character variable.
Definition irrTypes.h:31
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
path.h
plane3d.h
position2d.h
quaternion.h
rect.h
triangle3d.h
vector2d.h
vector3d.h
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0