Fixed size, dynamically allocated array.
#include <Array.h>
Public Member Functions | |
Array () | |
Array (const uint_t n, const T &t=T()) | |
Array (const std::vector< T > &vector) | |
Array (const Array &array) | |
~Array () | |
uint_t | size () const |
bool | empty () const |
bool | operator== (const Array &array) const |
bool | operator!= (const Array &array) const |
const T & | operator[] (const uint_t index) const |
T & | operator[] (const uint_t index) |
const T * | begin () const |
T * | begin () |
const T * | end () const |
T * | end () |
void | swap (Array &array) |
void | toStream (std::ostream &os) const |
std::string | toString () const |
Protected Attributes | |
T * | array_ |
uint_t | size_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void walberla::Array< T >::toStream | ( | std::ostream & | os | ) | const |
|
inline |
|
protected |
|
protected |