PPL Logo

IDXL_Layout_List Class Reference

Keeps a list of dynamically-allocated IDXL_Layout objects:. More...

#include <idxl_layout.h>

Collaboration diagram for IDXL_Layout_List:

Collaboration graph
[legend]

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_Layoutget (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_Listget (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_Layoutlist [MAX_DT]

Detailed Description

Keeps a list of dynamically-allocated IDXL_Layout objects:.

Definition at line 102 of file idxl_layout.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
FIRST_DT 
MAX_DT 

Definition at line 103 of file idxl_layout.h.


Constructor & Destructor Documentation

IDXL_Layout_List::IDXL_Layout_List (  ) 

Definition at line 291 of file idxl_layout.C.

References list, and MAX_DT.

IDXL_Layout_List::~IDXL_Layout_List (  ) 

Definition at line 304 of file idxl_layout.C.

References empty().

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void IDXL_Layout_List::pup ( PUP::er p  ) 

Definition at line 294 of file idxl_layout.C.

References list, and MAX_DT.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

const IDXL_Layout& IDXL_Layout_List::get ( IDXL_Layout_t  l,
const char *  callingRoutine 
) const [inline]

Look up an old layout.

Definition at line 121 of file idxl_layout.h.

References check(), FIRST_DT, PUP::l, and list.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void IDXL_Layout_List::empty ( void   ) 

Clear all stored layouts:.

Definition at line 308 of file idxl_layout.C.

References list, and MAX_DT.

Referenced by ~IDXL_Layout_List().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

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().


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

Generated on Mon Sep 21 08:25:51 2020 for Charm++ by  doxygen 1.5.5