dictionary_hash_iter< K, V > Class Template Reference

#include <Dictionary.h>

Public Member Functions

 dictionary_hash_iter (dictionary_hash< K, V > &idict)
 dictionary_hash_iter (const dictionary_hash< K, V > &idict)
 dictionary_hash_iter (dictionary_hash< K, V > &idict, TYPENAME std::vector< TYPENAME dictionary_hash< K, V >::entry >::iterator curi)
 dictionary_hash_iter (const dictionary_hash< K, V > &idict, TYPENAME std::vector< TYPENAME dictionary_hash< K, V >::entry >::const_iterator curi)
 dictionary_hash_iter (const dictionary_hash_iter< K, V > &src)
dictionary_hash_iter operator++ (int)
dictionary_hash_iter operator++ ()
bool next (K &k, V &v)
void reset ()
dictionary_hash_iter end ()
RET operator* ()
currkey ()
const K & currkey () const
RET currval () const
V & currval ()
bool operator== (const dictionary_hash_iter &other) const
bool operator!= (const dictionary_hash_iter &other) const
 operator bool () const

Private Types

typedef const V & RET

Private Member Functions

void move_to_next ()
void make_valid_or_end ()

Private Attributes

dictionary_hash< K, V > & dict
TYPENAME pdvector< TYPENAME
dictionary_hash< K, V >::entry >
::iterator 
i
TYPENAME pdvector< TYPENAME
dictionary_hash< K, V >::entry >
::iterator 
the_end

Detailed Description

template<class K, class V>
class dictionary_hash_iter< K, V >

Definition at line 259 of file Dictionary.h.


Member Typedef Documentation

template<class K, class V>
typedef const V& dictionary_hash_iter< K, V >::RET [private]

Definition at line 261 of file Dictionary.h.


Constructor & Destructor Documentation

template<class K, class V>
dictionary_hash_iter< K, V >::dictionary_hash_iter ( dictionary_hash< K, V > &  idict  )  [inline]

Definition at line 284 of file Dictionary.h.

References dictionary_hash_iter< K, V >::reset().

template<class K, class V>
dictionary_hash_iter< K, V >::dictionary_hash_iter ( const dictionary_hash< K, V > &  idict  )  [inline]

Definition at line 288 of file Dictionary.h.

References dictionary_hash_iter< K, V >::reset().

template<class K, class V>
dictionary_hash_iter< K, V >::dictionary_hash_iter ( dictionary_hash< K, V > &  idict,
TYPENAME std::vector< TYPENAME dictionary_hash< K, V >::entry >::iterator  curi 
) [inline]

Definition at line 307 of file Dictionary.h.

template<class K, class V>
dictionary_hash_iter< K, V >::dictionary_hash_iter ( const dictionary_hash< K, V > &  idict,
TYPENAME std::vector< TYPENAME dictionary_hash< K, V >::entry >::const_iterator  curi 
) [inline]
template<class K, class V>
dictionary_hash_iter< K, V >::dictionary_hash_iter ( const dictionary_hash_iter< K, V > &  src  )  [inline]

Definition at line 342 of file Dictionary.h.


Member Function Documentation

template<class K, class V>
const K& dictionary_hash_iter< K, V >::currkey (  )  const [inline]

Definition at line 409 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
K dictionary_hash_iter< K, V >::currkey (  )  [inline]

Definition at line 406 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
V& dictionary_hash_iter< K, V >::currval (  )  [inline]

Definition at line 415 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
RET dictionary_hash_iter< K, V >::currval (  )  const [inline]

Definition at line 412 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
dictionary_hash_iter dictionary_hash_iter< K, V >::end (  )  [inline]
template<class K, class V>
void dictionary_hash_iter< K, V >::make_valid_or_end (  )  [inline, private]
template<class K, class V>
void dictionary_hash_iter< K, V >::move_to_next (  )  [inline, private]
template<class K, class V>
bool dictionary_hash_iter< K, V >::next ( K &  k,
V &  v 
) [inline]
template<class K, class V>
dictionary_hash_iter< K, V >::operator bool (  )  const [inline]
template<class K, class V>
bool dictionary_hash_iter< K, V >::operator!= ( const dictionary_hash_iter< K, V > &  other  )  const [inline]

Definition at line 422 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
RET dictionary_hash_iter< K, V >::operator* (  )  [inline]

Definition at line 399 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
dictionary_hash_iter dictionary_hash_iter< K, V >::operator++ (  )  [inline]

Definition at line 356 of file Dictionary.h.

References dictionary_hash_iter< K, V >::move_to_next().

template<class K, class V>
dictionary_hash_iter dictionary_hash_iter< K, V >::operator++ ( int   )  [inline]

Definition at line 351 of file Dictionary.h.

References dictionary_hash_iter< K, V >::move_to_next().

template<class K, class V>
bool dictionary_hash_iter< K, V >::operator== ( const dictionary_hash_iter< K, V > &  other  )  const [inline]

Definition at line 419 of file Dictionary.h.

References dictionary_hash_iter< K, V >::i.

template<class K, class V>
void dictionary_hash_iter< K, V >::reset (  )  [inline]

Field Documentation

template<class K, class V>
dictionary_hash<K,V>& dictionary_hash_iter< K, V >::dict [private]
template<class K, class V>
TYPENAME pdvector< TYPENAME dictionary_hash<K,V>::entry >::iterator dictionary_hash_iter< K, V >::i [private]
template<class K, class V>
TYPENAME pdvector< TYPENAME dictionary_hash<K,V>::entry >::iterator dictionary_hash_iter< K, V >::the_end [private]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1