#include <fem_mesh.h>
Public Member Functions | |
AllocTable2d (int cols_=0, int rows_=0, T fill_=0) | |
~AllocTable2d () | |
void | allocate (int rows_) |
Make room for this many rows. | |
void | allocate (int cols_, int rows_, int max_=0) |
Make room for this many cols & rows. | |
void | pup (PUP::er &p) |
Pup routine and operator|:. | |
void | pupSingle (PUP::er &p, int pupindx) |
T * | push_back (void) |
Add a row to the table (by analogy with std::vector):. | |
void | register_data (T *user, int len, int max_) |
to support replacement of attribute data by user supplied data error checks have been performed at FEM_ATTRIB | |
AllocTable2d (int cols_=0, int rows_=0, T fill_=0) | |
default constructor | |
~AllocTable2d () | |
default destructor | |
void | allocate (int rows_) |
Make room for this many rows. | |
void | allocate (int cols_, int rows_, int max_=0) |
Make room for this many cols & rows. | |
void | pup (PUP::er &p) |
Pup routine and operator|:. | |
void | pupSingle (PUP::er &p, int pupindx) |
Pup only one element which is at index 'pupindx' in the table. | |
T * | push_back (void) |
Add a row to the table (by analogy with std::vector):. | |
void | register_data (T *user, int len, int max) |
to support replacement of attribute data by user supplied data error checks have been performed at FEM_ATTRIB | |
Private Attributes | |
int | max |
Maximum number of rows that can be used without reallocation. | |
T | fill |
Value to fill uninitialized regions with. | |
T * | allocTable |
T * | allocTable |
the table that I allocated | |
Friends | |
void | operator| (PUP::er &p, AllocTable2d< T > &t) |
void | operator| (PUP::er &p, AllocTable2d< T > &t) |
To be stored here, T must not require a copy constructor.
A heap-allocatable, resizable BasicTable2d. To be stored here, T must not require a copy constructor.
Definition at line 202 of file fem_mesh.h.
AllocTable2d< T >::AllocTable2d | ( | int | cols_ = 0 , |
|
int | rows_ = 0 , |
|||
T | fill_ = 0 | |||
) | [inline] |
Definition at line 207 of file fem_mesh.h.
AllocTable2d< T >::~AllocTable2d | ( | ) | [inline] |
Definition at line 212 of file fem_mesh.h.
AllocTable2d< T >::AllocTable2d | ( | int | cols_ = 0 , |
|
int | rows_ = 0 , |
|||
T | fill_ = 0 | |||
) | [inline] |
AllocTable2d< T >::~AllocTable2d | ( | ) | [inline] |
void AllocTable2d< T >::allocate | ( | int | rows_ | ) | [inline] |
Make room for this many rows.
Definition at line 214 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), AllocTable2d< unsigned char >::AllocTable2d(), allocTablePtr(), AllocTable2d< unsigned char >::pup(), and AllocTable2d< unsigned char >::push_back().
void AllocTable2d< T >::allocate | ( | int | cols_, | |
int | rows_, | |||
int | max_ = 0 | |||
) | [inline] |
void AllocTable2d< T >::pup | ( | PUP::er & | p | ) | [inline] |
void AllocTable2d< T >::pupSingle | ( | PUP::er & | p, | |
int | pupindx | |||
) | [inline] |
Definition at line 257 of file fem_mesh.h.
T* AllocTable2d< T >::push_back | ( | void | ) | [inline] |
void AllocTable2d< T >::register_data | ( | T * | user, | |
int | len, | |||
int | max_ | |||
) | [inline] |
to support replacement of attribute data by user supplied data error checks have been performed at FEM_ATTRIB
Definition at line 278 of file fem_mesh.h.
void AllocTable2d< T >::allocate | ( | int | rows_ | ) | [inline] |
void AllocTable2d< T >::allocate | ( | int | cols_, | |
int | rows_, | |||
int | max_ = 0 | |||
) | [inline] |
void AllocTable2d< T >::pup | ( | PUP::er & | p | ) | [inline] |
void AllocTable2d< T >::pupSingle | ( | PUP::er & | p, | |
int | pupindx | |||
) | [inline] |
Pup only one element which is at index 'pupindx' in the table.
Definition at line 332 of file ParFUM_internals.h.
T* AllocTable2d< T >::push_back | ( | void | ) | [inline] |
Add a row to the table (by analogy with std::vector):.
Definition at line 342 of file ParFUM_internals.h.
void AllocTable2d< T >::register_data | ( | T * | user, | |
int | len, | |||
int | max | |||
) | [inline] |
to support replacement of attribute data by user supplied data error checks have been performed at FEM_ATTRIB
Definition at line 355 of file ParFUM_internals.h.
void operator| | ( | PUP::er & | p, | |
AllocTable2d< T > & | t | |||
) | [friend] |
Definition at line 261 of file fem_mesh.h.
void operator| | ( | PUP::er & | p, | |
AllocTable2d< T > & | t | |||
) | [friend] |
Definition at line 339 of file ParFUM_internals.h.
int AllocTable2d< T >::max [private] |
Maximum number of rows that can be used without reallocation.
Definition at line 203 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), AllocTable2d< unsigned char >::push_back(), and AllocTable2d< unsigned char >::register_data().
T AllocTable2d< T >::fill [private] |
Value to fill uninitialized regions with.
Definition at line 204 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate().
T* AllocTable2d< T >::allocTable [private] |
Definition at line 205 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), AllocTable2d< unsigned char >::AllocTable2d(), AllocTable2d< unsigned char >::register_data(), and AllocTable2d< unsigned char >::~AllocTable2d().
T* AllocTable2d< T >::allocTable [private] |