MoSync 3.3
MAUtil::Dictionary< Key, Storage >::ConstIterator Class Reference

Const Iterator for a Dictionary. More...

#include <MAUtil/Dictionary.h>

List of all members.

Public Member Functions

const Storage & operator* () const
const Storage * operator-> () const
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
ConstIteratoroperator-- ()
ConstIterator operator-- (int)
bool operator== (const ConstIterator &) const
bool operator!= (const ConstIterator &) const
ConstIteratoroperator= (const ConstIterator &)
 ConstIterator (const ConstIterator &)
 ConstIterator (const Iterator &)

Protected Member Functions

 ConstIterator (const dict_t *)

Protected Attributes

const DictNodemNode
const dict_t * mDict

Friends

class Dictionary

Detailed Description

template<class Key, class Storage>
class MAUtil::Dictionary< Key, Storage >::ConstIterator

Const Iterator for a Dictionary.

A ConstIterator is just like an ordinary Iterator, except all its methods and return values are const.


Constructor & Destructor Documentation

template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator::ConstIterator ( const ConstIterator o)
template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator::ConstIterator ( const Iterator o)
template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator::ConstIterator ( const dict_t *  dict) [protected]

Member Function Documentation

template<class Key , class Storage >
const Storage & MAUtil::Dictionary< Key, Storage >::ConstIterator::operator* ( ) const

References MAASSERT, and NULL.

template<class Key , class Storage >
const Storage * MAUtil::Dictionary< Key, Storage >::ConstIterator::operator-> ( ) const

References MAASSERT, and NULL.

template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator & MAUtil::Dictionary< Key, Storage >::ConstIterator::operator++ ( )
template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator MAUtil::Dictionary< Key, Storage >::ConstIterator::operator++ ( int  )
template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator & MAUtil::Dictionary< Key, Storage >::ConstIterator::operator-- ( )
template<class Key , class Storage >
MAUtil::Dictionary< Key, Storage >::ConstIterator MAUtil::Dictionary< Key, Storage >::ConstIterator::operator-- ( int  )
template<class Key , class Storage >
bool MAUtil::Dictionary< Key, Storage >::ConstIterator::operator== ( const ConstIterator o) const
template<class Key , class Storage >
bool MAUtil::Dictionary< Key, Storage >::ConstIterator::operator!= ( const ConstIterator o) const

Friends And Related Function Documentation

template<class Key, class Storage>
friend class Dictionary [friend]

Member Data Documentation

template<class Key, class Storage>
const dict_t* MAUtil::Dictionary< Key, Storage >::ConstIterator::mDict [protected]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines