Click
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
HashTable_const_iterator< T > Class Template Reference

The const_iterator type for HashTable. More...

#include <hashtable.hh>

Inheritance diagram for HashTable_const_iterator< T >:
HashTable_iterator< T >

Public Types

typedef bool(HashTable_const_iterator::* unspecified_bool_type) () const
 

Public Member Functions

 HashTable_const_iterator ()
 Construct an uninitialized iterator.
 
const T * get () const
 Return a pointer to the element, null if *this == end().
 
const T * operator-> () const
 Return a pointer to the element.
 
const T & operator* () const
 Return a reference to the element.
 
HashTable< T >::key_const_reference key () const
 Return this element's key.
 
bool live () const
 Return true iff *this != end().
 
 operator unspecified_bool_type () const
 Return true iff *this != end().
 
void operator++ (int)
 Advance this iterator to the next element.
 
void operator++ ()
 Advance this iterator to the next element.
 

Detailed Description

template<typename T>
class HashTable_const_iterator< T >

The const_iterator type for HashTable.

Constructor & Destructor Documentation

◆ HashTable_const_iterator()

template<typename T >
HashTable_const_iterator< T >::HashTable_const_iterator ( )
inline

Construct an uninitialized iterator.

Member Function Documentation

◆ get()

template<typename T >
const T * HashTable_const_iterator< T >::get ( ) const
inline

Return a pointer to the element, null if *this == end().

◆ operator->()

template<typename T >
const T * HashTable_const_iterator< T >::operator-> ( ) const
inline

Return a pointer to the element.

Precondition
*this != end()

◆ operator*()

template<typename T >
const T & HashTable_const_iterator< T >::operator* ( ) const
inline

Return a reference to the element.

Precondition
*this != end()

◆ key()

template<typename T >
HashTable< T >::key_const_reference HashTable_const_iterator< T >::key ( ) const
inline

Return this element's key.

Precondition
*this != end()

◆ live()

template<typename T >
bool HashTable_const_iterator< T >::live ( ) const
inline

Return true iff *this != end().

◆ operator unspecified_bool_type()

template<typename T >
HashTable_const_iterator< T >::operator unspecified_bool_type ( ) const
inline

Return true iff *this != end().

◆ operator++() [1/2]

template<typename T >
void HashTable_const_iterator< T >::operator++ ( int  )
inline

Advance this iterator to the next element.

◆ operator++() [2/2]

template<typename T >
void HashTable_const_iterator< T >::operator++ ( )
inline

Advance this iterator to the next element.


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