...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::mpi::packed_skeleton_iarchive — An archiver that reconstructs a data structure based on the binary skeleton stored in a buffer.
// In header: <boost/mpi/skeleton_and_content.hpp> class packed_skeleton_iarchive : public ignore_iprimitive { public: // construct/copy/destruct packed_skeleton_iarchive(MPI_Comm const &, unsigned int = boost::archive::no_header); explicit packed_skeleton_iarchive(packed_iarchive &); // public member functions const packed_iarchive & get_skeleton() const; packed_iarchive & get_skeleton(); };
The packed_skeleton_iarchive
class is an Archiver (as in the Boost.Serialization library) that can construct the the shape of a data structure based on a binary skeleton stored in a buffer. The packed_skeleton_iarchive
is typically used by the receiver of a skeleton, to prepare a data structure that will eventually receive content separately.
Users will not generally need to use packed_skeleton_iarchive
directly. Instead, use skeleton
or get_skeleton
.
packed_skeleton_iarchive
public
construct/copy/destructpacked_skeleton_iarchive(MPI_Comm const & comm, unsigned int flags = boost::archive::no_header);
Construct a
for the given communicator.packed_skeleton_iarchive
Parameters: |
|
explicit packed_skeleton_iarchive(packed_iarchive & archive);
Construct a
that unpacks a skeleton from the given packed_skeleton_iarchive
archive
.
Parameters: |
|
packed_skeleton_iarchive
public member functionsconst packed_iarchive & get_skeleton() const;
Retrieve the archive corresponding to this skeleton.
packed_iarchive & get_skeleton();
Retrieve the archive corresponding to this skeleton.