MeVisLab Toolbox Reference
|
Open Inventor container that associates objects of type KeyType with objects of type ValueType. More...
#include <SbMap.h>
Classes | |
class | AccessClass |
AccessClass is a temporary class used with the [] operator on an SbMap. More... | |
class | ByLevelIterator |
SbMap::ByLevelIterator for an SbMap, traversing the map top to bottom, level by level left to right.. More... | |
class | Iterator |
Regular low->high (++) and high->low (–) iterator class for an SbMap. More... | |
class | ParentFirstIterator |
SbMap::ParentFirstIterator for an SbMap, traversing the map from top to bottom. More... | |
class | ParentLastIterator |
SbMap::ParentFirstIterator for an SbMap, traversing the map from bottom to top. More... | |
Public Types | |
typedef SbMapItem< KeyType, ValueType > | Node |
Public Member Functions | |
SbMap () | |
SbMap (const SbMap &src) | |
~SbMap () | |
SbMap & | operator= (const SbMap &src) |
bool | insert (const KeyType &keyNew, const ValueType &v) |
void | set (const KeyType &k, const ValueType &v) |
bool | remove (const KeyType &k) |
void | clear () |
bool | isEmpty () const |
Node * | find (const KeyType &keyToFind) const |
Node * | getRoot () const |
unsigned int | size () const |
Iterator | getIterator () |
ParentFirstIterator | getParentFirstIterator () |
ParentLastIterator | getParentLastIterator () |
ByLevelIterator | getByLevelIterator () |
AccessClass | operator[] (const KeyType &k) |
Open Inventor container that associates objects of type KeyType with objects of type ValueType.
Definition at line 675 of file SbMap.h.
References mlrange_cast().
Definition at line 680 of file SbMap.h.
References SbMap< KeyType, ValueType >::clear().
Definition at line 809 of file SbMap.h.
References SbMap< KeyType, ValueType >::getParentLastIterator(), and mlrange_cast().
Referenced by SbMap< KeyType, ValueType >::operator=(), and SbMap< KeyType, ValueType >::~SbMap().
Definition at line 829 of file SbMap.h.
References mlrange_cast().
Referenced by SbMap< KeyType, ValueType >::AccessClass::operator ValueType(), SbMap< KeyType, ValueType >::remove(), and SbMap< KeyType, ValueType >::set().
|
inline |
Definition at line 872 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot(), mlrange_cast(), and SbMap< KeyType, ValueType >::size().
Definition at line 860 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot(), and mlrange_cast().
|
inline |
Definition at line 864 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot(), and mlrange_cast().
|
inline |
Definition at line 868 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot(), and mlrange_cast().
Referenced by SbMap< KeyType, ValueType >::clear().
Definition at line 851 of file SbMap.h.
Referenced by SbMap< KeyType, ValueType >::getByLevelIterator(), SbMap< KeyType, ValueType >::getIterator(), SbMap< KeyType, ValueType >::getParentFirstIterator(), and SbMap< KeyType, ValueType >::getParentLastIterator().
Definition at line 694 of file SbMap.h.
References SbMapItem< KeyType, ValueType >::getLeftChild(), SbMapItem< KeyType, ValueType >::getParent(), SbMapItem< KeyType, ValueType >::getRightChild(), SbMap< KeyType, ValueType >::insert(), mlrange_cast(), and SbMapItem< KeyType, ValueType >::setBlack().
Referenced by SbMap< KeyType, ValueType >::insert(), and SbMap< KeyType, ValueType >::set().
Definition at line 685 of file SbMap.h.
References SbMap< KeyType, ValueType >::clear(), mlrange_cast(), and SbMap< KeyType, ValueType >::set().
|
inline |
Definition at line 878 of file SbMap.h.
References mlrange_cast().
Definition at line 773 of file SbMap.h.
References SbMap< KeyType, ValueType >::find(), SbMapItem< KeyType, ValueType >::getLeftChild(), SbMapItem< KeyType, ValueType >::getParent(), SbMapItem< KeyType, ValueType >::getRightChild(), SbMapItem< KeyType, ValueType >::isLeftChild(), SbMapItem< KeyType, ValueType >::isRightChild(), mlrange_cast(), SbMapItem< KeyType, ValueType >::setLeftChild(), and SbMapItem< KeyType, ValueType >::setRightChild().
Definition at line 762 of file SbMap.h.
References SbMap< KeyType, ValueType >::find(), SbMap< KeyType, ValueType >::insert(), mlrange_cast(), and SbMapItem< KeyType, ValueType >::setValue().
Referenced by SbMap< KeyType, ValueType >::operator=(), and SbMap< KeyType, ValueType >::AccessClass::operator=().
Definition at line 856 of file SbMap.h.
Referenced by SbMap< KeyType, ValueType >::getByLevelIterator().