Dune::FixedArray< T, N > Class Template Reference
[Common]
#include <fixedarray.hh>
Detailed Description
template<class T, int N>
class Dune::FixedArray< T, N >
Simple fixed size array class.
- Deprecated:
- Replaced by array
Public Types | |
enum | |
enum | |
Know your own length. | |
typedef T | MemberType |
Remember the storage type. | |
Public Member Functions | |
FixedArray () | |
Create uninitialized array. | |
FixedArray (T t) DUNE_DEPRECATED | |
Initialize all components with same size. | |
int | size () const |
Return array size. | |
FixedArray< T, N > & | operator= (const T &t) DUNE_DEPRECATED |
Assign value to all entries. | |
void | assign (const T &t) |
Assign value to all entries. | |
T & | operator[] (int i) |
Component access. | |
const T & | operator[] (int i) const |
Const component access. | |
FixedArray< T, N-1 > | shrink (int comp) |
FixedArray< T, N+1 > | expand (int comp, T value) |
Member Enumeration Documentation
template<class T, int N>
anonymous enum |
The actual number of elements that gets allocated. It's always at least 1.
Member Function Documentation
template<class T, int N>
FixedArray<T,N>& Dune::FixedArray< T, N >::operator= | ( | const T & | t | ) | [inline] |
template<class T, int N>
FixedArray<T,N-1> Dune::FixedArray< T, N >::shrink | ( | int | comp | ) | [inline] |
- Todo:
- Please doc me!
template<class T, int N>
FixedArray<T,N+1> Dune::FixedArray< T, N >::expand | ( | int | comp, | |
T | value | |||
) | [inline] |
- Todo:
- Please doc me!
The documentation for this class was generated from the following file: