DUECA/DUSIME
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...

Public Types

typedef DUECALogStatus __ThisDCOType__
 typedef for internal reference
 

Public Member Functions

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

Static Public Member Functions

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

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. More...
 
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. More...
 

Detailed Description

Status feedback for hdf logging.

Constructor & Destructor Documentation

◆ DUECALogStatus() [1/3]

dueca::DUECALogStatus::DUECALogStatus ( )

default constructor.

◆ DUECALogStatus() [2/3]

dueca::DUECALogStatus::DUECALogStatus ( const DUECALogStatus o)

copy constructor.

◆ DUECALogStatus() [3/3]

dueca::DUECALogStatus::DUECALogStatus ( ::dueca::AmorphReStore r)

constructor to restore an DUECALogStatus from amorphous storage.

◆ ~DUECALogStatus()

dueca::DUECALogStatus::~DUECALogStatus ( )

destructor.

Member Function Documentation

◆ operator new() [1/2]

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.

◆ operator delete()

static void dueca::DUECALogStatus::operator delete ( void *  p)
static

new operator "delete", to go with the new version of operator new.

◆ operator new() [2/2]

static void* dueca::DUECALogStatus::operator new ( size_t  size,
DUECALogStatus *&  o 
)
inlinestatic

placement "new", needed for stl.

◆ packData()

void dueca::DUECALogStatus::packData ( ::dueca::AmorphStore s) const

packs the DUECALogStatus into amorphous storage.

◆ 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.

◆ unPackData()

void dueca::DUECALogStatus::unPackData ( ::dueca::AmorphReStore s)

unpacks the DUECALogStatus from an amorphous storage.

◆ unPackDataDiff()

void dueca::DUECALogStatus::unPackDataDiff ( ::dueca::AmorphReStore s)

unpacks the differences for DUECALogStatus from an amorphous storage.

◆ operator==()

bool dueca::DUECALogStatus::operator== ( const DUECALogStatus o) const

Test for equality.

◆ operator!=()

bool dueca::DUECALogStatus::operator!= ( const DUECALogStatus o) const
inline

Test for inequality.

◆ operator=()

DUECALogStatus& dueca::DUECALogStatus::operator= ( const DUECALogStatus o)

Assignment operator.

◆ print()

std::ostream& dueca::DUECALogStatus::print ( std::ostream &  s) const

prints the DUECALogStatus to a stream.

Member Data Documentation

◆ classname

const char* const dueca::DUECALogStatus::classname
static

The name of this class.

◆ magic_check_number

const uint32_t dueca::DUECALogStatus::magic_check_number
static

a "magic" number, hashed out of the class definition, that will be used to check consistency of the sent objects across the dueca nodes.


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