PUP Namespace Reference


Data Structures

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

Typedefs

typedef unsigned char myByte

Enumerations

enum  dataType {
  Tchar = 0, Tshort, Tint, Tlong,
  Tlonglong, Tuchar, Tushort, Tuint,
  Tulong, Tulonglong, Tfloat, Tdouble,
  Tlongdouble, Tbool, Tbyte, Tsync,
  Tpointer, dataType_last
}
enum  {
  sync_builtin = 0x70000000, sync_begin = sync_builtin+0x01000000, sync_end = sync_builtin+0x02000000, sync_last_system = sync_builtin+0x09000000,
  sync_array_m = 0x00100000, sync_list_m = 0x00200000, sync_object_m = 0x00300000, sync_begin_array = sync_begin+sync_array_m,
  sync_begin_list = sync_begin+sync_list_m, sync_begin_object = sync_begin+sync_object_m, sync_end_array = sync_end+sync_array_m, sync_end_list = sync_end+sync_list_m,
  sync_end_object = sync_end+sync_object_m, sync_item = sync_builtin+0x00110000, sync_index = sync_builtin+0x00120000, 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

template<class T>
int size (T &t)
template<class T>
void toMemBuf (T &t, void *buf, int len)
template<class T>
void fromMemBuf (T &t, void *buf, int len)


Typedef Documentation

typedef unsigned char PUP::myByte

Definition at line 100 of file pup.h.


Enumeration Type Documentation

Enumerator:
Tchar 
Tshort 
Tint 
Tlong 
Tlonglong 
Tuchar 
Tushort 
Tuint 
Tulong 
Tulonglong 
Tfloat 
Tdouble 
Tlongdouble 
Tbool 
Tbyte 
Tsync 
Tpointer 
dataType_last 

Definition at line 87 of file pup.h.

anonymous enum

"Sync" codes are an extra channel to encode data in a pup stream, to indicate higher-order structures in the pup'd objects.

Sync codes must follow this grammar: <obj> -> <obj> <obj> | <array> |

<obj> -> begin (<obj> system) <obj> end <array> -> begin <obj> (item <obj>)* end
> begin <obj> (index <obj> item <obj>)* end This hack is used, e.g., by the debugger.
Enumerator:
sync_builtin 
sync_begin 
sync_end 
sync_last_system 
sync_array_m 
sync_list_m 
sync_object_m 
sync_begin_array 
sync_begin_list 
sync_begin_object 
sync_end_array 
sync_end_list 
sync_end_object 
sync_item 
sync_index 
sync_last 

Definition at line 325 of file pup.h.


Function Documentation

template<class T>
int PUP::size ( T t  )  [inline]

template<class T>
void PUP::toMemBuf ( T t,
void *  buf,
int  len 
) [inline]

Definition at line 396 of file pup.h.

References CmiAbort(), p, and PUP::mem::size().

Referenced by FORTRAN_AS_C_RETURN(), MPI_Bcast_pup(), MPI_Send_pup(), and FEM_Userdata_item::store().

template<class T>
void PUP::fromMemBuf ( T t,
void *  buf,
int  len 
) [inline]

Definition at line 413 of file pup.h.

References CmiAbort(), p, and PUP::mem::size().

Referenced by FORTRAN_AS_C_RETURN(), MPI_Bcast_pup(), MPI_Recv_pup(), and FEM_Userdata_item::restore().


Generated on Mon Nov 23 08:00:50 2009 for Charm++ by  doxygen 1.5.5