Public Member Functions | Public Attributes

ElementContentAccessor Struct Reference

Search for all occurrences

Detailed Description

A struct for convenient access to the content of common COLLADA element.

Definition at line 74 of file fbxcolladaelement.h.

#include <fbxcolladaelement.h>

Inheritance diagram for ElementContentAccessor:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

ElementContentAccessor ( xmlNode *  pElement)
virtual ~ElementContentAccessor ( ) [virtual]

Member Function Documentation

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;
    }

Member Data Documentation

xmlChar* mContent
const char* mPointer

The documentation for this struct was generated from the following file: