XII Release 0.1.0
Loading...
Searching...
No Matches
xiiIdTableBase< IdType, ValueType >::ConstIterator Class Reference

Const iterator. More...

#include <IdTable.h>

Inheritance diagram for xiiIdTableBase< IdType, ValueType >::ConstIterator:
[legend]

Public Member Functions

bool IsValid () const
 Checks whether this iterator points to a valid element.
 
bool operator== (const typename xiiIdTableBase< IdType, ValueType >::ConstIterator &it2) const
 Checks whether the two iterators point to the same element.
 
IdType Id () const
 Returns the 'id' of the element that this iterator points to.
 
const ValueType & Value () const
 Returns the 'value' of the element that this iterator points to.
 
void Next ()
 Advances the iterator to the next element in the map. The iterator will not be valid anymore, if the end is reached.
 
void operator++ ()
 Shorthand for 'Next'.
 

Protected Member Functions

 ConstIterator (const xiiIdTableBase< IdType, ValueType > &idTable)
 

Protected Attributes

const xiiIdTableBase< IdType, ValueType > & m_IdTable
 
IndexType m_CurrentIndex
 
IndexType m_CurrentCount
 

Friends

class xiiIdTableBase< IdType, ValueType >
 

Detailed Description

template<typename IdType, typename ValueType>
class xiiIdTableBase< IdType, ValueType >::ConstIterator

Const iterator.


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