MeVisLab Resolution Independence API
|
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 680 of file SbMap.h.
References SbMap< KeyType, ValueType >::clear().
Definition at line 809 of file SbMap.h.
References SbMap< KeyType, ValueType >::ParentLastIterator::atEnd(), SbMap< KeyType, ValueType >::ParentLastIterator::getNode(), and SbMap< KeyType, ValueType >::getParentLastIterator().
Referenced by SbMap< KeyType, ValueType >::operator=(), and SbMap< KeyType, ValueType >::~SbMap().
|
inline |
Definition at line 829 of file SbMap.h.
References SbMapItem< KeyType, ValueType >::getKey(), SbMapItem< KeyType, ValueType >::getLeftChild(), and SbMapItem< KeyType, ValueType >::getRightChild().
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(), and SbMap< KeyType, ValueType >::size().
|
inline |
Definition at line 860 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot().
|
inline |
Definition at line 864 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot().
Referenced by SbMap< KeyType, ValueType >::operator=().
|
inline |
Definition at line 868 of file SbMap.h.
References SbMap< KeyType, ValueType >::getRoot().
Referenced by SbMap< KeyType, ValueType >::clear().
|
inline |
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().
|
inline |
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(), SbMapItem< KeyType, ValueType >::isLeftChild(), SbMapItem< KeyType, ValueType >::isRed(), SbMapItem< KeyType, ValueType >::isRightChild(), SbMapItem< KeyType, ValueType >::isRoot(), SbMapItem< KeyType, ValueType >::setBlack(), and SbMapItem< KeyType, ValueType >::setRed().
Referenced by SbMap< KeyType, ValueType >::insert(), and SbMap< KeyType, ValueType >::set().
|
inline |
Definition at line 685 of file SbMap.h.
References SbMap< KeyType, ValueType >::clear(), SbMap< KeyType, ValueType >::getParentFirstIterator(), and SbMap< KeyType, ValueType >::set().
|
inline |
|
inline |
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(), SbMapItem< KeyType, ValueType >::setLeftChild(), and SbMapItem< KeyType, ValueType >::setRightChild().
|
inline |
Definition at line 762 of file SbMap.h.
References SbMap< KeyType, ValueType >::find(), SbMap< KeyType, ValueType >::insert(), and SbMapItem< KeyType, ValueType >::setValue().
Referenced by SbMap< KeyType, ValueType >::operator=(), and SbMap< KeyType, ValueType >::AccessClass::operator=().
|
inline |
Definition at line 856 of file SbMap.h.
Referenced by SbMap< KeyType, ValueType >::getByLevelIterator().