MADNESS
version 0.9
|
Array idential to C++0X arrays. More...
#include <stdarray_bits.h>
Public Types | |
enum | { static_size = N } |
typedef T | value_type |
typedef T * | iterator |
typedef const T * | const_iterator |
typedef T & | reference |
typedef const T & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef std::reverse_iterator < iterator > | reverse_iterator |
typedef std::reverse_iterator < const_iterator > | const_reverse_iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
reference | at (size_type i) |
const_reference | at (size_type i) const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | swap (array< T, N > &y) |
const T * | data () const |
T * | data () |
template<typename T2 > | |
array< T, N > & | operator= (const array< T2, N > &rhs) |
void | assign (const T &value) |
Static Public Member Functions | |
static size_type | size () |
static bool | empty () |
static size_type | max_size () |
Public Attributes | |
T | elems [N] |
Array idential to C++0X arrays.
typedef const T* madness::tr1::array::array< T, N >::const_iterator |
typedef const T& madness::tr1::array::array< T, N >::const_reference |
typedef std::reverse_iterator<const_iterator> madness::tr1::array::array< T, N >::const_reverse_iterator |
typedef std::ptrdiff_t madness::tr1::array::array< T, N >::difference_type |
typedef T* madness::tr1::array::array< T, N >::iterator |
typedef T& madness::tr1::array::array< T, N >::reference |
typedef std::reverse_iterator<iterator> madness::tr1::array::array< T, N >::reverse_iterator |
typedef std::size_t madness::tr1::array::array< T, N >::size_type |
typedef T madness::tr1::array::array< T, N >::value_type |
|
inline |
Referenced by madness::Vector< int, 3 >::fill().
|
inline |
Referenced by madness::Vector< int, 3 >::at().
|
inline |
|
inline |
Referenced by madness::Vector< int, 3 >::back().
|
inline |
|
inline |
Referenced by madness::tr1::array::array< real_tensor, 118 >::assign(), madness::Vector< int, 3 >::begin(), madness::ConvolutionND< Q, NDIM >::ConvolutionND(), madness::archive::ArchiveLoadImpl< Archive, std::array< T, N > >::load(), madness::tr1::array::array< real_tensor, 118 >::operator=(), madness::Vector< int, 3 >::operator=(), madness::tr1::array::operator==(), madness::tr1::array::array< real_tensor, 118 >::rend(), madness::tr1::array::array< T, 0 >::rend(), madness::archive::ArchiveStoreImpl< Archive, std::array< T, N > >::store(), madness::tr1::array::array< real_tensor, 118 >::swap(), and madness::Vector< int, 3 >::Vector().
|
inline |
|
inline |
Referenced by madness::Vector< int, 3 >::c_array(), madness::Vector< int, 3 >::data(), and madness::hash_value().
|
inline |
|
inlinestatic |
Referenced by madness::Vector< int, 3 >::empty().
|
inline |
Referenced by madness::ConvolutionND< Q, NDIM >::ConvolutionND(), madness::Vector< int, 3 >::end(), madness::archive::ArchiveLoadImpl< Archive, std::array< T, N > >::load(), madness::tr1::array::array< real_tensor, 118 >::operator=(), madness::tr1::array::operator==(), madness::tr1::array::array< real_tensor, 118 >::rbegin(), madness::tr1::array::array< T, 0 >::rbegin(), madness::archive::ArchiveStoreImpl< Archive, std::array< T, N > >::store(), and madness::tr1::array::array< real_tensor, 118 >::swap().
|
inline |
|
inline |
Referenced by madness::Vector< int, 3 >::front().
|
inline |
|
inlinestatic |
Referenced by madness::Vector< int, 3 >::max_size().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by madness::Vector< int, 3 >::rbegin().
|
inline |
|
inline |
Referenced by madness::Vector< int, 3 >::rend().
|
inline |
|
inlinestatic |
|
inline |
Referenced by madness::tr1::array::swap(), and madness::Vector< int, 3 >::swap().
T madness::tr1::array::array< T, N >::elems[N] |