DUECA/DUSIME
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dueca::DUECALogStatus Struct Reference

Status feedback for hdf logging. More...

#include <DUECALogStatus.hxx>

Public Types

typedef DUECALogStatus __ThisDCOType__
 typedef for internal reference
 

Public Member Functions

 DUECALogStatus ()
 default constructor.
 
 DUECALogStatus (const vstring &status, const bool &error)
 Constructor with arguments.
 
 DUECALogStatus (const DUECALogStatus &o)
 copy constructor.
 
 DUECALogStatus (::dueca::AmorphReStore &r)
 constructor to restore an DUECALogStatus from amorphous storage.
 
 ~DUECALogStatus ()
 destructor.
 
void packData (::dueca::AmorphStore &s) const
 packs the DUECALogStatus into amorphous storage.
 
void packDataDiff (::dueca::AmorphStore &s, const DUECALogStatus &ref) const
 packs the DUECALogStatus into amorphous storage.
 
void unPackData (::dueca::AmorphReStore &s)
 unpacks the DUECALogStatus from an amorphous storage.
 
void unPackDataDiff (::dueca::AmorphReStore &s)
 unpacks the differences for DUECALogStatus from an amorphous storage.
 
bool operator== (const DUECALogStatus &o) const
 Test for equality.
 
bool operator!= (const DUECALogStatus &o) const
 Test for inequality.
 
DUECALogStatusoperator= (const DUECALogStatus &o)
 Assignment operator.
 
std::ostream & print (std::ostream &s) const
 prints the DUECALogStatus to a stream.
 

Static Public Member Functions

static voidoperator new (size_t size)
 new operator "new", which places objects not on a heap, but in one of the memory arenas.
 
static void operator delete (void *p)
 new operator "delete", to go with the new version of operator new.
 
static voidoperator new (size_t size, DUECALogStatus *&o)
 placement "new", needed for stl.
 

Public Attributes

vstring status
 Status report on a logging action.
 
bool error
 Error flag, indicating an error or problem.
 

Static Public Attributes

static const char *const classname
 The name of this class.
 
static const uint32_t magic_check_number
 a "magic" number, hashed out of the class definition, that will be used to check consistency of the sent objects across the dueca nodes.
 

Detailed Description

Status feedback for hdf logging.

Member Function Documentation

◆ operator new()

static void * dueca::DUECALogStatus::operator new ( size_t size)
static

new operator "new", which places objects not on a heap, but in one of the memory arenas.

This to speed up memory management.

◆ packDataDiff()

void dueca::DUECALogStatus::packDataDiff ( ::dueca::AmorphStore & s,
const DUECALogStatus & ref ) const

packs the DUECALogStatus into amorphous storage.

only differences with a previous object are packed.


The documentation for this struct was generated from the following file: