MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <Dinfo.h>
Public Member Functions | |
unsigned int | size () const |
unsigned int | sizeIncrement () const |
![]() | |
char * | allocData (unsigned int numData) const |
void | assignData (char *data, unsigned int copyEntries, const char *orig, unsigned int origEntries) const |
char * | copyData (const char *orig, unsigned int origEntries, unsigned int copyEntries, unsigned int startEntry) const |
void | destroyData (char *d) const |
Dinfo () | |
Dinfo (bool isOneZombie) | |
bool | isA (const DinfoBase *other) const |
![]() | |
DinfoBase () | |
DinfoBase (bool isOneZombie) | |
bool | isOneZombie () const |
virtual | ~DinfoBase () |
|
inlinevirtual |
|
inlinevirtual |
This little hack is used for lookups of a data entry in an array. Normally sizeIncrement is identical to size. However, if it is a OneZombie then we always need to return the original pointer, so here sizeIncrement becomes zero.
Reimplemented from Dinfo< D >.