|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <stlsoft_array_proxy.h>
Attributes | |
| pointer | base () |
| Returns the base of the array. | |
| pointer | base () const |
| Returns the base of the array. | |
| size_type | size () const |
| Returns the number of elements in the sequence. | |
| ss_bool_t | empty () const |
| Indicates whether the search sequence is empty. | |
| size_type | max_size () |
| Returns the maximum number of elements in the sequence. | |
Public Methods | |
Construction | |
| template<typename D> | array_proxy (array_proxy< D > const &d) |
| Conversion constructor, facilitating conversion between polymorphic types of the same size. | |
| template<typename D, ss_size_t N> | array_proxy (D(&d)[N]) |
| Constructs an instance of the array proxy from the given array. | |
| template<typename D> | array_proxy (D *begin, D *end) |
| Constructs an instance of the array proxy from the given range. | |
| template<typename D> | array_proxy (D *p, ss_size_t n) |
| Constructs an instance of the array proxy from the given range. | |
Subscripting | |
| reference | operator[] (ss_size_t index) |
| Returns the element at the given index. | |
| const_reference | operator[] (ss_size_t index) const |
| Returns the element at the given index. | |
Iteration | |
| iterator | begin () |
| Begins the iteration. | |
| iterator | end () |
| Ends the iteration. | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
|
|
Conversion constructor, facilitating conversion between polymorphic types of the same size.
|
|
|
Constructs an instance of the array proxy from the given array.
|
|
||||||||||||
|
Constructs an instance of the array proxy from the given range.
|
|
||||||||||||
|
Constructs an instance of the array proxy from the given range.
|
|
|
Returns the base of the array.
|
|
|
Returns the base of the array.
|
|
|
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 the element at the given index.
|
|
|
Returns the element at the given index.
|
|
|
Returns the number of elements in the sequence.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |