MADNESS  version 0.9
Public Member Functions | List of all members
madness::archive::VectorInputArchive Class Reference

Wraps an archive around an STL vector for input. More...

#include <vecar.h>

Inheritance diagram for madness::archive::VectorInputArchive:
Inheritance graph
[legend]
Collaboration diagram for madness::archive::VectorInputArchive:
Collaboration graph
[legend]

Public Member Functions

 VectorInputArchive (std::vector< unsigned char > &v)
 
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
 

Detailed Description

Wraps an archive around an STL vector for input.

Constructor & Destructor Documentation

madness::archive::VectorInputArchive::VectorInputArchive ( std::vector< unsigned char > &  v)
inline

Member Function Documentation

void madness::archive::VectorInputArchive::close ( )
inline
template<class T >
madness::enable_if< madness::is_serializable<T>, void >::type madness::archive::VectorInputArchive::load ( T *  t,
long  n 
) const
inline
std::size_t madness::archive::VectorInputArchive::nbyte_avail ( ) const
inline
void madness::archive::VectorInputArchive::open ( )
inline
void madness::archive::VectorInputArchive::rewind ( ) const
inline

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