FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxObjectMap< Type, Compare > Class Template Reference

#include <fbxmap.h>

Class Description

template<class Type, class Compare>
class FbxObjectMap< Type, Compare >

This class template declare a simple FbxObject map.

Definition at line 348 of file fbxmap.h.

+ Inheritance diagram for FbxObjectMap< Type, Compare >:

Public Member Functions

 FbxObjectMap ()
 Constructor. More...
 
FbxObjectGet (typename FbxSimpleMap< Type, FbxObject *, Compare >::Iterator pIterator)
 Get the object contained in an element. More...
 
- Public Member Functions inherited from FbxSimpleMap< Type, FbxObject *, Compare >
void Add (const Type &pKey, const FbxObject * &pValue)
 Add a key-value pair as an element. More...
 
Iterator Find (const Type &pKey) const
 Find an element with a given key. More...
 
Iterator Find (const FbxObject * &pValue) const
 Find an element with a given value. More...
 
void Remove (Iterator pIterator)
 Remove an element from the map. More...
 
Iterator GetFirst () const
 Get the first element. More...
 
Iterator GetNext (Iterator pIterator) const
 Get the next element of a given element. More...
 
void Clear ()
 Remove all of the elements. More...
 
void Reserve (int pSize)
 Reserve the space for given number elements. More...
 
int GetCount () const
 Query the count of elements in the map. More...
 

Additional Inherited Members

- Public Types inherited from FbxSimpleMap< Type, FbxObject *, Compare >
typedef FbxMap< Type, FbxObject *, Compare >::RecordType * Iterator
 

Constructor & Destructor Documentation

◆ FbxObjectMap()

FbxObjectMap ( )
inline

Constructor.

Definition at line 352 of file fbxmap.h.

352 {}

Member Function Documentation

◆ Get()

FbxObject* Get ( typename FbxSimpleMap< Type, FbxObject *, Compare >::Iterator  pIterator)
inline

Get the object contained in an element.

Parameters
pIteratorThe given element.
Returns
The object.

Definition at line 358 of file fbxmap.h.

359  {
360  return pIterator ? pIterator->GetValue() : 0;
361  }

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