#include <register.h>
Public Member Functions | |
ChareInfo (const char *n, size_t s, ChareType t) | |
void | setDefaultCtor (int idx) |
int | getDefaultCtor (void) |
void | setMigCtor (int idx) |
int | getMigCtor (void) |
void | addBase (int idx) |
void | setInCharm () |
bool | isInCharm () |
void | setMainChareType (int idx) |
int | mainChareType () |
Data Fields | |
const char * | name |
Human-readable name of the chare class, like "MyFoo". | |
size_t | size |
Size, in bytes, of the body of the chare. | |
int | defCtor |
Constructor epIdx: default constructor and migration constructor (or -1 if none). | |
int | migCtor |
int | numbases |
Number of base classes:. | |
int | bases [16] |
chareIdx of each base class. | |
ChareType | chareType |
chare type | |
int | mainChareIdx |
int | ndims |
Number of dimensions for chare arrays (-1 if not an array, 0 is invalid). | |
bool | isIrr |
For groups -- true if the group is Irreducible. | |
bool | inCharm |
true if this EP is charm internal functions |
It is always stored in the _chareTable.
Definition at line 187 of file register.h.
Definition at line 214 of file register.h.
References chareType, defCtor, inCharm, isIrr, mainChareIdx, migCtor, ndims, and numbases.
void ChareInfo::setDefaultCtor | ( | int | idx | ) | [inline] |
int ChareInfo::getDefaultCtor | ( | void | ) | [inline] |
void ChareInfo::setMigCtor | ( | int | idx | ) | [inline] |
int ChareInfo::getMigCtor | ( | void | ) | [inline] |
Definition at line 226 of file register.h.
References migCtor.
Referenced by CkPupMainChareData().
void ChareInfo::addBase | ( | int | idx | ) | [inline] |
void ChareInfo::setInCharm | ( | ) | [inline] |
bool ChareInfo::isInCharm | ( | ) | [inline] |
void ChareInfo::setMainChareType | ( | int | idx | ) | [inline] |
int ChareInfo::mainChareType | ( | ) | [inline] |
const char* ChareInfo::name |
Human-readable name of the chare class, like "MyFoo".
Definition at line 190 of file register.h.
Referenced by CkPrintChareName(), and CkPupMainChareData().
Size, in bytes, of the body of the chare.
Definition at line 192 of file register.h.
Referenced by CkPupMainChareData().
Constructor epIdx: default constructor and migration constructor (or -1 if none).
Definition at line 195 of file register.h.
Referenced by ChareInfo(), getDefaultCtor(), and setDefaultCtor().
Definition at line 195 of file register.h.
Referenced by ChareInfo(), getMigCtor(), and setMigCtor().
Number of base classes:.
Definition at line 197 of file register.h.
Referenced by addBase(), ChareInfo(), and pupChare().
int ChareInfo::bases[16] |
chareIdx of each base class.
Definition at line 199 of file register.h.
Referenced by addBase(), and pupChare().
Definition at line 203 of file register.h.
Referenced by ChareInfo(), mainChareType(), and setMainChareType().
Number of dimensions for chare arrays (-1 if not an array, 0 is invalid).
Definition at line 206 of file register.h.
Referenced by ChareInfo().
For groups -- true if the group is Irreducible.
Definition at line 209 of file register.h.
Referenced by ChareInfo().
true if this EP is charm internal functions
Definition at line 212 of file register.h.
Referenced by ChareInfo(), isInCharm(), and setInCharm().