PPL Logo

ReadonlyInfo Class Reference
[CkRegister]

Describes a readonly global variable. More...

#include <register.h>

Collaboration diagram for ReadonlyInfo:

Collaboration graph
[legend]

Public Member Functions

void pupData (PUP::er &p)
 Pup this global variable.
 ReadonlyInfo (const char *n, const char *t, int s, void *p, CkPupReadonlyFnPtr pf)

Data Fields

const char * name
 Human-readable string name of variable (e.g., "nElements") and type (e.g., "int").
const char * type
int size
 Size in bytes of basic value.
void * ptr
 Address of basic value.
CkPupReadonlyFnPtr pup
 Pup routine for value, or NULL if no pup available.

Detailed Description

Describes a readonly global variable.

Definition at line 199 of file register.h.


Constructor & Destructor Documentation

ReadonlyInfo::ReadonlyInfo ( const char *  n,
const char *  t,
int  s,
void *  p,
CkPupReadonlyFnPtr  pf 
) [inline]

Definition at line 217 of file register.h.


Member Function Documentation

void ReadonlyInfo::pupData ( PUP::er p  )  [inline]

Pup this global variable.

Definition at line 211 of file register.h.

References p, ptr, pup, and size.


Field Documentation

const char* ReadonlyInfo::name

Human-readable string name of variable (e.g., "nElements") and type (e.g., "int").

Definition at line 202 of file register.h.

const char * ReadonlyInfo::type

Definition at line 202 of file register.h.

Size in bytes of basic value.

Definition at line 204 of file register.h.

Referenced by pupData(), and pupReadonly().

Address of basic value.

Definition at line 206 of file register.h.

Referenced by pupData(), and pupReadonly().

Pup routine for value, or NULL if no pup available.

Definition at line 208 of file register.h.

Referenced by pupData().


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

Generated on Fri May 25 08:05:03 2012 for Charm++ by  doxygen 1.5.5