Chombo + EB + MF
3.2
|
Ordered Tuples for Types T. More...
#include <Tuple.H>
Public Member Functions | |
Tuple () | |
Tuple (const Tuple &rhs) | |
Tuple & | operator= (const Tuple &rhs) |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
operator const T * () const | |
Protected Attributes | |
T | vect [N] |
Ordered Tuples for Types T.
This class represents ordered tuples of some user-specified concrete type T for N > 0. The type T must have a default constructor. If the non-default constructor, copy constructor, or copy assignment operator are used, T must also have a copy constructor.
: Returns a modifiable lvalue reference to the i'th element in the Tuple, counting from zero. Performs range checking when the library is compiled in debug mode.
: Returns a constant reference to the i'th element in the Tuple, counting from zero. Performs range checking when the library is compiled in debug mode.
: Returns the address of the underlying vector of T representation. This should ONLY be used when interfacing to Fortran as it breaks the encapsulation of the class.