ElementContentAccessor Struct Reference
 
 
 
ElementContentAccessor Struct Reference

#include <fbxcolladaelement.h>


Class Description

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

Definition at line 74 of file fbxcolladaelement.h.

Inheritance diagram for ElementContentAccessor:
SourceElementContentAccessor< TYPE >

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

Definition at line 101 of file fbxcolladaelement.h.

const char* mPointer

Definition at line 102 of file fbxcolladaelement.h.


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