MADNESS
version 0.9
|
Wraps an archive around a binary file stream for output. More...
#include <binfsar.h>
Public Member Functions | |
BinaryFstreamOutputArchive (const char *filename=0, std::ios_base::openmode mode=std::ios_base::binary|std::ios_base::out|std::ios_base::trunc) | |
template<class T > | |
madness::enable_if < madness::is_serializable< T > , void >::type | store (const T *t, long n) const |
void | open (const char *filename, std::ios_base::openmode mode=std::ios_base::binary|std::ios_base::out|std::ios_base::trunc) |
void | close () |
void | flush () |
Public Member Functions inherited from madness::archive::BaseArchive | |
BaseArchive () | |
Additional Inherited Members | |
Static Public Attributes inherited from madness::archive::BaseOutputArchive | |
static const bool | is_output_archive = true |
Static Public Attributes inherited from madness::archive::BaseArchive | |
static const bool | is_archive = true |
static const bool | is_input_archive = false |
static const bool | is_output_archive = false |
static const bool | is_parallel_archive = false |
Wraps an archive around a binary file stream for output.
madness::archive::BinaryFstreamOutputArchive::BinaryFstreamOutputArchive | ( | const char * | filename = 0 , |
std::ios_base::openmode | mode = std::ios_base::binary | std::ios_base::out | std::ios_base::trunc |
||
) |
References open().
void madness::archive::BinaryFstreamOutputArchive::close | ( | ) |
References madness::tr1::shptr::shared_ptr< T >::reset().
void madness::archive::BinaryFstreamOutputArchive::flush | ( | ) |
Referenced by madness::archive::ParallelOutputArchive::flush().
void madness::archive::BinaryFstreamOutputArchive::open | ( | const char * | filename, |
std::ios_base::openmode | mode = std::ios_base::binary | std::ios_base::out | std::ios_base::trunc |
||
) |
References ARCHIVE_COOKIE, madness::tr1::shptr::shared_ptr< T >::get(), madness::tr1::shptr::shared_ptr< T >::reset(), and store().
Referenced by BinaryFstreamOutputArchive().
|
inline |
References std::tr1::T().
Referenced by open().