Scopira
20080306
|
#include <array.h>
Public Types | |
typedef T | data_type |
typedef const T * | const_iterator |
Public Member Functions | |
const_array_view (array_view< T > rhs) | |
const_array_view (const basic_array< T > &rhs) | |
const_array_view (const T *b, const T *e) | |
template<size_t N> | |
const_array_view (const fixed_array< T, N > &rhs) | |
template<size_t N> | |
const_array_view (const hybrid_array< T, N > &rhs) | |
const T * | array (void) const |
const T * | c_array (void) const |
const_iterator | begin (void) const |
const_iterator | end (void) const |
size_t | size (void) const |
bool | empty (void) const |
const T & | get (size_t idx) const |
const T & | operator[] (size_t idx) const |
Protected Attributes | |
const T * | dm_ary |
const T * | dm_end |
A (non-resizable) "view" of another array
|
inline |
One can make const version out of non-const versions (but not visa versa)
|
inline |
Converting ctor
|
inline |
Converting ctor
|
inline |
Converting ctor
|
inline |
Converting ctor
|
inline |
Raw access to the array
|
inline |
STL-like iteration
Referenced by scopira::tool::hybrid_array< T, RES >::hybrid_array(), and scopira::tool::hybrid_array< T, RES >::operator=().
|
inline |
Raw access to the array
|
inline |
Is the array empty (0 length)?
|
inline |
STL-like iteration
|
inline |
Individual element setter
|
inline |
Nice reference access
|
inline |
Gets the size of the array
Referenced by scopira::tool::hybrid_array< T, RES >::hybrid_array(), and scopira::tool::hybrid_array< T, RES >::operator=().