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

Detailed Description

Definition at line 519 of file pup.h.


Constructor & Destructor Documentation

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

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

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

Referenced by bytes(), and object().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 549 of file pup_util.C.

References cur, and level.

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

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual char* PUP::toTextUtil::advance ( char *  cur  )  [protected, pure virtual]

Implemented in PUP::sizerText, and PUP::toText.

Referenced by endLine().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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

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().

Here is the call graph for this function:


Field Documentation

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

Definition at line 521 of file pup.h.

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

Definition at line 522 of file pup.h.

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


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

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