MADNESS
version 0.9
|
Wraps an archive around a memory buffer for input. More...
#include <bufar.h>
Public Member Functions | |
BufferInputArchive (const void *ptr, std::size_t nbyte) | |
template<class T > | |
madness::enable_if < madness::is_serializable< T > , void >::type | load (T *t, long n) const |
void | open () |
void | rewind () const |
std::size_t | nbyte_avail () const |
void | close () |
Public Member Functions inherited from madness::archive::BaseArchive | |
BaseArchive () | |
Additional Inherited Members | |
Static Public Attributes inherited from madness::archive::BaseInputArchive | |
static const bool | is_input_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 input.
Type checking is disabled for efficiency.
Throws MadnessException in case of buffer overrun
|
inline |
|
inline |
|
inline |
References m, and std::tr1::T().
|
inline |
|
inline |
|
inline |