|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_listbox_sequence.h>
Public Types | |
| typedef listbox_sequence< S > | class_type |
| The current parameterisation of the type. | |
| typedef listbox_sequence_const_iterator< S > | const_iterator |
| The non-mutating (const) iterator type. | |
| typedef TCHAR | char_type |
| The character type. | |
| typedef S | value_type |
| The value type. | |
| typedef ws_size_t | size_type |
| The size type. | |
| typedef ws_ptrdiff_t | difference_type |
| The difference type. | |
| typedef ::stlsoft::const_reverse_iterator_base< const_iterator, value_type, value_type, void *, difference_type > | const_reverse_iterator |
| The non-mutating (const) reverse iterator type. | |
Public Methods | |
| listbox_sequence (HWND hwndListBox) | |
| Constructs from the given list-box. | |
| size_type | size () const |
| Returns the number of elements in the list-box. | |
| ws_bool_t | empty () const |
| Indicates whether the list-box is empty. | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
| const_reverse_iterator | rbegin () const |
| Begins the reverse iteration. | |
| const_reverse_iterator | rend () const |
| Ends the reverse iteration. | |
| value_type | operator[] (difference_type index) const |
| Returns the item at the given index. | |
Static Public Methods | |
| size_type | max_size () |
| Returns the maximum number of items that the list-box can contain. | |
This class presents an STL-like sequence interface to a list-box
| S | The string type |
|
|
The character type.
|
|
|
The current parameterisation of the type.
|
|
|
The non-mutating (const) iterator type.
|
|
|
The non-mutating (const) reverse iterator type.
|
|
|
The difference type.
|
|
|
The size type.
|
|
|
The value type.
|
|
|
Constructs from the given list-box.
|
|
|
Begins the iteration.
|
|
|
Indicates whether the list-box is empty.
|
|
|
Ends the iteration.
|
|
|
Returns the maximum number of items that the list-box can contain.
|
|
|
Returns the item at the given index.
|
|
|
Begins the reverse iteration.
|
|
|
Ends the reverse iteration.
|
|
|
Returns the number of elements in the list-box.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |