OpenAtom  Version1.5a
array2d< T > Class Template Reference

== Regular rectangular 2D array More...

#include <util.h>

Public Member Functions

 array2d (const size2d &sz)
 
void zero (void)
 
const size2dgetSize (void) const
 
T * getData (void) const
 
T & operator[] (const size2d &at)
 
const T & operator[] (const size2d &at) const
 
T & operator() (int i, int j)
 
const T & operator() (int i, int j) const
 
void pup (PUP::er &p)
 

Public Attributes

T * data
 

Private Member Functions

void allocate (void)
 
void destroy (void)
 
 array2d (const array2d &a)
 
void operator= (const array2d &a)
 

Private Attributes

size2d size
 

Detailed Description

template<class T>
class array2d< T >

== Regular rectangular 2D array

Definition at line 94 of file util.h.


The documentation for this class was generated from the following file: