Version: 9.12.0
IMapConstIterator< Key, Value > Class Template Reference

Indexed map const iterator template class. More...

#include <QtxMap.h>

Public Member Functions

 IMapConstIterator ()
 
 IMapConstIterator (const IMap< Key, Value > *m)
 
 IMapConstIterator (const IMapConstIterator &i)
 
 IMapConstIterator (const IMapIterator< Key, Value > &i)
 
bool operator== (const IMapConstIterator &i)
 
bool operator!= (const IMapConstIterator &i)
 
 operator bool () const
 
const Key & key () const
 
const Value value () const
 
const Value operator* () const
 
IMapConstIteratoroperator++ ()
 
IMapConstIterator operator++ (int)
 
IMapConstIteratoroperator-- ()
 
IMapConstIterator operator-- (int)
 

Private Member Functions

 IMapConstIterator (const IMap< Key, Value > *m, const int index)
 
void init ()
 

Private Attributes

IMap< Key, Value > * myMap
 
int myIndex
 

Friends

class IMap< Key, Value >
 

Detailed Description

template<class Key, class Value>
class IMapConstIterator< Key, Value >

Indexed map const iterator template class.

Constructor & Destructor Documentation

◆ IMapConstIterator() [1/5]

template<class Key , class Value >
IMapConstIterator< Key, Value >::IMapConstIterator ( )
inline

◆ IMapConstIterator() [2/5]

template<class Key , class Value >
IMapConstIterator< Key, Value >::IMapConstIterator ( const IMap< Key, Value > *  m)
inline

◆ IMapConstIterator() [3/5]

template<class Key , class Value >
IMapConstIterator< Key, Value >::IMapConstIterator ( const IMapConstIterator< Key, Value > &  i)
inline

◆ IMapConstIterator() [4/5]

template<class Key , class Value >
IMapConstIterator< Key, Value >::IMapConstIterator ( const IMapIterator< Key, Value > &  i)
inline

◆ IMapConstIterator() [5/5]

template<class Key , class Value >
IMapConstIterator< Key, Value >::IMapConstIterator ( const IMap< Key, Value > *  m,
const int  index 
)
inlineprivate

Member Function Documentation

◆ init()

template<class Key , class Value >
void IMapConstIterator< Key, Value >::init ( )
inlineprivate

◆ key()

template<class Key , class Value >
const Key& IMapConstIterator< Key, Value >::key ( ) const
inline

◆ operator bool()

template<class Key , class Value >
IMapConstIterator< Key, Value >::operator bool ( ) const
inline

◆ operator!=()

template<class Key , class Value >
bool IMapConstIterator< Key, Value >::operator!= ( const IMapConstIterator< Key, Value > &  i)
inline

◆ operator*()

template<class Key , class Value >
const Value IMapConstIterator< Key, Value >::operator* ( ) const
inline

◆ operator++() [1/2]

template<class Key , class Value >
IMapConstIterator& IMapConstIterator< Key, Value >::operator++ ( )
inline

◆ operator++() [2/2]

template<class Key , class Value >
IMapConstIterator IMapConstIterator< Key, Value >::operator++ ( int  )
inline

◆ operator--() [1/2]

template<class Key , class Value >
IMapConstIterator& IMapConstIterator< Key, Value >::operator-- ( )
inline

◆ operator--() [2/2]

template<class Key , class Value >
IMapConstIterator IMapConstIterator< Key, Value >::operator-- ( int  )
inline

◆ operator==()

template<class Key , class Value >
bool IMapConstIterator< Key, Value >::operator== ( const IMapConstIterator< Key, Value > &  i)
inline

◆ value()

template<class Key , class Value >
const Value IMapConstIterator< Key, Value >::value ( ) const
inline

Friends And Related Function Documentation

◆ IMap< Key, Value >

template<class Key , class Value >
friend class IMap< Key, Value >
friend

Member Data Documentation

◆ myIndex

template<class Key , class Value >
int IMapConstIterator< Key, Value >::myIndex
private

◆ myMap

template<class Key , class Value >
IMap<Key,Value>* IMapConstIterator< Key, Value >::myMap
private

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