An archive that packs binary data into an MPI buffer. More...
#include <packed_oarchive.hpp>
Public Member Functions | |
packed_oarchive (MPI_Comm const &comm, buffer_type &b, unsigned int flags=boost::archive::no_header) | |
Construct a packed_oarchive for transmission over the given MPI communicator and with an initial buffer. More... | |
packed_oarchive (MPI_Comm const &comm, unsigned int flags=boost::archive::no_header) | |
Construct a packed_oarchive for transmission over the given MPI communicator. More... | |
template<class T > | |
void | save_override (T const &x, int version, mpl::false_) |
template<class T > | |
void | save_override (T const &x, int, mpl::true_) |
template<class T > | |
void | save_override (T const &x, int version) |
void | save_override (const archive::class_id_optional_type &, int) |
void | save_override (const archive::class_name_type &t, int) |
void | save_override (archive::class_id_type &t, int version) |
void | save_override (archive::version_type &t, int version) |
An archive that packs binary data into an MPI buffer.
The packed_iarchive
class is an Archiver (as in the Boost.Serialization library) that packs binary data into a buffer for transmission via MPI. It can operate on any Serializable data type and will use the MPI_Pack
function of the underlying MPI implementation to perform serialization.
|
inline |
Construct a packed_oarchive
for transmission over the given MPI communicator and with an initial buffer.
comm | The communicator over which this archive will be sent. |
b | A user-defined buffer that will be filled with the binary representation of serialized objects. |
flags | Control the serialization of the data types. Refer to the Boost.Serialization documentation before changing the default flags. |
position | Set the offset into buffer b at which deserialization will begin. |
|
inline |
Construct a packed_oarchive
for transmission over the given MPI communicator.
comm | The communicator over which this archive will be sent. |
s | The size of the buffer to be received. |
flags | Control the serialization of the data types. Refer to the Boost.Serialization documentation before changing the default flags. |
|
inline |
|
inline |
References boost::serialization::save().
|
inline |
References boost::detail::type.
|
inline |
|
inline |
References boost::asio::s.
|
inline |
References boost::flyweights::t, and boost::flyweights::x.
|
inline |
References boost::flyweights::t, and boost::flyweights::x.