MADNESS
version 0.9
|
Wraps an archive around a memory buffer for output. More...
#include <bufar.h>
Public Member Functions | |
BufferOutputArchive () | |
BufferOutputArchive (void *ptr, std::size_t nbyte) | |
template<class T > | |
madness::enable_if < madness::is_serializable< T > , void >::type | store (const T *t, long n) const |
void | open (std::size_t) |
void | close () |
void | flush () |
bool | count_only () const |
std::size_t | size () const |
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 memory buffer for output.
Type checking is disabled for efficiency.
Throws MadnessException in case of buffer overflow
Default constructor can be used to count stuff.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References m, madness::print(), and std::tr1::T().