MeVisLab Toolbox Reference
SbMap< KeyType, ValueType >::Iterator Class Reference

Regular low->high (++) and high->low (–) iterator class for an SbMap. More...

#include <SbMap.h>

Public Member Functions

 Iterator ()
 
 Iterator (Node *root)
 
 Iterator (const Iterator &src)
 
void reset (bool atLowest=true)
 
bool atEnd () const
 
NodegetNode ()
 
Iteratoroperator= (const Iterator &src)
 
void operator++ (int)
 
void operator-- (int)
 
Nodeoperator-> ()
 
Nodeoperator* ()
 

Detailed Description

template<class KeyType, class ValueType>
class SbMap< KeyType, ValueType >::Iterator

Regular low->high (++) and high->low (–) iterator class for an SbMap.

Definition at line 183 of file SbMap.h.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

template<class KeyType , class ValueType >
SbMap< KeyType, ValueType >::Iterator::Iterator ( )
inline

Definition at line 188 of file SbMap.h.

◆ Iterator() [2/3]

template<class KeyType , class ValueType >
SbMap< KeyType, ValueType >::Iterator::Iterator ( Node * root)
inline

Definition at line 192 of file SbMap.h.

References SbMap< KeyType, ValueType >::Iterator::reset().

◆ Iterator() [3/3]

template<class KeyType , class ValueType >
SbMap< KeyType, ValueType >::Iterator::Iterator ( const Iterator & src)
inline

Definition at line 197 of file SbMap.h.

Member Function Documentation

◆ atEnd()

template<class KeyType , class ValueType >
bool SbMap< KeyType, ValueType >::Iterator::atEnd ( ) const
inline

Definition at line 208 of file SbMap.h.

Referenced by SbMap< KeyType, ValueType >::Iterator::operator*().

◆ getNode()

template<class KeyType , class ValueType >
Node * SbMap< KeyType, ValueType >::Iterator::getNode ( )
inline

◆ operator*()

template<class KeyType , class ValueType >
Node & SbMap< KeyType, ValueType >::Iterator::operator* ( )
inline

◆ operator++()

template<class KeyType , class ValueType >
void SbMap< KeyType, ValueType >::Iterator::operator++ ( int )
inline

Definition at line 223 of file SbMap.h.

◆ operator--()

template<class KeyType , class ValueType >
void SbMap< KeyType, ValueType >::Iterator::operator-- ( int )
inline

Definition at line 228 of file SbMap.h.

◆ operator->()

template<class KeyType , class ValueType >
Node * SbMap< KeyType, ValueType >::Iterator::operator-> ( )
inline

Definition at line 233 of file SbMap.h.

References SbMap< KeyType, ValueType >::Iterator::getNode().

◆ operator=()

template<class KeyType , class ValueType >
Iterator & SbMap< KeyType, ValueType >::Iterator::operator= ( const Iterator & src)
inline

Definition at line 216 of file SbMap.h.

References mlrange_cast().

◆ reset()

template<class KeyType , class ValueType >
void SbMap< KeyType, ValueType >::Iterator::reset ( bool atLowest = true)
inline

Definition at line 203 of file SbMap.h.

References mlrange_cast().

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


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