MADNESS
0.10.1
|
Default implementation of the pre/postamble for type checking. More...
#include <archive.h>
Static Public Member Functions | |
static void | postamble_load (const Archive &) |
By default there is no postamble. More... | |
static void | postamble_store (const Archive &) |
By default there is no postamble. More... | |
static void | preamble_load (const Archive &ar) |
Deserialize a cookie and check the type. More... | |
static void | preamble_store (const Archive &ar) |
Serialize a cookie for type checking. More... | |
Default implementation of the pre/postamble for type checking.
Archive | The archive class. |
T | The type to serialized or to expect upon deserialization. |
|
inlinestatic |
By default there is no postamble.
Referenced by madness::archive::ArchiveImpl< Archive, archive_array< T > >::wrap_load(), and madness::archive::ArchiveImpl< Archive, T, Enabler >::wrap_load().
|
inlinestatic |
By default there is no postamble.
Referenced by madness::archive::ArchiveStoreImpl< ParallelOutputArchive< localarchiveT >, WorldContainer< keyT, valueT > >::store(), madness::archive::ArchiveStoreImpl< ParallelOutputArchive< VectorOutputArchive >, WorldContainer< keyT, valueT > >::store(), madness::archive::ArchiveImpl< Archive, archive_array< T > >::wrap_store(), and madness::archive::ArchiveImpl< Archive, T, Enabler >::wrap_store().
|
inlinestatic |
Deserialize a cookie and check the type.
[in] | ar | The archive. |
References madness::archive::archive_type_names, bufsize, MAD_ARCHIVE_DEBUG, and MADNESS_EXCEPTION.
Referenced by madness::archive::ArchiveImpl< Archive, archive_array< T > >::wrap_load(), and madness::archive::ArchiveImpl< Archive, T, Enabler >::wrap_load().
|
inlinestatic |
Serialize a cookie for type checking.
[in] | ar | The archive. |
References madness::archive::archive_type_names, and MAD_ARCHIVE_DEBUG.
Referenced by madness::archive::ArchiveStoreImpl< ParallelOutputArchive< localarchiveT >, WorldContainer< keyT, valueT > >::store(), madness::archive::ArchiveStoreImpl< ParallelOutputArchive< VectorOutputArchive >, WorldContainer< keyT, valueT > >::store(), madness::archive::ArchiveImpl< Archive, archive_array< T > >::wrap_store(), and madness::archive::ArchiveImpl< Archive, T, Enabler >::wrap_store().