ViennaGrid - The Vienna Grid Library
2.1.0
|
Reimplementation of std::array<> because we cannot reasonably expect that C++11 is available on all target machines. More...
#include <static_array.hpp>
Data Structures | |
class | const_iterator |
class | iterator |
Public Types | |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef std::reverse_iterator < const_iterator > | const_reverse_iterator |
typedef std::ptrdiff_t | difference_type |
typedef T * | pointer |
typedef T & | reference |
typedef std::reverse_iterator < iterator > | reverse_iterator |
typedef std::size_t | size_type |
typedef T | value_type |
Public Member Functions | |
void | assign (const T &value) |
reference | at (size_type i) |
const_reference | at (size_type i) const |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
T * | c_array () |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
const T * | data () const |
T * | data () |
iterator | end () |
const_iterator | end () const |
void | fill (const T &value) |
reference | front () |
const_reference | front () const |
template<typename T2 > | |
static_array< T, N > & | operator= (const static_array< T2, N > &rhs) |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
static_array () | |
void | swap (static_array< T, N > &y) |
Static Public Member Functions | |
static bool | empty () |
static size_type | max_size () |
static void | resize (size_type s) |
static size_type | size () |
Static Public Attributes | |
static const int | static_size = N |
Reimplementation of std::array<> because we cannot reasonably expect that C++11 is available on all target machines.
typedef const T* const_pointer |
typedef const T& const_reference |
typedef std::reverse_iterator<const_iterator> const_reverse_iterator |
typedef std::ptrdiff_t difference_type |
typedef T* pointer |
typedef T& reference |
typedef std::reverse_iterator<iterator> reverse_iterator |
typedef std::size_t size_type |
Reimplemented in spatial_point< CoordType, CoordinateSystem >.
typedef T value_type |
Reimplemented in spatial_point< CoordType, CoordinateSystem >.
static_array | ( | ) | [inline] |
void assign | ( | const T & | value | ) | [inline] |
const_reference at | ( | size_type | i | ) | const [inline] |
const_reference back | ( | ) | const [inline] |
const_iterator begin | ( | ) | const [inline] |
T* c_array | ( | ) | [inline] |
const_iterator cbegin | ( | ) | const [inline] |
const_iterator cend | ( | ) | const [inline] |
const_reverse_iterator crbegin | ( | ) | const [inline] |
const_reverse_iterator crend | ( | ) | const [inline] |
const T* data | ( | ) | const [inline] |
T* data | ( | ) | [inline] |
static bool empty | ( | ) | [inline, static] |
const_iterator end | ( | ) | const [inline] |
void fill | ( | const T & | value | ) | [inline] |
const_reference front | ( | ) | const [inline] |
static_array<T,N>& operator= | ( | const static_array< T2, N > & | rhs | ) | [inline] |
const_reference operator[] | ( | size_type | i | ) | const [inline] |
reverse_iterator rbegin | ( | ) | [inline] |
const_reverse_iterator rbegin | ( | ) | const [inline] |
reverse_iterator rend | ( | ) | [inline] |
const_reverse_iterator rend | ( | ) | const [inline] |
void swap | ( | static_array< T, N > & | y | ) | [inline] |
const int static_size = N [static] |