PPL Logo

ChareInfo Class Reference
[CkRegister]

Represents a class of Chares (or array or group elements). More...

#include <register.h>

Collaboration diagram for ChareInfo:

Collaboration graph
[legend]

Public Member Functions

 ChareInfo (const char *n, int s, ChareType t)
void setDefaultCtor (int idx)
int getDefaultCtor (void)
void setMigCtor (int idx)
int getMigCtor (void)
void addBase (int idx)
void setInCharm ()
CmiBool isInCharm ()
void setMainChareType (int idx)
int mainChareType ()

Data Fields

const char * name
 Human-readable name of the chare class, like "MyFoo".
int 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.
int isIrr
 For groups -- 1 if the group is Irreducible.
ChareType chareType
 chare type
CmiBool inCharm
 true if this EP is charm internal functions
int mainChareIdx

Detailed Description

Represents a class of Chares (or array or group elements).

It is always stored in the _chareTable.

Definition at line 142 of file register.h.


Constructor & Destructor Documentation

ChareInfo::ChareInfo ( const char *  n,
int  s,
ChareType  t 
) [inline]

Definition at line 167 of file register.h.

References chareType, CmiFalse, defCtor, inCharm, isIrr, mainChareIdx, migCtor, and numbases.


Member Function Documentation

void ChareInfo::setDefaultCtor ( int  idx  )  [inline]

Definition at line 174 of file register.h.

References defCtor.

int ChareInfo::getDefaultCtor ( void   )  [inline]

Definition at line 175 of file register.h.

References defCtor.

void ChareInfo::setMigCtor ( int  idx  )  [inline]

Definition at line 176 of file register.h.

References migCtor.

int ChareInfo::getMigCtor ( void   )  [inline]

Definition at line 177 of file register.h.

References migCtor.

Referenced by CkPupMainChareData().

void ChareInfo::addBase ( int  idx  )  [inline]

Definition at line 178 of file register.h.

References bases, and numbases.

void ChareInfo::setInCharm (  )  [inline]

Definition at line 179 of file register.h.

References CmiTrue, and inCharm.

CmiBool ChareInfo::isInCharm (  )  [inline]

Definition at line 180 of file register.h.

References inCharm.

void ChareInfo::setMainChareType ( int  idx  )  [inline]

Definition at line 181 of file register.h.

References mainChareIdx.

int ChareInfo::mainChareType (  )  [inline]

Definition at line 182 of file register.h.

References mainChareIdx.


Field Documentation

const char* ChareInfo::name

Human-readable name of the chare class, like "MyFoo".

Definition at line 145 of file register.h.

Referenced by CkPrintChareName(), and CkPupMainChareData().

Size, in bytes, of the body of the chare.

Definition at line 147 of file register.h.

Referenced by CkPupMainChareData().

Constructor epIdx: default constructor and migration constructor (or -1 if none).

Definition at line 150 of file register.h.

Referenced by ChareInfo(), getDefaultCtor(), and setDefaultCtor().

Definition at line 150 of file register.h.

Referenced by ChareInfo(), getMigCtor(), and setMigCtor().

Number of base classes:.

Definition at line 152 of file register.h.

Referenced by addBase(), ChareInfo(), and pupChare().

chareIdx of each base class.

Definition at line 154 of file register.h.

Referenced by addBase(), and pupChare().

For groups -- 1 if the group is Irreducible.

Definition at line 157 of file register.h.

Referenced by ChareInfo().

chare type

Definition at line 160 of file register.h.

Referenced by ChareInfo().

true if this EP is charm internal functions

Definition at line 163 of file register.h.

Referenced by ChareInfo(), isInCharm(), and setInCharm().

Definition at line 165 of file register.h.

Referenced by ChareInfo(), mainChareType(), and setMainChareType().


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

Generated on Thu May 24 07:56:48 2012 for Charm++ by  doxygen 1.5.5