Define data types and (un)serialization functions for use when encoding a potentially-variable-size object of type T.
More...
|
| template<typename Context > |
| unsigned int | packable_size (const std::pair< T1, T2 > &pr, const Context *ctx) |
| |
| template<typename OutputIter , typename Context > |
| void | pack (const std::pair< T1, T2 > &pr, OutputIter data_out, const Context *ctx) |
| |
| template<typename BufferIter , typename Context > |
| std::pair< T1, T2 > | unpack (BufferIter in, Context *ctx) |
| |
| template<typename Context > |
| unsigned int | packable_size (const std::tuple< T, Types... > &tup, const Context *ctx) |
| |
| template<typename OutputIter , typename Context > |
| void | pack (const std::tuple< T, Types... > &tup, OutputIter data_out, const Context *ctx) |
| |
| template<typename BufferIter , typename Context > |
| std::tuple< T, Types... > | unpack (BufferIter in, Context *ctx) |
| |
| template<typename Context > |
| unsigned int | packable_size (const std::array< T, N > &a, const Context *ctx) |
| |
| template<typename OutputIter , typename Context > |
| void | pack (const std::array< T, N > &a, OutputIter data_out, const Context *ctx) |
| |
| template<typename BufferIter , typename Context > |
| std::array< T, N > | unpack (BufferIter in, Context *ctx) |
| |
|
| 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) |
| |
template<typename T, typename Enable>
class libMesh::Parallel::Packing< T, Enable >
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 60 of file packing.h.