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

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

#include <buffer_archive.h>

Static Public Member Functions

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

Detailed Description

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

Implement pre/postamble storage routines for a BufferOutputArchive.

Note
No type checking over the buffer stream, for efficiency.
Template Parameters
TThe type to be stored.

Member Function Documentation

◆ postamble_load()

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

By default there is no postamble.

◆ postamble_store()

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

Write the postamble to the archive.

◆ preamble_load()

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

Deserialize a cookie and check the type.

Parameters
[in]arThe archive.

◆ preamble_store()

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

Write the preamble to the archive.


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