|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_listbox_sequence.h>
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_type & | operator++ () |
| 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_type & | operator-- () |
| Pre-decrement operator. | |
| class_type | operator-- (int) |
| Post-decrement operator. | |
| class_type & | operator+= (difference_type index) |
| Offset. | |
| class_type & | operator-= (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. | |
This class acts as the iterator for the listbox_sequence class, and implements the Random Access Iterator concept
| S | The string type |
|
|
The character type.
|
|
|
The current parameterisation of the type.
|
|
|
The difference type.
|
|
|
The size type.
|
|
|
The string type.
|
|
||||||||||||
|
Construct an instance from the list-box
|
|
|
Compares
|
|
|
Calculate the distance between
|
|
|
Dereferences the iterator and returns the current value.
|
|
|
Indicates whether
|
|
|
Pointer addition.
|
|
|
Pre-increment operator.
|
|
|
Pre-increment operator.
|
|
|
Offset.
|
|
|
Pointer difference.
|
|
|
Pointer subtraction.
|
|
|
Post-decrement operator.
|
|
|
Pre-decrement operator.
|
|
|
Offset.
|
|
|
Indicates whether
|
|
|
Indicates whether
|
|
|
Indicates whether
|
|
|
Indicates whether
|
|
|
Indicates whether
|
|
|
Indexing operator.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |