#include <pup.h>
Public Member Functions | |
virtual void | comment (const char *message) |
A descriptive (but entirely optional) human-readable comment field. | |
virtual void | synchronize (unsigned int m) |
A 32-bit "synchronization marker" (not human readable). | |
Protected Member Functions | |
virtual char * | advance (char *cur)=0 |
toTextUtil (unsigned int inType, char *buf) | |
toTextUtil (const toTextUtil &p) | |
void | operator= (const toTextUtil &p) |
virtual void | bytes (void *p, size_t n, size_t itemSize, dataType t) |
virtual void | object (able **a) |
Private Member Functions | |
void | beginEnv (const char *type, int n=0) |
void | endEnv (const char *type) |
char * | beginLine (void) |
void | endLine (void) |
Private Attributes | |
char * | cur |
int | level |
Definition at line 519 of file pup.h.
PUP::toTextUtil::toTextUtil | ( | unsigned int | inType, | |
char * | buf | |||
) | [protected] |
PUP::toTextUtil::toTextUtil | ( | const toTextUtil & | p | ) | [protected] |
void PUP::toTextUtil::beginEnv | ( | const char * | type, | |
int | n = 0 | |||
) | [private] |
Definition at line 558 of file pup_util.C.
References beginLine(), endLine(), and level.
Referenced by bytes(), and object().
void PUP::toTextUtil::endEnv | ( | const char * | type | ) | [private] |
Definition at line 567 of file pup_util.C.
References beginLine(), endLine(), and level.
Referenced by bytes(), and object().
char * PUP::toTextUtil::beginLine | ( | void | ) | [private] |
Definition at line 549 of file pup_util.C.
Referenced by beginEnv(), bytes(), comment(), endEnv(), and synchronize().
void PUP::toTextUtil::endLine | ( | void | ) | [private] |
Definition at line 555 of file pup_util.C.
References advance(), and cur.
Referenced by beginEnv(), bytes(), comment(), endEnv(), and synchronize().
virtual char* PUP::toTextUtil::advance | ( | char * | cur | ) | [protected, pure virtual] |
Implemented in PUP::sizerText, and PUP::toText.
Referenced by endLine().
void PUP::toTextUtil::operator= | ( | const toTextUtil & | p | ) | [protected] |
void PUP::toTextUtil::comment | ( | const char * | message | ) | [virtual] |
A descriptive (but entirely optional) human-readable comment field.
Reimplemented from PUP::er.
Definition at line 580 of file pup_util.C.
References beginLine(), and endLine().
void PUP::toTextUtil::synchronize | ( | unsigned int | sync | ) | [virtual] |
A 32-bit "synchronization marker" (not human readable).
Some standard codes are listed under PUP::sync_....
Reimplemented from PUP::er.
Definition at line 585 of file pup_util.C.
References beginLine(), and endLine().
void PUP::toTextUtil::bytes | ( | void * | p, | |
size_t | n, | |||
size_t | itemSize, | |||
dataType | t | |||
) | [protected, virtual] |
Implements PUP::er.
Definition at line 603 of file pup_util.C.
References beginEnv(), beginLine(), PUP::c, CmiAbort(), endEnv(), endLine(), PUP::Tbool, PUP::Tbyte, PUP::Tchar, PUP::Tdouble, PUP::Tfloat, PUP::Tint, PUP::Tlong, PUP::Tlongdouble, PUP::Tlonglong, PUP::Tpointer, PUP::Tshort, PUP::Tuchar, PUP::Tuint, PUP::Tulong, PUP::Tulonglong, and PUP::Tushort.
void PUP::toTextUtil::object | ( | able ** | a | ) | [protected, virtual] |
Reimplemented from PUP::er.
Definition at line 671 of file pup_util.C.
References beginEnv(), endEnv(), and PUP::er::object().
char* PUP::toTextUtil::cur [private] |
int PUP::toTextUtil::level [private] |
Definition at line 522 of file pup.h.
Referenced by beginEnv(), beginLine(), endEnv(), and toTextUtil().