...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_oarchive — An archiver that records the binary skeleton of a data structure into a buffer.
// In header: <boost/mpi/skeleton_and_content.hpp> class packed_skeleton_oarchive : public ignore_oprimitive { public: // construct/copy/destruct packed_skeleton_oarchive(MPI_Comm const &, unsigned int = boost::archive::no_header); explicit packed_skeleton_oarchive(packed_oarchive &); // public member functions const packed_oarchive & get_skeleton() const; };
The packed_skeleton_oarchive
class is an Archiver (as in the Boost.Serialization library) that can record the shape of a data structure (called the "skeleton") into a binary representation stored in a buffer. The packed_skeleton_oarchive
is typically used by the send of a skeleton, to pack the skeleton of a data structure for transmission separately from the content.
Users will not generally need to use packed_skeleton_oarchive
directly. Instead, use skeleton
or get_skeleton
.
packed_skeleton_oarchive
public
construct/copy/destructpacked_skeleton_oarchive(MPI_Comm const & comm, unsigned int flags = boost::archive::no_header);
Construct a
for the given communicator.packed_skeleton_oarchive
Parameters: |
|
explicit packed_skeleton_oarchive(packed_oarchive & archive);
Construct a
that packs a skeleton into the given packed_skeleton_oarchive
archive
.
Parameters: |
|
packed_skeleton_oarchive
public member functionsconst packed_oarchive & get_skeleton() const;
Retrieve the archive corresponding to this skeleton.