STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

iterator Class Reference

Iterator for the enumerator_sequence class. More...

#include <comstl_enum_sequence.h>

List of all members.

Public Methods

 iterator (interface_type *i, cs_size_t quant)
 Constructor.

 iterator ()
 Default constructor.

 iterator (class_type const &rhs)
 Move constructor

 ~iterator ()
 Releases any internal storage.

iterator & operator++ ()
 Pre-increment operator.

reference_type operator * ()
 Returns the value represented by the current iteration position.

cs_bool_t operator== (iterator const &rhs) const
 Evaluates whether this and rhs are equivalent.

cs_bool_t operator!= (iterator const &rhs) const
 Evaluates whether this and rhs are not equivalent.


Detailed Description

template<typename I, typename V, typename VP, typename R = V const &, typename CP = degenerate_cloning_policy<I>, cs_size_t Q = 8>
class comstl::enumerator_sequence< I, V, VP, R, CP, Q >::iterator

Iterator for the enumerator_sequence class.


Constructor & Destructor Documentation

iterator interface_type   i,
cs_size_t    quant
[inline]
 

Constructor.

iterator   [inline]
 

Default constructor.

iterator class_type const &    rhs [inline]
 

Move constructor

~iterator   [inline]
 

Releases any internal storage.


Member Function Documentation

reference_type operator *   [inline]
 

Returns the value represented by the current iteration position.

cs_bool_t operator!= iterator const &    rhs const [inline]
 

Evaluates whether this and rhs are not equivalent.

iterator& operator++   [inline]
 

Pre-increment operator.

cs_bool_t operator== iterator const &    rhs const [inline]
 

Evaluates whether this and rhs are equivalent.


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004