enumerator_sequence::iterator Class Reference

#include <comstl/collections/enumerator_sequence.hpp>

Inheritance diagram for enumerator_sequence::iterator:

iterator_base

List of all members.


Detailed Description

template<typename I, typename V, typename VP, typename R = V const&, typename CP = cloneable_cloning_policy<I>, size_t Q = 10>
class comstl::enumerator_sequence< I, V, VP, R, CP, Q >::iterator

Iterator for the enumerator_sequence class.

Construction

 iterator ()
 Default constructor.
 iterator (class_type const &rhs)
 Copy constructor.
 ~iterator () throw ()
 Releases any internal storage.
class_typeoperator= (class_type const &rhs)

Forward Iterator Methods

class_typeoperator++ ()
 Pre-increment operator.
class_type operator++ (int)
 Post-increment operator.
reference operator* ()
 Returns the value represented by the current iteration position.
pointer operator-> ()
 Returns the value represented by the current iteration position.
bool_type equal (class_type const &rhs) const
 Evaluates whether this and rhs are equivalent.
bool_type operator== (class_type const &rhs) const
 Evaluates whether this and rhs are equivalent.
bool_type operator!= (class_type const &rhs) const
 Evaluates whether this and rhs are not equivalent.

Public Types

typedef iterator class_type

Classes

struct  enumeration_context

Constructor & Destructor Documentation

iterator (  )  [inline]

Default constructor.

References COMSTL_ASSERT.

iterator ( class_type const &  rhs  )  [inline]

Copy constructor.

References COMSTL_ASSERT.

~iterator (  )  throw () [inline]

Releases any internal storage.

References COMSTL_ASSERT.


Member Function Documentation

class_type& operator++ (  )  [inline]

Pre-increment operator.

References COMSTL_ASSERT.

class_type operator++ ( int   )  [inline]

Post-increment operator.

References COMSTL_ASSERT.

reference operator* (  )  [inline]

Returns the value represented by the current iteration position.

References COMSTL_ASSERT, and COMSTL_MESSAGE_ASSERT.

pointer operator-> (  )  [inline]

Returns the value represented by the current iteration position.

References COMSTL_ASSERT, and COMSTL_MESSAGE_ASSERT.

bool_type equal ( class_type const &  rhs  )  const [inline]

Evaluates whether this and rhs are equivalent.

References COMSTL_ASSERT.

bool_type operator== ( class_type const &  rhs  )  const [inline]

Evaluates whether this and rhs are equivalent.

References COMSTL_ASSERT.

bool_type operator!= ( class_type const &  rhs  )  const [inline]

Evaluates whether this and rhs are not equivalent.

References COMSTL_ASSERT.


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

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