|
FBX C++ API Reference
|
#include <fbxset.h>
This class implements an efficient set based on value comparison, which stores values.
It executes insertion, deletion and query operations in O(log(n)) time.
Classes | |
| class | Value |
| This class defines the value type used by the set. More... | |
Public Types | |
| typedef Type | ValueType |
| typedef StorageType::RecordType | RecordType |
| typedef StorageType::IteratorType | Iterator |
| typedef StorageType::ConstIteratorType | ConstIterator |
Public Member Functions | |
| void | Reserve (unsigned int pRecordCount) |
| Preallocate memory. More... | |
| int | GetSize () const |
| Retrieve the number of values it holds. More... | |
| FbxPair< RecordType *, bool > | Insert (const ValueType &pValue) |
| Insert a value. More... | |
| int | Remove (const ValueType &pValue) |
| Delete a value. More... | |
| void | Clear () |
| Clear the set. More... | |
| bool | Empty () const |
| Query whether the set is empty. More... | |
| Iterator | Begin () |
| Retrieve the begin iterator of the set. More... | |
| Iterator | End () |
| Retrieve the end iterator of the set. More... | |
| ConstIterator | Begin () const |
| Retrieve the begin iterator of the set. More... | |
| ConstIterator | End () const |
| Retrieve the end iterator of the set. More... | |
| const RecordType * | Find (const ValueType &pValue) const |
| Find a given value in the set. More... | |
| RecordType * | Find (const ValueType &pValue) |
| Find a given value in the set. More... | |
| const RecordType * | Minimum () const |
| Retrieve the minimum value in the set. More... | |
| RecordType * | Minimum () |
| Retrieve the minimum value in the set. More... | |
| const RecordType * | Maximum () const |
| Retrieve the maximum value in the set. More... | |
| RecordType * | Maximum () |
| Retrieve the maximum value in the set. More... | |
| bool | operator== (const FbxSet< Type, Compare, Allocator > &pOther) const |
| Equality operator. More... | |
| bool | operator!= (const FbxSet< Type, Compare, Allocator > &pOther) const |
| Inequality operator. More... | |
| FbxSet | Intersect (const FbxSet &pOther) const |
| Intersect with another set. More... | |
| FbxSet | Union (const FbxSet &pOther) const |
| Unite with another set. More... | |
Protected Types | |
| typedef FbxRedBlackTree< Value, Compare, Allocator > | StorageType |
| Declaration of the storage type used by the set. More... | |
|
protected |
| typedef StorageType::RecordType RecordType |
| typedef StorageType::ConstIteratorType ConstIterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Retrieve the begin iterator of the set.
Definition at line 107 of file fbxset.h.
|
inline |
|
inline |
Retrieve the begin iterator of the set.
Definition at line 119 of file fbxset.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Intersect with another set.
| pOther | The other set. |
Definition at line 185 of file fbxset.h.
Unite with another set.
| pOther | The other set. |
Definition at line 200 of file fbxset.h.