|
MeVisLab Resolution Independence API
|
Open Inventor container that associates objects of type KeyType with objects of type ValueType. More...
#include <SbMap.h>
Classes | |
| 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... | |
| class | ByLevelIterator |
| SbMap::ByLevelIterator for an SbMap, traversing the map top to bottom, level by level left to right.. More... | |
| class | AccessClass |
| AccessClass is a temporary class used with the [] operator on an SbMap. 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 672 of file SbMap.h.
Referenced by operator=(), and SbMap().
Definition at line 809 of file SbMap.h.
References SbMap< KeyType, ValueType >::ParentLastIterator::atEnd(), SbMap< KeyType, ValueType >::ParentLastIterator::getNode(), and getParentLastIterator().
Referenced by operator=(), and ~SbMap().
|
inline |
Definition at line 829 of file SbMap.h.
References SbMapItem< KeyType, ValueType >::getKey(), SbMapItem< KeyType, ValueType >::getLeftChild(), and SbMapItem< KeyType, ValueType >::getRightChild().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 851 of file SbMap.h.
Referenced by getByLevelIterator(), getIterator(), getParentFirstIterator(), and getParentLastIterator().
|
inline |
Definition at line 694 of file SbMap.h.
References SbMapItem< KeyType, ValueType >::getLeftChild(), SbMapItem< KeyType, ValueType >::getParent(), SbMapItem< KeyType, ValueType >::getRightChild(), 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().
|
inline |
Definition at line 685 of file SbMap.h.
References SbMap< KeyType, ValueType >::ParentFirstIterator::atEnd(), clear(), getParentFirstIterator(), SbMap(), and set().
|
inline |
|
inline |
Definition at line 773 of file SbMap.h.
References 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 find(), insert(), and SbMapItem< KeyType, ValueType >::setValue().
Referenced by SbMap< KeyType, ValueType >::AccessClass::operator=(), and operator=().
|
inline |
Definition at line 856 of file SbMap.h.
Referenced by SbMap< KeyType, ValueType >::ByLevelIterator::ByLevelIterator(), and getByLevelIterator().