ALPSCore reference
|
#include <core.hpp>
Public Member Functions | |
virtual void | enter (const std::string &group)=0 |
virtual void | exit ()=0 |
virtual void | write (const std::string &key, ndview< const double >)=0 |
virtual void | write (const std::string &key, ndview< const std::complex< double >>)=0 |
virtual void | write (const std::string &key, ndview< const complex_op< double >>)=0 |
virtual void | write (const std::string &key, ndview< const long >)=0 |
virtual void | write (const std::string &key, ndview< const unsigned long >)=0 |
virtual serializer * | clone () |
virtual | ~serializer () |
Foster the serialization of data to 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, written by the write()
family of methods.
|
inlinevirtual |
|
inlinevirtual |
Returns a copy of *this
created using new
Reimplemented in alps::alea::util::null_serializer.
|
pure virtual |
Creates and descends into a group with name group
Implemented in alps::alea::util::debug_serializer, alps::alea::stream_serializer< Archive >, alps::alea::hdf5_serializer, and alps::alea::util::null_serializer.
|
pure virtual |
Ascends from the lowermost group
Implemented in alps::alea::util::debug_serializer, alps::alea::stream_serializer< Archive >, alps::alea::hdf5_serializer, and alps::alea::util::null_serializer.
|
pure virtual |
Writes a named multi-dimensional array of doubles
Implemented in alps::alea::util::debug_serializer, alps::alea::hdf5_serializer, alps::alea::stream_serializer< Archive >, and alps::alea::util::null_serializer.
|
pure virtual |
Writes a named multi-dimensional array of complex doubles
Implemented in alps::alea::util::debug_serializer, alps::alea::hdf5_serializer, alps::alea::stream_serializer< Archive >, and alps::alea::util::null_serializer.
|
pure virtual |
Writes a named multi-dimensional array of complex operands
Implemented in alps::alea::util::debug_serializer, alps::alea::hdf5_serializer, alps::alea::stream_serializer< Archive >, and alps::alea::util::null_serializer.
|
pure virtual |
Writes a named multi-dimensional array of longs
Implemented in alps::alea::util::debug_serializer, alps::alea::hdf5_serializer, alps::alea::stream_serializer< Archive >, and alps::alea::util::null_serializer.
|
pure virtual |
Writes a named multi-dimensional array of unsigned longs
Implemented in alps::alea::util::debug_serializer, alps::alea::hdf5_serializer, alps::alea::stream_serializer< Archive >, and alps::alea::util::null_serializer.