ALPSCore reference
Public Member Functions | Protected Member Functions | List of all members
alps::alea::util::debug_serializer Class Reference

#include <serializer.hpp>

Inheritance diagram for alps::alea::util::debug_serializer:
Inheritance graph
Collaboration diagram for alps::alea::util::debug_serializer:
Collaboration graph

Public Member Functions

 debug_serializer (std::ostream &stream)
 
 debug_serializer (std::ostream &stream, serializer &inner)
 
void enter (const std::string &group) override
 
void exit () override
 
void write (const std::string &key, ndview< const double > value) override
 
void write (const std::string &key, ndview< const std::complex< double >> value) override
 
void write (const std::string &key, ndview< const complex_op< double >> value) override
 
void write (const std::string &key, ndview< const long > value) override
 
void write (const std::string &key, ndview< const unsigned long > value) override
 
- Public Member Functions inherited from alps::alea::serializer
virtual serializerclone ()
 
virtual ~serializer ()
 

Protected Member Functions

template<typename T >
void do_write (const std::string &key, ndview< const T > value)
 

Detailed Description

Definition at line 38 of file serializer.hpp.

Constructor & Destructor Documentation

alps::alea::util::debug_serializer::debug_serializer ( std::ostream &  stream)
inline

Definition at line 42 of file serializer.hpp.

alps::alea::util::debug_serializer::debug_serializer ( std::ostream &  stream,
serializer inner 
)
inline

Definition at line 50 of file serializer.hpp.

Member Function Documentation

template<typename T >
void alps::alea::util::debug_serializer::do_write ( const std::string &  key,
ndview< const T >  value 
)
inlineprotected

Definition at line 89 of file serializer.hpp.

void alps::alea::util::debug_serializer::enter ( const std::string &  group)
inlineoverridevirtual

Creates and descends into a group with name group

Implements alps::alea::serializer.

Definition at line 55 of file serializer.hpp.

void alps::alea::util::debug_serializer::exit ( )
inlineoverridevirtual

Ascends from the lowermost group

Implements alps::alea::serializer.

Definition at line 61 of file serializer.hpp.

void alps::alea::util::debug_serializer::write ( const std::string &  key,
ndview< const double >   
)
inlineoverridevirtual

Writes a named multi-dimensional array of doubles

Implements alps::alea::serializer.

Definition at line 67 of file serializer.hpp.

void alps::alea::util::debug_serializer::write ( const std::string &  key,
ndview< const std::complex< double >>   
)
inlineoverridevirtual

Writes a named multi-dimensional array of complex doubles

Implements alps::alea::serializer.

Definition at line 71 of file serializer.hpp.

void alps::alea::util::debug_serializer::write ( const std::string &  key,
ndview< const complex_op< double >>   
)
inlineoverridevirtual

Writes a named multi-dimensional array of complex operands

Implements alps::alea::serializer.

Definition at line 75 of file serializer.hpp.

void alps::alea::util::debug_serializer::write ( const std::string &  key,
ndview< const long >   
)
inlineoverridevirtual

Writes a named multi-dimensional array of longs

Implements alps::alea::serializer.

Definition at line 79 of file serializer.hpp.

void alps::alea::util::debug_serializer::write ( const std::string &  key,
ndview< const unsigned long >   
)
inlineoverridevirtual

Writes a named multi-dimensional array of unsigned longs

Implements alps::alea::serializer.

Definition at line 83 of file serializer.hpp.


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