PPL Logo

util/pup.h File Reference

Go to the source code of this file.

Namespaces

namespace  PUP

Data Structures

struct  CkMigrateMessage
class  PUP::seekBlock
class  PUP::er
class  PUP::sizer
class  PUP::mem
class  PUP::toMem
class  PUP::fromMem
class  PUP::disk
class  PUP::toDisk
class  PUP::fromDisk
class  PUP::toTextUtil
class  PUP::sizerText
class  PUP::toText
class  PUP::toTextFile
class  PUP::fromTextFile
class  PUP::machineInfo
class  PUP::wrap_er
 "Wrapped" PUP::er: forwards requests to another PUP::er. More...
class  PUP::xlater
class  PUP::able
class  PUP::able::PUP_ID
class  CkPointer< T >
class  CkReference< T >
class  PUP::as_bytes< T >
 Traits class: decide if the type T can be safely pupped as raw bytes. More...

Typedefs

typedef unsigned char PUP::myByte
typedef PUP::er PUPer
typedef PUP::able PUPable

Enumerations

enum  PUP::dataType {
  PUP::Tchar = 0, PUP::Tshort, PUP::Tint, PUP::Tlong,
  PUP::Tlonglong, PUP::Tuchar, PUP::Tushort, PUP::Tuint,
  PUP::Tulong, PUP::Tulonglong, PUP::Tfloat, PUP::Tdouble,
  PUP::Tlongdouble, PUP::Tbool, PUP::Tbyte, PUP::Tsync,
  PUP::Tpointer, PUP::dataType_last
}
enum  {
  PUP::sync_builtin = 0x70000000, PUP::sync_begin = sync_builtin+0x01000000, PUP::sync_end = sync_builtin+0x02000000, PUP::sync_last_system = sync_builtin+0x09000000,
  PUP::sync_array_m = 0x00100000, PUP::sync_list_m = 0x00200000, PUP::sync_object_m = 0x00300000, PUP::sync_begin_array = sync_begin+sync_array_m,
  PUP::sync_begin_list = sync_begin+sync_list_m, PUP::sync_begin_object = sync_begin+sync_object_m, PUP::sync_end_array = sync_end+sync_array_m, PUP::sync_end_list = sync_end+sync_list_m,
  PUP::sync_end_object = sync_end+sync_object_m, PUP::sync_item = sync_builtin+0x00110000, PUP::sync_index = sync_builtin+0x00120000, PUP::sync_last
}
 "Sync" codes are an extra channel to encode data in a pup stream, to indicate higher-order structures in the pup'd objects. More...

Functions

void CmiAbort (const char *msg)
 Serial version of common Charm++ routines:.
template<class T>
int PUP::size (T &t)
template<class T>
void PUP::toMemBuf (T &t, void *buf, int len)
template<class T>
void PUP::fromMemBuf (T &t, void *buf, int len)
void operator| (PUP::er &p, PUP::able &a)
void operator| (PUP::er &p, PUP::able *&a)
template<class T>
void operator| (PUP::er &p, T &t)
 Default operator| and PUParray: copy as bytes.
template<class T>
void PUParray (PUP::er &p, T *t, int n)
 Default PUParray: pup each element.


Typedef Documentation

typedef PUP::er PUPer

Definition at line 826 of file pup.h.

typedef PUP::able PUPable

Definition at line 827 of file pup.h.


Function Documentation

void CmiAbort ( const char *  message  ) 

Serial version of common Charm++ routines:.

Serial version of common Charm++ routines:.

Currently only used for FEM_ALONE mode.

Orion Sky Lawlor, olawlor@acm.org, 2003/8/15

Definition at line 8 of file charm_standalone.C.

void operator| ( PUP::er p,
PUP::able a 
) [inline]

Definition at line 739 of file pup.h.

References PUP::able::pup().

void operator| ( PUP::er p,
PUP::able *&  a 
) [inline]

Definition at line 740 of file pup.h.

References p.

template<class T>
void operator| ( PUP::er p,
T &  t 
) [inline]

Default operator| and PUParray: copy as bytes.

Normal case: Call pup routines by default.

Default operator|: call pup routine.

Definition at line 856 of file pup.h.

References p.

template<class T>
void PUParray ( PUP::er p,
T *  ta,
int  n 
) [inline]


Generated on Sat May 26 08:08:11 2012 for Charm++ by  doxygen 1.5.5