#include <fbxcolladaelement.h>
A struct for convenient access to the content of common COLLADA element.
Definition at line 74 of file fbxcolladaelement.h.
Public Member Functions |
|
| ElementContentAccessor () | |
| ElementContentAccessor (xmlNode *pElement) | |
| virtual | ~ElementContentAccessor () |
| template<typename TYPE > | |
| bool | GetNext (TYPE *pData) |
| template<typename TYPE > | |
| int | GetArray (TYPE *pArray, int pSourceUnitOffset=0, int pSourceUnitValidCount=1, int pSourceUnitSize=1, int pDestUnitOffset=0, int pDestUnitValidCount=1, int pDestUnitSize=1, TYPE pDefaultValue=TYPE()) |
Public Attributes |
|
| xmlChar * | mContent |
| const char * | mPointer |
| ElementContentAccessor | ( | xmlNode * | pElement | ) |
| virtual ~ElementContentAccessor | ( | ) | [virtual] |
| bool GetNext | ( | TYPE * | pData | ) | [inline] |
Definition at line 81 of file fbxcolladaelement.h.
{
return FromString(pData, mPointer, &mPointer);
}
| int GetArray | ( | TYPE * | pArray, |
| int | pSourceUnitOffset =
0, |
||
| int | pSourceUnitValidCount =
1, |
||
| int | pSourceUnitSize =
1, |
||
| int | pDestUnitOffset =
0, |
||
| int | pDestUnitValidCount =
1, |
||
| int | pDestUnitSize = 1, |
||
| TYPE | pDefaultValue =
TYPE() |
||
| ) | [inline] |
Definition at line 87 of file fbxcolladaelement.h.
{
if (pArray)
{
return FromStringToArray(mPointer, pArray,
pSourceUnitOffset, pSourceUnitValidCount, pSourceUnitSize,
pDestUnitOffset, pDestUnitValidCount, pDestUnitSize, pDefaultValue);
}
return 0;
}
| xmlChar* mContent |
Definition at line 101 of file fbxcolladaelement.h.
| const char* mPointer |
Definition at line 102 of file fbxcolladaelement.h.