ALPSCore reference
|
#include <core.hpp>
Public Member Functions | |
virtual void | enter (const std::string &group)=0 |
virtual void | exit ()=0 |
virtual std::vector< size_t > | get_shape (const std::string &key)=0 |
virtual void | read (const std::string &key, ndview< double >)=0 |
virtual void | read (const std::string &key, ndview< std::complex< double >>)=0 |
virtual void | read (const std::string &key, ndview< complex_op< double >>)=0 |
virtual void | read (const std::string &key, ndview< long >)=0 |
virtual void | read (const std::string &key, ndview< unsigned long >)=0 |
virtual deserializer * | clone () |
virtual | ~deserializer () |
Foster the deserialization of data from disk.
The serialization interface writes a hierarchy of named groups, traversed by enter()
and exit()
, each containing a set of primitives or key-value pairs, read out by the read()
family of methods.
Each read()
method read to the ndview::data()
buffer, if given. If that field is nullptr
, it shall instead read but discard the data.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Descends into a group with name group
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Ascends from the lowermost group
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Retrieves metadata for a primitive
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Reads a named multi-dimensional array of double
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Reads a named multi-dimensional array of double complex
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Reads a named multi-dimensional array of double complex operand
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Reads a named multi-dimensional array of long
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.
|
pure virtual |
Reads a named multi-dimensional array of unsigned long
Implemented in alps::alea::stream_deserializer< Archive >, and alps::alea::hdf5_serializer.