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  

listbox_sequence_const_iterator Class Template Reference
[Control Library (WinSTL)]

Iterator for listbox_sequence class. More...

#include <winstl_listbox_sequence.h>

List of all members.

Public Types

typedef S value_type
 The string type.

typedef listbox_sequence_const_iterator<
S > 
class_type
 The current parameterisation of the type.

typedef TCHAR char_type
 The character type.

typedef ws_size_t size_type
 The size type.

typedef ws_ptrdiff_t difference_type
 The difference type.


Public Methods

 listbox_sequence_const_iterator (HWND hwndListBox, int index)
 Construct an instance from the list-box hwndListBox at the given index.

value_type const & operator * () const
 Dereferences the iterator and returns the current value.

class_typeoperator++ ()
 Pre-increment operator.

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

difference_type compare (class_type const &rhs) const
 Compares this and rhs for equivalence.

bool operator== (class_type const &rhs) const
 Indicates whether this and rhs are equivalent.

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

class_typeoperator-- ()
 Pre-decrement operator.

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

class_typeoperator+= (difference_type index)
 Offset.

class_typeoperator-= (difference_type index)
 Offset.

value_type operator[] (difference_type index) const
 Indexing operator.

difference_type distance (class_type const &rhs) const
 Calculate the distance between this and rhs.

class_type operator- (difference_type n) const
 Pointer subtraction.

class_type operator+ (difference_type n) const
 Pointer addition.

difference_type operator- (class_type const &rhs) const
 Pointer difference.

ws_bool_t operator< (class_type const &rhs) const
 Indicates whether this is less than rhs.

ws_bool_t operator> (class_type const &rhs) const
 Indicates whether this is greater than rhs.

ws_bool_t operator<= (class_type const &rhs) const
 Indicates whether this is less than or equal rhs.

ws_bool_t operator>= (class_type const &rhs) const
 Indicates whether this is greater than or equal rhs.


Detailed Description

template<typename S>
class winstl::listbox_sequence_const_iterator< S >

Iterator for listbox_sequence class.

This class acts as the iterator for the listbox_sequence class, and implements the Random Access Iterator concept

Parameters:
S  The string type


Member Typedef Documentation

typedef TCHAR char_type
 

The character type.

typedef listbox_sequence_const_iterator<S> class_type
 

The current parameterisation of the type.

typedef ws_ptrdiff_t difference_type
 

The difference type.

typedef ws_size_t size_type
 

The size type.

typedef S value_type
 

The string type.


Constructor & Destructor Documentation

listbox_sequence_const_iterator HWND    hwndListBox,
int    index
[inline]
 

Construct an instance from the list-box hwndListBox at the given index.


Member Function Documentation

difference_type compare class_type const &    rhs const [inline]
 

Compares this and rhs for equivalence.

difference_type distance class_type const &    rhs const [inline]
 

Calculate the distance between this and rhs.

value_type const& operator *   const [inline]
 

Dereferences the iterator and returns the current value.

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

Indicates whether this and rhs are not equivalent.

class_type operator+ difference_type    n const [inline]
 

Pointer addition.

class_type operator++ int    [inline]
 

Pre-increment operator.

class_type& operator++   [inline]
 

Pre-increment operator.

class_type& operator+= difference_type    index [inline]
 

Offset.

difference_type operator- class_type const &    rhs const [inline]
 

Pointer difference.

class_type operator- difference_type    n const [inline]
 

Pointer subtraction.

class_type operator-- int    [inline]
 

Post-decrement operator.

class_type& operator--   [inline]
 

Pre-decrement operator.

class_type& operator-= difference_type    index [inline]
 

Offset.

ws_bool_t operator< class_type const &    rhs const [inline]
 

Indicates whether this is less than rhs.

ws_bool_t operator<= class_type const &    rhs const [inline]
 

Indicates whether this is less than or equal rhs.

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

Indicates whether this and rhs are equivalent.

ws_bool_t operator> class_type const &    rhs const [inline]
 

Indicates whether this is greater than rhs.

ws_bool_t operator>= class_type const &    rhs const [inline]
 

Indicates whether this is greater than or equal rhs.

value_type operator[] difference_type    index const [inline]
 

Indexing operator.


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

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