Safir SDK Core
|
STL-like fixed size array. More...
#include <Safir/Utilities/Array.h>
Public Types | |
typedef T * | ArrayPtr |
typedef T | value_type |
typedef ArrayPtr | iterator |
typedef const ArrayPtr | const_iterator |
typedef T & | reference |
typedef const T & | const_reference |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
Array (const size_t size) | |
~Array () | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
reference | operator[] (size_t i) |
const_reference | operator[] (size_t i) const |
size_type | size () const |
size_type | max_size () const |
STL-like fixed size array.
This type differs from boost::array in that the size is a constructor parameter (and not a template parameter).
typedef T* Safir::Utilities::Array< T >::ArrayPtr |
typedef const ArrayPtr Safir::Utilities::Array< T >::const_iterator |
typedef const T& Safir::Utilities::Array< T >::const_reference |
typedef ptrdiff_t Safir::Utilities::Array< T >::difference_type |
typedef ArrayPtr Safir::Utilities::Array< T >::iterator |
typedef T& Safir::Utilities::Array< T >::reference |
typedef size_t Safir::Utilities::Array< T >::size_type |
typedef T Safir::Utilities::Array< T >::value_type |
Safir::Utilities::Array< T >::Array | ( | const size_t | size | ) |
Safir::Utilities::Array< T >::~Array | ( | ) |
iterator Safir::Utilities::Array< T >::begin | ( | ) |
const_iterator Safir::Utilities::Array< T >::begin | ( | ) | const |
iterator Safir::Utilities::Array< T >::end | ( | ) |
size_type Safir::Utilities::Array< T >::max_size | ( | ) | const |
reference Safir::Utilities::Array< T >::operator[] | ( | size_t | i | ) |
const_reference Safir::Utilities::Array< T >::operator[] | ( | size_t | i | ) | const |
size_type Safir::Utilities::Array< T >::size | ( | ) | const |