#include <idxl_layout.h>
Public Member Functions | |
IDXL_Layout_List () | |
void | pup (PUP::er &p) |
~IDXL_Layout_List () | |
void | check (IDXL_Layout_t l, const char *callingRoutine) const |
If this isn't a valid, allocated layout, abort. | |
IDXL_Layout_t | put (const IDXL_Layout &dt) |
Insert a new layout. | |
const IDXL_Layout & | get (IDXL_Layout_t l, const char *callingRoutine) const |
Look up an old layout. | |
void | destroy (IDXL_Layout_t l, const char *callingRoutine) |
Free this old layout. | |
void | empty (void) |
Clear all stored layouts:. | |
Static Public Member Functions | |
static IDXL_Layout_List & | get (void) |
Get the currently active layout list. | |
Private Types | |
enum | { FIRST_DT = IDXL_FIRST_IDXL_LAYOUT_T, MAX_DT = 20 } |
Private Member Functions | |
void | badLayout (IDXL_Layout_t l, const char *callingRoutine) const |
Private Attributes | |
IDXL_Layout * | list [MAX_DT] |
Definition at line 102 of file idxl_layout.h.
anonymous enum [private] |
IDXL_Layout_List::IDXL_Layout_List | ( | ) |
IDXL_Layout_List::~IDXL_Layout_List | ( | ) |
Definition at line 304 of file idxl_layout.C.
References empty().
void IDXL_Layout_List::badLayout | ( | IDXL_Layout_t | l, | |
const char * | callingRoutine | |||
) | const [private] |
Definition at line 286 of file idxl_layout.C.
References IDXL_Abort().
Referenced by check().
void IDXL_Layout_List::pup | ( | PUP::er & | p | ) |
void IDXL_Layout_List::check | ( | IDXL_Layout_t | l, | |
const char * | callingRoutine | |||
) | const [inline] |
If this isn't a valid, allocated layout, abort.
Definition at line 112 of file idxl_layout.h.
References badLayout(), FIRST_DT, list, and MAX_DT.
Referenced by destroy(), and get().
IDXL_Layout_t IDXL_Layout_List::put | ( | const IDXL_Layout & | dt | ) |
Insert a new layout.
Definition at line 316 of file idxl_layout.C.
References FIRST_DT, IDXL_Abort(), list, and MAX_DT.
const IDXL_Layout& IDXL_Layout_List::get | ( | IDXL_Layout_t | l, | |
const char * | callingRoutine | |||
) | const [inline] |
void IDXL_Layout_List::destroy | ( | IDXL_Layout_t | l, | |
const char * | callingRoutine | |||
) |
Free this old layout.
Definition at line 326 of file idxl_layout.C.
References check(), FIRST_DT, and list.
void IDXL_Layout_List::empty | ( | void | ) |
Clear all stored layouts:.
Definition at line 308 of file idxl_layout.C.
Referenced by ~IDXL_Layout_List().
IDXL_Layout_List & IDXL_Layout_List::get | ( | void | ) | [static] |
Get the currently active layout list.
Definition at line 173 of file idxl.C.
References IDXL_Chunk::get(), and IDXL_Chunk::layouts.
Referenced by FEM_Mesh_data_layoutP().
IDXL_Layout* IDXL_Layout_List::list[MAX_DT] [private] |
Definition at line 104 of file idxl_layout.h.
Referenced by check(), destroy(), empty(), get(), IDXL_Layout_List(), pup(), and put().