
Public Member Functions | |
| Table () | |
| Table (const unsigned int size) | |
| std::vector< T >::const_reference | operator[] (const unsigned int i) const |
| std::vector< T >::reference | operator[] (const unsigned int i) |
| std::vector< T >::const_reference | operator() (const unsigned int i) const |
| std::vector< T >::reference | operator() (const unsigned int i) |
| std::vector< T >::reference | operator() (const TableIndices< 1 > &indices) |
| std::vector< T >::const_reference | operator() (const TableIndices< 1 > &indices) const |
A class representing a one-dimensional table, i.e. a vector-like class. Since the C++ library has a vector class, there is probably not much need for this particular class, but since it is so simple to implement on top of the template base class, we provide it anyway.
For the rationale of this class, and a description of the interface, see the base class.
Definition at line 769 of file table.h.
Constructor. Pass down the given dimension to the base class.
| std::vector<T>::const_reference Table< 1, T >::operator[] | ( | const unsigned int | i ) | const |
Access operator. Since this is a one-dimensional object, this simply accesses the requested data element. Returns a read-only reference.
Access operator. Since this is a one-dimensional object, this simply accesses the requested data element. Returns a read-write reference.
| std::vector<T>::const_reference Table< 1, T >::operator() | ( | const unsigned int | i ) | const |
Access operator. Since this is a one-dimensional object, this simply accesses the requested data element. Returns a read-only reference.
Access operator. Since this is a one-dimensional object, this simply accesses the requested data element. Returns a read-write reference.
| std::vector<T>::reference Table< 1, T >::operator() | ( | const TableIndices< 1 > & | indices ) |
Make the corresponding operator () from the TableBase base class available also in this class.
| std::vector<T>::const_reference Table< 1, T >::operator() | ( | const TableIndices< 1 > & | indices ) | const |
Make the corresponding operator () from the TableBase base class available also in this class.
documentation generated on Fri Feb 3 2012 06:04:12 by
doxygen
1.7.2