combobox_sequence Class Template Reference
[Windows Controls Library]

#include <winstl/controls/combobox_sequence.hpp>

Inheritance diagram for combobox_sequence:

stl_collection_tag collection_tag

List of all members.


Detailed Description

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

STL-like sequence for combo-box contents.

This class presents an STL-like sequence interface to a combo-box

Parameters:
S The string type

Member Types

typedef combobox_sequence< S > class_type
 The current parameterisation of the type.
typedef listbox_const_iterator
< S, combobox_operation_traits > 
const_iterator
 The non-mutating (const) iterator type.
typedef const_iterator::char_type char_type
 The character type.
typedef const_iterator::value_type value_type
 The value type.
typedef
const_iterator::const_reference 
const_reference
 The non-mutable (const) reference type.
typedef const_iterator::size_type size_type
 The size type.
typedef
const_iterator::difference_type 
difference_type
 The difference type.
typedef
const_iterator::allocator_type 
allocator_type
 The allocator type.

State

size_type size () const
 Returns the number of elements in the combo-box.
bool empty () const
 Indicates whether the combo-box is empty.
static size_type max_size ()
 Returns the maximum number of items that the combo-box can contain.

Public Member Functions

Construction
 combobox_sequence (HWND hwndComboBox)
 Constructs from the given combo-box.
Iteration
const_iterator begin () const
 Begins the iteration.
const_iterator end () const
 Ends the iteration.
Element Access
value_type operator[] (difference_type index) const
 Returns the item at the given index.

Member Typedef Documentation

The current parameterisation of the type.

typedef listbox_const_iterator<S, combobox_operation_traits> const_iterator

The non-mutating (const) iterator type.

The character type.

The value type.

The non-mutable (const) reference type.

The size type.

The difference type.

The allocator type.


Constructor & Destructor Documentation

combobox_sequence ( HWND  hwndComboBox  )  [inline, explicit]

Constructs from the given combo-box.


Member Function Documentation

size_type size (  )  const [inline]

Returns the number of elements in the combo-box.

bool empty (  )  const [inline]

Indicates whether the combo-box is empty.

static size_type max_size (  )  [inline, static]

Returns the maximum number of items that the combo-box can contain.

const_iterator begin (  )  const [inline]

Begins the iteration.

Returns:
An iterator representing the start of the sequence

const_iterator end (  )  const [inline]

Ends the iteration.

Returns:
An iterator representing the end of the sequence

value_type operator[] ( difference_type  index  )  const [inline]

Returns the item at the given index.


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

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