treeview_sequence_const_iterator Class Template Reference
[Windows Controls Library]

#include <winstl/controls/treeview_sequence.hpp>

Inheritance diagram for treeview_sequence_const_iterator:

iterator_base< winstl_ns_qual_std(forward_iterator_tag), HTREEITEM, ws_ptrdiff_t, void, HTREEITEM >

List of all members.


Detailed Description

template<UINT N, UINT P>
class winstl::treeview_sequence_const_iterator< N, P >

Iterator for the treeview_child_sequence, treeview_peer_sequence and treeview_visible_sequence classes.

Parameters:
N The windows message that is used to access the next element in the iteration sequence
P The windows message that is used to access the previous element in the iteration sequence

Public Types

Member Types
typedef
treeview_sequence_const_iterator
< N, P > 
class_type
 The current parameterisation of the type.
typedef HTREEITEM value_type
 The value type.
typedef ws_ptrdiff_t difference_type
 The difference type.
typedef value_type effective_reference
 The effective reference type.

Public Member Functions

Construction
 treeview_sequence_const_iterator (HWND hwndTree, HTREEITEM hitem)
 treeview_sequence_const_iterator ()
 Default constructor.
 treeview_sequence_const_iterator (class_type const &rhs)
 Copy constructor.
treeview_sequence_const_iteratoroperator= (class_type const &rhs)
 Copy assignment operator.
Forward Iterator methods
effective_reference operator* () const
 Derefences and returns the current item.
class_typeoperator++ ()
 Pre-increment.
class_type operator++ (int)
 Post-increment.
bool operator== (class_type const &rhs) const
 Evaluates whether this and rhs are equivalent.
bool operator!= (class_type const &rhs) const
 Evaluates whether this and rhs are not equivalent.

Member Typedef Documentation

The current parameterisation of the type.

typedef HTREEITEM value_type

typedef ws_ptrdiff_t difference_type

The difference type.

The effective reference type.


Constructor & Destructor Documentation

Default constructor.

Copy constructor.


Member Function Documentation

treeview_sequence_const_iterator& operator= ( class_type const &  rhs  ) 

Copy assignment operator.

effective_reference operator* (  )  const

Derefences and returns the current item.

class_type& operator++ (  ) 

Pre-increment.

class_type operator++ ( int   ) 

Post-increment.

bool operator== ( class_type const &  rhs  )  const

Evaluates whether this and rhs are equivalent.

bool operator!= ( class_type const &  rhs  )  const

Evaluates whether this and rhs are not equivalent.


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

Generated on Thu Jun 10 08:59:18 2010 for STLSoft by  doxygen 1.5.6