|
MAIA bb96820c
Multiphysics at AIA
|
This class is a base class for all ScratchSpaces. More...
#include <scratch.h>
Public Member Functions | |
| ScratchSpaceBase (size_t num, size_t size, MString name, MString varname) | |
| Constructor. More... | |
| virtual MString | printSelfReport () const =0 |
| virtual MString | printSelf () const =0 |
Public Attributes | |
| const size_t | m_memsize |
| const size_t | m_memsizePadded |
| const MString | m_calling_function |
| const MString | m_variable_name |
| MInt | m_object_id {} |
| MBool | m_nonterminal |
| MBool | m_destroy |
Static Public Attributes | |
| static const uintptr_t | ALIGNMENT_BOUNDARY = MAIA_SCRATCH_ALIGNMENT_BOUNDARY |
This class is the base of all derived scratch space elements.
|
inline |
Sets the scratch space elements properties.
| [num] | num number of elements in array |
| [size] | size the size of the array in bytes |
| [name] | name the name of the calling function |
| [varname] | varname the name of the array variable |
Definition at line 208 of file scratch.h.
|
pure virtual |
Implemented in ScratchSpace< T >.
|
pure virtual |
Implemented in ScratchSpace< T >.
|
static |