Public Member Functions | List of all members
stan::callbacks::writer Class Reference

#include "stan/callbacks/writer.hpp"

Inheritance diagram for stan::callbacks::writer:
ana::MemoryTupleWriter stan::callbacks::stream_writer stan::callbacks::tee_writer stan::test::unit::instrumented_writer test::mock_writer values values values

Public Member Functions

virtual ~writer ()
 
virtual void operator() (const std::vector< std::string > &names)
 
virtual void operator() (const std::vector< double > &state)
 
virtual void operator() ()
 
virtual void operator() (const std::string &message)
 

Detailed Description

writer is a base class defining the interface for Stan writer callbacks. The base class can be used as a no-op implementation.

Definition at line 16 of file writer.hpp.

Constructor & Destructor Documentation

virtual stan::callbacks::writer::~writer ( )
inlinevirtual

Virtual destructor.

Definition at line 21 of file writer.hpp.

21 {}

Member Function Documentation

virtual void stan::callbacks::writer::operator() ( const std::vector< std::string > &  names)
inlinevirtual

Writes a set of names.

Parameters
[in]namesNames in a std::vector

Reimplemented in ana::MemoryTupleWriter, stan::test::unit::instrumented_writer, stan::callbacks::stream_writer, stan::callbacks::tee_writer, values, values, values, and test::mock_writer.

Definition at line 28 of file writer.hpp.

28  {
29  }
virtual void stan::callbacks::writer::operator() ( const std::vector< double > &  state)
inlinevirtual

Writes a set of values.

Parameters
[in]stateValues in a std::vector

Reimplemented in ana::MemoryTupleWriter, stan::test::unit::instrumented_writer, stan::callbacks::stream_writer, values, values, values, stan::callbacks::tee_writer, and test::mock_writer.

Definition at line 36 of file writer.hpp.

36  {
37  }
virtual void stan::callbacks::writer::operator() ( void  )
inlinevirtual

Writes blank input.

Reimplemented in stan::test::unit::instrumented_writer, stan::callbacks::stream_writer, stan::callbacks::tee_writer, and test::mock_writer.

Definition at line 42 of file writer.hpp.

42  {
43  }
virtual void stan::callbacks::writer::operator() ( const std::string message)
inlinevirtual

Writes a string.

Parameters
[in]messageA string

Reimplemented in stan::test::unit::instrumented_writer, stan::callbacks::stream_writer, stan::callbacks::tee_writer, and test::mock_writer.

Definition at line 50 of file writer.hpp.

50  {
51  }

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