PPL Logo

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 459 of file pup.h.


Constructor & Destructor Documentation

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

Definition at line 465 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 450 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 459 of file pup_util.C.

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

Referenced by bytes(), and object().

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

Definition at line 441 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 447 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 472 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 477 of file pup_util.C.

References beginLine(), and endLine().

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

void PUP::toTextUtil::object ( able **  a  )  [protected, virtual]

Reimplemented from PUP::er.

Definition at line 563 of file pup_util.C.

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


Field Documentation

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

Definition at line 461 of file pup.h.

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

Definition at line 462 of file pup.h.

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


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

Generated on Fri May 25 08:06:12 2012 for Charm++ by  doxygen 1.5.5