MeVisLabToolboxReference
SbMapItem< KeyType, ValueType > Class Template Reference

Class SbMapItem is the element type of the SbMap tree. More...

#include <SbMap.h>

List of all members.

Public Member Functions

 SbMapItem (const KeyType &k, const ValueType &v)
virtual ~SbMapItem ()
void setLeftChild (SbMapItem *p)
void setRightChild (SbMapItem *p)
void setParent (SbMapItem *p)
void setValue (const ValueType &v)
void setRed ()
void setBlack ()
SbMapItemgetLeftChild () const
SbMapItemgetRightChild () const
SbMapItemgetParent () const
ValueType getValue ()
const ValueType & getValue () const
KeyType getKey ()
const KeyTypegetKey () const
bool isRoot () const
bool isLeftChild () const
bool isRightChild () const
bool isLeaf () const
unsigned int GetLevel () const
bool isRed () const
bool isBlack () const

Detailed Description

template<class KeyType, class ValueType>
class SbMapItem< KeyType, ValueType >

Class SbMapItem is the element type of the SbMap tree.

Definition at line 67 of file SbMap.h.


Constructor & Destructor Documentation

template<class KeyType , class ValueType >
SbMapItem< KeyType, ValueType >::SbMapItem ( const KeyType k,
const ValueType &  v 
) [inline]

Definition at line 72 of file SbMap.h.

template<class KeyType , class ValueType >
virtual SbMapItem< KeyType, ValueType >::~SbMapItem ( ) [inline, virtual]

Definition at line 77 of file SbMap.h.


Member Function Documentation

template<class KeyType , class ValueType >
KeyType SbMapItem< KeyType, ValueType >::getKey ( ) [inline]

Definition at line 128 of file SbMap.h.

Referenced by SbMap< KeyType, ValueType >::find().

template<class KeyType , class ValueType >
const KeyType& SbMapItem< KeyType, ValueType >::getKey ( ) const [inline]

Definition at line 131 of file SbMap.h.

template<class KeyType , class ValueType >
SbMapItem* SbMapItem< KeyType, ValueType >::getLeftChild ( ) const [inline]
template<class KeyType , class ValueType >
unsigned int SbMapItem< KeyType, ValueType >::GetLevel ( ) const [inline]
template<class KeyType , class ValueType >
SbMapItem* SbMapItem< KeyType, ValueType >::getParent ( ) const [inline]
template<class KeyType , class ValueType >
SbMapItem* SbMapItem< KeyType, ValueType >::getRightChild ( ) const [inline]
template<class KeyType , class ValueType >
ValueType SbMapItem< KeyType, ValueType >::getValue ( ) [inline]
template<class KeyType , class ValueType >
const ValueType& SbMapItem< KeyType, ValueType >::getValue ( ) const [inline]

Definition at line 125 of file SbMap.h.

template<class KeyType , class ValueType >
bool SbMapItem< KeyType, ValueType >::isBlack ( ) const [inline]

Definition at line 155 of file SbMap.h.

template<class KeyType , class ValueType >
bool SbMapItem< KeyType, ValueType >::isLeaf ( ) const [inline]

Definition at line 145 of file SbMap.h.

template<class KeyType , class ValueType >
bool SbMapItem< KeyType, ValueType >::isLeftChild ( ) const [inline]
template<class KeyType , class ValueType >
bool SbMapItem< KeyType, ValueType >::isRed ( ) const [inline]

Definition at line 152 of file SbMap.h.

Referenced by SbMap< KeyType, ValueType >::insert().

template<class KeyType , class ValueType >
bool SbMapItem< KeyType, ValueType >::isRightChild ( ) const [inline]
template<class KeyType , class ValueType >
bool SbMapItem< KeyType, ValueType >::isRoot ( ) const [inline]
template<class KeyType , class ValueType >
void SbMapItem< KeyType, ValueType >::setBlack ( ) [inline]

Definition at line 106 of file SbMap.h.

Referenced by SbMap< KeyType, ValueType >::insert().

template<class KeyType , class ValueType >
void SbMapItem< KeyType, ValueType >::setLeftChild ( SbMapItem< KeyType, ValueType > *  p) [inline]

Definition at line 83 of file SbMap.h.

References SbMapItem< KeyType, ValueType >::setParent().

Referenced by SbMap< KeyType, ValueType >::remove().

template<class KeyType , class ValueType >
void SbMapItem< KeyType, ValueType >::setParent ( SbMapItem< KeyType, ValueType > *  p) [inline]
template<class KeyType , class ValueType >
void SbMapItem< KeyType, ValueType >::setRed ( ) [inline]

Definition at line 103 of file SbMap.h.

Referenced by SbMap< KeyType, ValueType >::insert().

template<class KeyType , class ValueType >
void SbMapItem< KeyType, ValueType >::setRightChild ( SbMapItem< KeyType, ValueType > *  p) [inline]

Definition at line 88 of file SbMap.h.

References SbMapItem< KeyType, ValueType >::setParent().

Referenced by SbMap< KeyType, ValueType >::remove().

template<class KeyType , class ValueType >
void SbMapItem< KeyType, ValueType >::setValue ( const ValueType &  v) [inline]

Definition at line 97 of file SbMap.h.

Referenced by SbMap< KeyType, ValueType >::set().


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