|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <mfcstl_array_veneer.h>
Public Types | |
| typedef array_veneer< C, T > | class_type |
| The type of the instantiated template. | |
| typedef C | container_type |
| The type of the adapted container. | |
| typedef ms_size_t | size_type |
| The size type. | |
| typedef ms_ptrdiff_t | difference_type |
| The difference type. | |
| typedef ::stlsoft::const_reverse_bidirectional_iterator_base< const_iterator, value_type, value_type, void *, difference_type > | const_reverse_iterator |
| The reverse non-mutating (const) iterator type. | |
Public Methods | |
| array_veneer () | |
| Constructs an instance of the array adaptor. | |
| size_type | size () const |
| Returns the number of elements in the sequence. | |
| ms_bool_t | empty () const |
| Indicates whether the search sequence is empty. | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
| iterator | begin () |
| Begins the iteration. | |
| iterator | end () |
| 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) |
Returns a mutable reference to the element at the given index. | |
| value_type | operator[] (difference_type index) const |
Returns a copy of the element at the given index. | |
Static Public Methods | |
| size_type | max_size () |
| Returns the maximum number of elements in the sequence. | |
This class takes a container type, e.g. CStringArray, as its primary (and only non-default) template argument, C. The second template parameter, T, defaults to array_veneer_traits<C>, for which specialisations are provided for the following types
| C | The container type |
| T | The traits type. With translators that support default template arguments, this is defaulted to array_veneer_traits<C> |
|
|
The type of the instantiated template.
|
|
|
The reverse non-mutating (const) iterator type.
|
|
|
The type of the adapted container.
|
|
|
The difference type.
|
|
|
The size type.
|
|
|
Constructs an instance of the array adaptor.
|
|
|
Begins the iteration.
|
|
|
Begins the iteration.
|
|
|
Indicates whether the search sequence is empty.
|
|
|
Ends the iteration.
|
|
|
Ends the iteration.
|
|
|
Returns the maximum number of elements in the sequence.
|
|
|
Returns a copy of the element at the given
|
|
|
Returns a mutable reference to the element at the given
|
|
|
Begins the reverse iteration.
|
|
|
Ends the reverse iteration.
|
|
|
Returns the number of elements in the sequence.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |