MADNESS 0.10.1
madness::archive::ArchivePrePostImpl< TextFstreamInputArchive, T > Struct Template Reference

Implement pre/postamble load routines for a TextFstreamInputArchive. More...

#include <text_fstream_archive.h>

Static Public Member Functions

static void postamble_load (const TextFstreamInputArchive &ar)
 Load the postamble and perform type-checking.
static void postamble_store (const TextFstreamInputArchive &)
 By default there is no postamble.
static void preamble_load (const TextFstreamInputArchive &ar)
 Load the preamble and perform type-checking.
static void preamble_store (const TextFstreamInputArchive &ar)
 Serialize a cookie for type checking.

Detailed Description

template<class T>
struct madness::archive::ArchivePrePostImpl< TextFstreamInputArchive, T >

Implement pre/postamble load routines for a TextFstreamInputArchive.

Template Parameters
TThe expected type to be loaded.

Member Function Documentation

◆ postamble_load()

template<class T>
void madness::archive::ArchivePrePostImpl< TextFstreamInputArchive, T >::postamble_load ( const TextFstreamInputArchive & ar)
inlinestatic

Load the postamble and perform type-checking.

Parameters
[in]arThe archive.

References madness::archive::TextFstreamInputArchive::check_end_tag().

◆ postamble_store()

void madness::archive::ArchivePrePostImpl< TextFstreamInputArchive, T >::postamble_store ( const TextFstreamInputArchive & )
inlinestatic

By default there is no postamble.

◆ preamble_load()

template<class T>
void madness::archive::ArchivePrePostImpl< TextFstreamInputArchive, T >::preamble_load ( const TextFstreamInputArchive & ar)
inlinestatic

Load the preamble and perform type-checking.

Parameters
[in]arThe archive.

References madness::archive::TextFstreamInputArchive::check_start_tag().

◆ preamble_store()

void madness::archive::ArchivePrePostImpl< TextFstreamInputArchive, T >::preamble_store ( const TextFstreamInputArchive & ar)
inlinestatic

Serialize a cookie for type checking.

Parameters
[in]arThe archive.

The documentation for this struct was generated from the following file: