KFbxLayerElementTemplate Class Template Reference

#include <kfbxlayer.h>

Inherits KFbxLayerElement.

Inheritance diagram for KFbxLayerElementTemplate:

Inheritance graph
List of all members.

Detailed Description

template<class Type>
class KFbxLayerElementTemplate< Type >

This class complements the KFbxLayerElement class.

Definition at line 243 of file kfbxlayer.h.

Public Member Functions

KArrayTemplate< Type > & GetDirectArray ()
 Access the array of Layer Elements.
KArrayTemplate< int > & GetIndexArray ()
 Access the array of index.
void Clear ()
 Remove all elements from the direct and the index arrays.


Member Function Documentation

KArrayTemplate<Type>& GetDirectArray (  )  [inline]

Access the array of Layer Elements.

Returns:
A reference to the Layer Elements array.
Remarks:
You cannot put elements in the direct array when the mapping mode is set to eINDEX.

Definition at line 251 of file kfbxlayer.h.

KArrayTemplate<int>& GetIndexArray (  )  [inline]

Access the array of index.

Returns:
A reference to the index array.
Remarks:
You cannot put elements in the index array when the mapping mode is set to eDIRECT.

Definition at line 261 of file kfbxlayer.h.

void Clear (  )  [inline]

Remove all elements from the direct and the index arrays.

Reimplemented in KFbxLayerElementUserData.

Definition at line 269 of file kfbxlayer.h.

Referenced by KFbxLayerElementUserData::Clear(), KFbxLayerElementUserData::operator=(), and KFbxLayerElementUserData::~KFbxLayerElementUserData().