PUP::toTextUtil Class Reference

#include <pup.h>

Inheritance diagram for PUP::toTextUtil:

Inheritance graph
[legend]
Collaboration diagram for PUP::toTextUtil:

Collaboration graph
[legend]

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, int 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

Detailed Description

Definition at line 454 of file pup.h.


Constructor & Destructor Documentation

PUP::toTextUtil::toTextUtil ( unsigned int  inType,
char *  buf 
) [protected]

Definition at line 402 of file pup_util.C.

References cur, and level.

PUP::toTextUtil::toTextUtil ( const toTextUtil p  )  [protected]


Member Function Documentation

void PUP::toTextUtil::beginEnv ( const char *  type,
int  n = 0 
) [private]

Definition at line 387 of file pup_util.C.

References beginLine(), endLine(), level, and n.

Referenced by bytes(), and object().

void PUP::toTextUtil::endEnv ( const char *  type  )  [private]

Definition at line 396 of file pup_util.C.

References beginLine(), endLine(), and level.

Referenced by bytes(), and object().

char * PUP::toTextUtil::beginLine ( void   )  [private]

Definition at line 378 of file pup_util.C.

References cur, and level.

Referenced by beginEnv(), bytes(), comment(), endEnv(), and synchronize().

void PUP::toTextUtil::endLine ( void   )  [private]

Definition at line 384 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 409 of file pup_util.C.

References beginLine(), and endLine().

void PUP::toTextUtil::synchronize ( unsigned int  m  )  [virtual]

A 32-bit "synchronization marker" (not human readable).

Some standard codes are listed under PUP::sync_....

Reimplemented from PUP::er.

Definition at line 414 of file pup_util.C.

References beginLine(), and endLine().

void PUP::toTextUtil::bytes ( void *  p,
int  n,
size_t  itemSize,
dataType  t 
) [protected, virtual]

Implements PUP::er.

Definition at line 432 of file pup_util.C.

References beginEnv(), beginLine(), c, CmiAbort(), endEnv(), endLine(), n, p, 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 500 of file pup_util.C.

References beginEnv(), endEnv(), and PUP::er::object().


Field Documentation

char* PUP::toTextUtil::cur [private]

Definition at line 456 of file pup.h.

Referenced by beginLine(), endLine(), and toTextUtil().

int PUP::toTextUtil::level [private]

Definition at line 457 of file pup.h.

Referenced by beginEnv(), beginLine(), endEnv(), and toTextUtil().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:35:58 2008 for Charm++ by  doxygen 1.5.1