An archiver that reconstructs a data structure based on the binary skeleton stored in a buffer. More...
#include <skeleton_and_content.hpp>
Public Member Functions | |
packed_skeleton_iarchive (MPI_Comm const &comm, unsigned int flags=boost::archive::no_header) | |
Construct a packed_skeleton_iarchive for the given communicator. More... | |
packed_skeleton_iarchive (packed_iarchive &archive) | |
Construct a packed_skeleton_iarchive that unpacks a skeleton from the given archive . More... | |
const packed_iarchive & | get_skeleton () const |
Retrieve the archive corresponding to this skeleton. More... | |
packed_iarchive & | get_skeleton () |
Retrieve the archive corresponding to this skeleton. More... | |
An archiver that reconstructs a data structure based on the binary skeleton stored in a buffer.
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
.
|
inline |
Construct a packed_skeleton_iarchive
for the given communicator.
comm | The communicator over which this archive will be transmitted. |
flags | Control the serialization of the skeleton. Refer to the Boost.Serialization documentation before changing the default flags. |
|
inlineexplicit |
Construct a packed_skeleton_iarchive
that unpacks a skeleton from the given archive
.
archive | the archive from which the skeleton will be unpacked. |
|
inline |
Retrieve the archive corresponding to this skeleton.
|
inline |
Retrieve the archive corresponding to this skeleton.