#include <array.hpp>

Public Types | |
| enum | { IsStringLike } |
| typedef const ValueType * | const_iterator |
| typedef ValueType * | iterator |
| typedef Base::SizeType | SizeType |
| typedef StorageType< T >::Type | ValueType |
Public Member Functions | |
| ArrayImpl () | |
| ValueType & | at (SizeType pos) |
| const ValueType & | at (SizeType pos) const |
| ValueType & | back () |
| const ValueType & | back () const |
| ValueType * | begin () |
| const ValueType * | begin () const |
| const char * | c_str () const |
| ValueType * | end () |
| const ValueType * | end () const |
| ValueType & | front () |
| const ValueType & | front () const |
| template<typename R > | |
| bool | operator< (const R &rhs) const |
| ValueType & | operator[] (SizeType pos) |
| const ValueType & | operator[] (SizeType pos) const |
Protected Member Functions | |
| ~ArrayImpl () | |
Private Types | |
| typedef Select< ArrayMode==ArrayModeDynamic, DynamicArrayBase< MaxSize >, StaticArrayBase< MaxSize > >::Result | Base |
| typedef StorageType< T >::Type | BufferType[MaxSize+(IsStringLike ? 1 :0)] |
| typedef ArrayImpl< T, ArrayMode, MaxSize > | SelfType |
Private Member Functions | |
| template<typename U > | |
| EnableIf< sizeof(U(0) >=U())>::Type | initialize (int) |
| template<typename > | |
| void | initialize (...) |
Private Attributes | |
| BufferType | data_ |
Common functionality for both static and dynamic arrays. Static arrays are of fixed size; methods that can alter the size (e.g. push_back() and such) will fail to compile. Dynamic arrays contain a fixed-size buffer (it's size is enough to fit maximum number of elements) plus the currently allocated number of elements.
|
private |
|
private |
| typedef const ValueType* uavcan::ArrayImpl< T, ArrayMode, MaxSize >::const_iterator |
| typedef ValueType* uavcan::ArrayImpl< T, ArrayMode, MaxSize >::iterator |
|
private |
| typedef Base::SizeType uavcan::ArrayImpl< T, ArrayMode, MaxSize >::SizeType |
| typedef StorageType<T>::Type uavcan::ArrayImpl< T, ArrayMode, MaxSize >::ValueType |
| anonymous enum |
|
inlineprotected |
|
inline |
|
inline |
Range-checking subscript. If the index is out of range:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
private |