GemaCoreLib
The GeMA Core library
Classes | Typedefs | Enumerations
gmStateDumpItem.h File Reference

Declaration of the GmStateDumpBaseDataItem and basic derived classes. More...

#include "gmMemoryDump.h"
#include "gmVector.h"
#include "gmMatrix.h"
#include "gmSingleVector.h"
#include "gmDualVector.h"
Include dependency graph for gmStateDumpItem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GmGroupDumpItem
 A basic interface used for creating dump items for objects that can be dumped by a composition of multiple individual dump items. More...
 
class  GmStateDumpBaseDataItem
 Ensure that all dump items stored by GmStateDump have an id() and a logger. More...
 
class  GmStateDumpFunctionMapDataItem
 Class responsible for storing a table mapping function pointers (either an user function or a function evaluator) to function ids. More...
 
class  GmStateDumpValueSetDataItem
 A GmMemoryDumpItem implementation loading / storing values from the GmValueSetData object associated with the given accessor, by directly reading / writing from its internal buffer. The accessor MUST inherit from GmTrackedValueAccessor and the value set data object MUST implement the dumpBuffer() interface (unless it is a GmDefValueValueSetData object). More...
 
class  GmStateDumpArmaDataItem< T >
 Class responsible for storing either a GmVector / GmMatrix object. More...
 
class  GmStateDumpVectorDataItem
 Class responsible for storing a GmVector object. More...
 
class  GmStateDumpMatrixDataItem
 Class responsible for storing a GmMatrix object. More...
 
class  GmStateDumpBufferDataItem
 Class responsible for storing one or more user buffer objects. More...
 
class  GmStateDumpBufferDataItem::BufferData
 Helper structure to store a tuple (buffer ptr, size ptr, size multiplier) More...
 
class  GmStateDumpSDVectorDataItem< Vector >
 Class responsible for storing a GmSingleVector or a GmDualVector. More...
 
class  GmStateDumpSplitIntVecDataItem
 Class responsible for storing the contents provided by a list of int vectors, each with its own size, possibly empty. The list size can also change over time. More...
 
class  GmStateDumpMapDataItem< K, V >
 Class responsible for storing a QMap of values. Usefull for storing generic sets of "scalar" attributes. More...
 
class  GmStateDumpVariantMapDataItem
 Class responsible for a QVariantMap of values. Usefull for storing generic sets of "scalar" attributes. More...
 
class  GmStateDumpFileItem
 Class responsible for storing the needed data to rollback an "append only" file to a previous state. More...
 
class  GmStateDumpLuaDataItem
 Class responsible for storing Lua global / local values. More...
 

Typedefs

typedef GmStateDumpSDVectorDataItem< GmSingleVector< int > > GmStateDumpSingleVectorIntDataItem
 A GmStateDumpSDVectorDataItem for a GmSingleVector<int>
 
typedef GmStateDumpSDVectorDataItem< GmDualVector< int > > GmStateDumpDualVectorIntDataItem
 A GmStateDumpSDVectorDataItem for a GmDualVector<int>
 

Enumerations

enum  GmStateDumpItemTypes {
  GM_AC_DUMP_ITEM = 0x01000000, GM_FUNCTIONMAP_DUMP_ITEM = 0x02000000, GM_VECTOR_DUMP_ITEM = 0x03000000, GM_MATRIX_DUMP_ITEM = 0x04000000,
  GM_BUFFER_DUMP_ITEM = 0x05000000, GM_MAP_DUMP_ITEM = 0x06000000, GM_LUA_DUMP_ITEM = 0x07000000, GM_FILE_DUMP_ITEM = 0x08000000,
  GM_MESH_DUMP_ITEM = 0x09000000, GM_BC_DUMP_ITEM = 0x0A000000, GM_SPLITINTVEC_DUMP_ITEM = 0x0B000000, GM_SDVECTOR_DUMP_ITEM = 0x0C000000,
  GM_DUMP_ITEM_MASK = 0xFF000000
}
 The set of possible Dump item types formed by an or of the Base type given by this enumeration with lower bits provided according to the implementation. For accessors, the lower bits encode the accessor type, the data type and the dimension type. More...
 

Detailed Description

Declaration of the GmStateDumpBaseDataItem and basic derived classes.

Author
Carlos A. T. Mendes
Date
august, 2020

Enumeration Type Documentation

◆ GmStateDumpItemTypes

The set of possible Dump item types formed by an or of the Base type given by this enumeration with lower bits provided according to the implementation. For accessors, the lower bits encode the accessor type, the data type and the dimension type.

Enumerator
GM_AC_DUMP_ITEM 

Dump item for accessor values.

GM_FUNCTIONMAP_DUMP_ITEM 

Dump item for mapping function pointers to function names.

GM_VECTOR_DUMP_ITEM 

Dump item for GmVector values.

GM_MATRIX_DUMP_ITEM 

Dump item for GmMatrix values.

GM_BUFFER_DUMP_ITEM 

Dump item for multiple user buffers.

GM_MAP_DUMP_ITEM 

Dump item for a QMap.

GM_LUA_DUMP_ITEM 

Dump item for Lua global/local variables.

GM_FILE_DUMP_ITEM 

Dump item for "Append only" files.

GM_MESH_DUMP_ITEM 

Dump item for mesh objects.

GM_BC_DUMP_ITEM 

Dump item for Boundary condition objects.

GM_SPLITINTVEC_DUMP_ITEM 

Dump item for a list of int vectors.

GM_SDVECTOR_DUMP_ITEM 

Dump item for a GmSingleVector or a GmDualVector.

GM_DUMP_ITEM_MASK 

Mask for the high bits defining the basic dump item type.