const_iterator_ Class Reference

#include <const_iterator.hpp>

Inheritance diagram for const_iterator_:

const_find_iterator_ iterator_ List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category
typedef Allocator::difference_type difference_type
typedef mapped_value_type value_type
typedef mapped_pointer pointer
typedef const_mapped_pointer const_pointer
typedef mapped_reference reference
typedef const_mapped_reference const_reference

Public Member Functions

 const_iterator_ ()
const_iterator_operator++ ()
const_iterator_ operator++ (int)

Protected Types

typedef const_find_iterator_ my_base

Protected Member Functions

 const_iterator_ (const_mapped_pointer p_value, PB_ASSOC_GEN_POS pos, const PB_ASSOC_CLASS_C_DEC *p_tbl)

Protected Attributes

const PB_ASSOC_CLASS_C_DEC * m_p_tbl
PB_ASSOC_GEN_POS m_pos

Friends

class PB_ASSOC_CLASS_C_DEC

Detailed Description

Definition at line 46 of file const_iterator.hpp.


Member Typedef Documentation

typedef const_mapped_pointer const_iterator_::const_pointer

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 61 of file const_iterator.hpp.

typedef const_mapped_reference const_iterator_::const_reference

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 65 of file const_iterator.hpp.

typedef Allocator::difference_type const_iterator_::difference_type

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 55 of file const_iterator.hpp.

typedef std::forward_iterator_tag const_iterator_::iterator_category

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 53 of file const_iterator.hpp.

typedef const_find_iterator_ const_iterator_::my_base [protected]

Reimplemented in iterator_.

Definition at line 95 of file const_iterator.hpp.

typedef mapped_pointer const_iterator_::pointer

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 59 of file const_iterator.hpp.

typedef mapped_reference const_iterator_::reference

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 63 of file const_iterator.hpp.

typedef mapped_value_type const_iterator_::value_type

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 57 of file const_iterator.hpp.


Constructor & Destructor Documentation

const_iterator_::const_iterator_ (  )  [inline]

Definition at line 70 of file const_iterator.hpp.

const_iterator_::const_iterator_ ( const_mapped_pointer  p_value,
PB_ASSOC_GEN_POS  pos,
const PB_ASSOC_CLASS_C_DEC *  p_tbl 
) [inline, protected]

Constructor used by the table to initiate the generalized pointer and position (e.g., this is called from within a find() of a table.

Definition at line 105 of file const_iterator.hpp.


Member Function Documentation

const_iterator_ const_iterator_::operator++ ( int   )  [inline]

Reimplemented in iterator_.

Definition at line 84 of file const_iterator.hpp.

References m_p_tbl, const_find_iterator_::m_p_value, and m_pos.

const_iterator_& const_iterator_::operator++ (  )  [inline]

Reimplemented in iterator_.

Definition at line 76 of file const_iterator.hpp.

References m_p_tbl, const_find_iterator_::m_p_value, and m_pos.


Friends And Related Function Documentation

friend class PB_ASSOC_CLASS_C_DEC [friend]

Reimplemented from const_find_iterator_.

Reimplemented in iterator_.

Definition at line 120 of file const_iterator.hpp.


Member Data Documentation

const PB_ASSOC_CLASS_C_DEC* const_iterator_::m_p_tbl [protected]

Pointer to the table object which created the iterator (used for incrementing its position.

Definition at line 116 of file const_iterator.hpp.

Referenced by iterator_::operator++(), and operator++().

PB_ASSOC_GEN_POS const_iterator_::m_pos [protected]

Definition at line 118 of file const_iterator.hpp.

Referenced by iterator_::operator++(), and operator++().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:57:41 2010 for GNU C++ STL by  doxygen 1.4.7