ALPSCore reference
Public Member Functions | List of all members
alps::alea::serializer Struct Referenceabstract

#include <core.hpp>

Inheritance diagram for alps::alea::serializer:
Inheritance graph
Collaboration diagram for alps::alea::serializer:
Collaboration graph

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 serializerclone ()
 
virtual ~serializer ()
 

Detailed Description

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.

See also
alps::alea::serialize(), alps::alea::deserializer

Definition at line 310 of file core.hpp.

Constructor & Destructor Documentation

virtual alps::alea::serializer::~serializer ( )
inlinevirtual

Destructor

Definition at line 337 of file core.hpp.

Member Function Documentation

virtual serializer* alps::alea::serializer::clone ( )
inlinevirtual

Returns a copy of *this created using new

Reimplemented in alps::alea::util::null_serializer.

Definition at line 334 of file core.hpp.

virtual void alps::alea::serializer::enter ( const std::string &  group)
pure virtual
virtual void alps::alea::serializer::exit ( )
pure virtual
virtual void alps::alea::serializer::write ( const std::string &  key,
ndview< const double >   
)
pure virtual
virtual void alps::alea::serializer::write ( const std::string &  key,
ndview< const std::complex< double >>   
)
pure virtual
virtual void alps::alea::serializer::write ( const std::string &  key,
ndview< const complex_op< double >>   
)
pure virtual
virtual void alps::alea::serializer::write ( const std::string &  key,
ndview< const long >   
)
pure virtual
virtual void alps::alea::serializer::write ( const std::string &  key,
ndview< const unsigned long >   
)
pure virtual

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