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

Implement pre/postamble storage routines for a TextFstreamOutputArchive. More...

#include <text_fstream_archive.h>

Static Public Member Functions

static void postamble_load (const TextFstreamOutputArchive &)
 By default there is no postamble.
static void postamble_store (const TextFstreamOutputArchive &ar)
 Write the postamble to the archive.
static void preamble_load (const TextFstreamOutputArchive &ar)
 Deserialize a cookie and check the type.
static void preamble_store (const TextFstreamOutputArchive &ar)
 Write the preamble to the archive.

Detailed Description

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

Implement pre/postamble storage routines for a TextFstreamOutputArchive.

Template Parameters
TThe type to be stored.

Member Function Documentation

◆ postamble_load()

void madness::archive::ArchivePrePostImpl< TextFstreamOutputArchive, T >::postamble_load ( const TextFstreamOutputArchive & )
inlinestatic

By default there is no postamble.

◆ postamble_store()

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

Write the postamble to the archive.

Parameters
[in]arThe archive.

References madness::archive::TextFstreamOutputArchive::store_end_tag().

◆ preamble_load()

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

Deserialize a cookie and check the type.

Parameters
[in]arThe archive.

◆ preamble_store()

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

Write the preamble to the archive.

Parameters
[in]arThe archive.

References madness::archive::TextFstreamOutputArchive::store_start_tag().


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