MADNESS  0.10.1
Public Member Functions | Private Types | Private Attributes | List of all members
madness::archive::ContainerRecordInputArchive Class Reference

#include <parallel_dc_archive.h>

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

Public Member Functions

 ContainerRecordInputArchive (World &subworld, const containerT &dc, const keyT &key)
 
 ~ContainerRecordInputArchive ()
 
void close ()
 
void flush ()
 
template<class T >
std::enable_if< madness::is_trivially_serializable< T >::value, void >::type load (T *t, long n) const
 
void open ()
 
- Public Member Functions inherited from madness::archive::BaseArchive
 BaseArchive ()
 

Private Types

using containerT = WorldContainer< keyT, std::vector< unsigned char > >
 
using keyT = long
 

Private Attributes

VectorInputArchive ar
 
ProcessID rank
 
std::vector< unsigned char > v
 

Additional Inherited Members

- Public Types inherited from madness::archive::BaseInputArchive
using is_loading = std::true_type
 Type used by Boost.Serialization to determine if this object is an input archive. More...
 
- Public Types inherited from madness::archive::BaseArchive
using is_loading = std::false_type
 Type used by Boost.Serialization to determine if this object is an input archive. More...
 
using is_saving = std::false_type
 Type used by Boost.Serialization to determine if this object is an output archive. More...
 
- Static Public Attributes inherited from madness::archive::BaseInputArchive
static constexpr bool is_input_archive = true
 Flag to determine if this object is an input archive. More...
 
- Static Public Attributes inherited from madness::archive::BaseArchive
static constexpr bool is_archive = true
 Flag to determine if this object is an archive. More...
 
static constexpr bool is_input_archive = false
 Flag to determine if this object is an input archive. More...
 
static constexpr bool is_output_archive = false
 Flag to determine if this object is an output archive. More...
 
static constexpr bool is_parallel_archive = false
 Flag to determine if this object is a parallel archive. More...
 

Member Typedef Documentation

◆ containerT

◆ keyT

Constructor & Destructor Documentation

◆ ContainerRecordInputArchive()

madness::archive::ContainerRecordInputArchive::ContainerRecordInputArchive ( World subworld,
const containerT dc,
const keyT key 
)
inline

◆ ~ContainerRecordInputArchive()

madness::archive::ContainerRecordInputArchive::~ContainerRecordInputArchive ( )
inline

Member Function Documentation

◆ close()

void madness::archive::ContainerRecordInputArchive::close ( )
inline

◆ flush()

void madness::archive::ContainerRecordInputArchive::flush ( )
inline

◆ load()

template<class T >
std::enable_if< madness::is_trivially_serializable<T>::value, void >::type madness::archive::ContainerRecordInputArchive::load ( T t,
long  n 
) const
inline

◆ open()

void madness::archive::ContainerRecordInputArchive::open ( )
inline

Member Data Documentation

◆ ar

VectorInputArchive madness::archive::ContainerRecordInputArchive::ar
private

Referenced by load().

◆ rank

ProcessID madness::archive::ContainerRecordInputArchive::rank
private

◆ v

std::vector<unsigned char> madness::archive::ContainerRecordInputArchive::v
private

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