PPL Logo

util/pup.h File Reference

Go to the source code of this file.

Namespaces

namespace  PUP
namespace  PUP::detail
namespace  PUP::details

Data Structures

struct  CkMigrateMessage
struct  PUP::reconstruct
 A utility to let classes avoid default construction when they're about to be unpacked, by defining a constructor that takes a value of type PUP::reconstruct. More...
struct  PUP::detail::TemporaryObjectHolder< T, b >
struct  PUP::detail::PUP::detail::TemporaryObjectHolder< T, true >
struct  PUP::detail::PUP::detail::TemporaryObjectHolder< T, false >
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...
struct  PUP::details::make_void< Ts >
struct  PUP::details::is_pupable< T, U >
struct  PUP::details::PUP::details::is_pupable< T, void_t< decltype(std::declval< T >().pup(std::declval< PUP::er & >()))>>

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::Tint128, PUP::Tuint128,
  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<typename T>
void PUP::detail::operator| (er &p, TemporaryObjectHolder< T > &t)
template<class T>
size_t PUP::size (T &t)
template<class T>
void PUP::toMemBuf (T &t, void *buf, size_t len)
template<class T>
void PUP::fromMemBuf (T &t, void *buf, size_t len)
void PUP::operator| (er &p, able &a)
void PUP::operator| (er &p, able *&a)
template<class T>
void PUP::operator| (PUP::er &p, T &t)
 Default operator| and PUParray: copy as bytes.
template<class T>
void PUP::PUParray (PUP::er &p, T *t, size_t n)
 Default PUParray: pup each element.


Typedef Documentation

typedef PUP::er PUPer

Definition at line 922 of file pup.h.

typedef PUP::able PUPable

Definition at line 923 of file pup.h.


Function Documentation

void CmiAbort ( const char *  why  ) 

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.


Generated on Mon Sep 21 08:11:50 2020 for Charm++ by  doxygen 1.5.5