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  

const_iterator Class Reference

Non-mutating (const) iterator for the list_veneer class. More...

#include <mfcstl_array_veneer.h>

Inheritance diagram for const_iterator:

iterator List of all members.

Public Methods

 const_iterator ()
 Default constructor.

 const_iterator (class_type const &rhs)
 Copy constructor.

const_iterator const & operator= (class_type const &rhs)
 Copy assignment operator.

class_typeoperator++ ()
 Pre-increment operator.

class_type operator++ (int)
 Post-increment operator.

difference_type compare (class_type const &rhs) const
 Compares this with rhs.

ms_bool_t operator== (class_type const &rhs) const
 Evaluates whether this and rhs are equivalent.

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

class_typeoperator-- ()
 Pre-decrement operator.

class_type operator-- (int)
 Post-decrement operator.


Detailed Description

template<class C, class T = array_veneer_traits<C>>
class mfcstl::array_veneer< C, T >::const_iterator

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

Note:
This supports the Random-Access Iterator concept


Constructor & Destructor Documentation

const_iterator   [inline]
 

Default constructor.

const_iterator class_type const &    rhs [inline]
 

Copy constructor.

Parameters:
rhs  The instance from which to copy construct


Member Function Documentation

difference_type compare class_type const &    rhs const [inline]
 

Compares this with rhs.

Parameters:
rhs  The instance against which to test
Return values:
0  if the two are equal
<0  if this is before rhs in the sequence
>0  if this is after rhs in the sequence

ms_bool_t operator!= class_type const &    rhs const [inline]
 

Evaluates whether this and rhs are not equivalent.

Parameters:
rhs  The instance against which to compare
Return values:
true  If this and rhs are not equivalent
false  If this and rhs are equivalent

class_type operator++ int    [inline]
 

Post-increment operator.

class_type& operator++   [inline]
 

Pre-increment operator.

class_type operator-- int    [inline]
 

Post-decrement operator.

class_type& operator--   [inline]
 

Pre-decrement operator.

const_iterator const& operator= class_type const &    rhs [inline]
 

Copy assignment operator.

Parameters:
rhs  The instance from which to copy assign

Reimplemented in iterator.

ms_bool_t operator== class_type const &    rhs const [inline]
 

Evaluates whether this and rhs are equivalent.

Parameters:
rhs  The instance against which to compare
Return values:
true  If this and rhs are equivalent
false  If this and rhs are not equivalent


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

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