Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IMapIterator< Key, Value > Class Template Reference

Indexed map iterator template class.

#include <QtxMap.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

IMap< Key, Value > * myMap
 
int myIndex
 

Friends

class IMap< Key, Value >
 
class IMapConstIterator< Key, Value >
 

Constructor & Destructor Documentation

template<class Key, class Value>
IMapIterator< Key, Value >::IMapIterator ( )
inline
template<class Key, class Value>
IMapIterator< Key, Value >::IMapIterator ( const IMap< Key, Value > *  m)
inline
template<class Key, class Value>
IMapIterator< Key, Value >::IMapIterator ( const IMapIterator< Key, Value > &  i)
inline
template<class Key, class Value>
IMapIterator< Key, Value >::IMapIterator ( const IMap< Key, Value > *  m,
const int  index 
)
inlineprivate

Member Function Documentation

template<class Key, class Value>
void IMapIterator< Key, Value >::init ( )
inlineprivate
template<class Key, class Value>
const Key& IMapIterator< Key, Value >::key ( ) const
inline
template<class Key, class Value>
IMapIterator< Key, Value >::operator bool ( ) const
inline
template<class Key, class Value>
bool IMapIterator< Key, Value >::operator!= ( const IMapIterator< Key, Value > &  i)
inline
template<class Key, class Value>
Value& IMapIterator< Key, Value >::operator* ( )
inline
template<class Key, class Value>
IMapIterator& IMapIterator< Key, Value >::operator++ ( )
inline
template<class Key, class Value>
IMapIterator IMapIterator< Key, Value >::operator++ ( int  )
inline
template<class Key, class Value>
IMapIterator& IMapIterator< Key, Value >::operator-- ( )
inline
template<class Key, class Value>
IMapIterator IMapIterator< Key, Value >::operator-- ( int  )
inline
template<class Key, class Value>
bool IMapIterator< Key, Value >::operator== ( const IMapIterator< Key, Value > &  i)
inline
template<class Key, class Value>
Value& IMapIterator< Key, Value >::value ( )
inline
template<class Key, class Value>
const Value& IMapIterator< Key, Value >::value ( ) const
inline

Friends And Related Function Documentation

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

Member Data Documentation

template<class Key, class Value>
int IMapIterator< Key, Value >::myIndex
private
template<class Key, class Value>
IMap<Key,Value>* IMapIterator< Key, Value >::myMap
private

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