Home | Libraries | People | FAQ | More |
boost::mpi::packed_iarchive — An archive that packs binary data into an MPI buffer.
// In header: <boost/mpi/packed_iarchive.hpp> class packed_iarchive { public: // construct/copy/destruct packed_iarchive(MPI_Comm const &, buffer_type &, unsigned int = boost::archive::no_header, int = 0); packed_iarchive(MPI_Comm const &, std::size_t = 0, unsigned int = boost::archive::no_header); // public member functions template<typename T> void load_override(T &, int, mpl::false_); template<typename T> void load_override(T &, int, mpl::true_); template<typename T> void load_override(T &, int); void load_override(archive::class_id_optional_type &, int); void load_override(archive::class_name_type &, int); };
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.
packed_iarchive
public
construct/copy/destructpacked_iarchive(MPI_Comm const & comm, buffer_type & b, unsigned int flags = boost::archive::no_header, int position = 0);
Construct a
for transmission over the given MPI communicator and with an initial buffer.packed_iarchive
Parameters: |
|
packed_iarchive(MPI_Comm const & comm, std::size_t s = 0, unsigned int flags = boost::archive::no_header);
Construct a
for transmission over the given MPI communicator.packed_iarchive
Parameters: |
|
packed_iarchive
public member functionstemplate<typename T> void load_override(T & x, int version, mpl::false_);
template<typename T> void load_override(T & x, int, mpl::true_);
template<typename T> void load_override(T & x, int version);
void load_override(archive::class_id_optional_type &, int);
void load_override(archive::class_name_type & t, int);