CList_adaptor_base::const_iterator Class Reference

#include <mfcstl/collections/clist_adaptors.hpp>

Inheritance diagram for CList_adaptor_base::const_iterator:

iterator_base

List of all members.


Detailed Description

template<typename L, typename I, typename T>
class mfcstl::CList_adaptor_base< L, I, T >::const_iterator

Non-mutating (const) iterator for the CList_adaptor_base class.

Note:
This currently supports the Input Iterator concept only

Public Member Functions

 const_iterator ()
 Default constructor.
 const_iterator (rhs_type rhs)
 Move constructor
const_iterator const & operator= (rhs_type rhs)
 Move assignment operator
value_type operator* () const
 Dereference operator.
const_iteratoroperator++ ()
 Pre-increment operator.
void operator++ (int)
 Post-increment operator.
bool operator== (const_iterator const &rhs) const
 Evaluates whether this is equivalent to rhs.
bool operator!= (const_iterator const &rhs) const
 Evaluates whether this is not equivalent to rhs.

Constructor & Destructor Documentation

const_iterator (  )  [inline]

Default constructor.

const_iterator ( rhs_type  rhs  )  [inline]


Member Function Documentation

const_iterator const& operator= ( rhs_type  rhs  )  [inline]

Move assignment operator

value_type operator* (  )  const [inline]

Dereference operator.

References MFCSTL_MESSAGE_ASSERT.

const_iterator& operator++ (  )  [inline]

Pre-increment operator.

References MFCSTL_MESSAGE_ASSERT.

void operator++ ( int   )  [inline]

Post-increment operator.

bool operator== ( const_iterator const &  rhs  )  const [inline]

Evaluates whether this is equivalent to rhs.

Parameters:
rhs The instance from which to copy construct
Return values:
true The two iterators refer to the same position in the same container
false The two iterators do not refer to the same position in the same container

References CList_adaptor_base::const_iterator::m_list, CList_adaptor_base::const_iterator::m_pos, and MFCSTL_MESSAGE_ASSERT.

bool operator!= ( const_iterator const &  rhs  )  const [inline]

Evaluates whether this is not equivalent to rhs.

Parameters:
rhs The instance from which to copy construct
Return values:
true The two iterators do not refer to the same position in the same container
false The two iterators refer to the same position in the same container


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

Generated on Thu Jun 10 08:58:30 2010 for STLSoft by  doxygen 1.5.6