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, size_t s, void *p, CkPupReadonlyFnPtr pf)

Data Fields

size_t 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.
const char * name
 Human-readable string name of variable (e.g., "nElements") and type (e.g., "int").
const char * type

Detailed Description

Describes a readonly global variable.

Definition at line 252 of file register.h.


Constructor & Destructor Documentation

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

Definition at line 270 of file register.h.


Member Function Documentation

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

Pup this global variable.

Definition at line 264 of file register.h.

References p, ptr, pup, and size.


Field Documentation

Size in bytes of basic value.

Definition at line 255 of file register.h.

Referenced by pupData(), and pupReadonly().

Address of basic value.

Definition at line 257 of file register.h.

Referenced by pupData(), and pupReadonly().

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

Definition at line 259 of file register.h.

Referenced by pupData().

const char* ReadonlyInfo::name

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

Definition at line 261 of file register.h.

const char * ReadonlyInfo::type

Definition at line 261 of file register.h.


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

Generated on Mon Sep 21 08:29:21 2020 for Charm++ by  doxygen 1.5.5