libMesh
Static Public Member Functions | List of all members
libMesh::Parallel::Packing< T > Class Template Reference

Define data types and (un)serialization functions for use when encoding a potentially-variable-size object of type T. More...

#include <parallel.h>

Static Public Member Functions

template<typename OutputIter , typename Context >
static void pack (const T &object, OutputIter data_out, const Context *context)
 
template<typename Context >
static unsigned int packable_size (const T &object, const Context *context)
 
template<typename BufferIter >
static unsigned int packed_size (BufferIter iter)
 
template<typename BufferIter , typename Context >
static T unpack (BufferIter in, Context *ctx)
 

Detailed Description

template<typename T>
class libMesh::Parallel::Packing< T >

Define data types and (un)serialization functions for use when encoding a potentially-variable-size object of type T.

Users will need to specialize this class for their particular data types.

Definition at line 582 of file parallel.h.

Member Function Documentation

template<typename T>
template<typename OutputIter , typename Context >
static void libMesh::Parallel::Packing< T >::pack ( const T &  object,
OutputIter  data_out,
const Context *  context 
)
static
template<typename T>
template<typename Context >
static unsigned int libMesh::Parallel::Packing< T >::packable_size ( const T &  object,
const Context *  context 
)
static
template<typename T>
template<typename BufferIter >
static unsigned int libMesh::Parallel::Packing< T >::packed_size ( BufferIter  iter)
static
template<typename T>
template<typename BufferIter , typename Context >
static T libMesh::Parallel::Packing< T >::unpack ( BufferIter  in,
Context *  ctx 
)
static

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