User Manual, Developers Guide and API Documentation

wns::probe::bus::detail::PythonReadable Class Reference

Formatter Implementation that produces Python-parseable output.

#include <probe/bus/detail/OutputFormatter.hpp>

Inheritance diagram for wns::probe::bus::detail::PythonReadable:

Inheritance graph
[legend]
Collaboration diagram for wns::probe::bus::detail::PythonReadable:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual std::string getFilenameSuffix () const
 returns the filename suffix, empty by default
virtual std::string getPrefix () const
 returns the comment prefix, empty by default
virtual void print (std::ostream &strm, std::string valueType) const
 invokes printing the formatted output into the given stream object
 PythonReadable (const StatEvalTable &table)
virtual ~PythonReadable ()

Private Member Functions

virtual void doPrint (std::ostream &strm, std::list< int > fixedIndices, int dim, std::string valueType) const
 Implement this to control the formatting.


Detailed Description

Definition at line 146 of file OutputFormatter.hpp.


Constructor & Destructor Documentation

wns::probe::bus::detail::PythonReadable::PythonReadable ( const StatEvalTable table  )  [inline]

Definition at line 156 of file OutputFormatter.hpp.

virtual wns::probe::bus::detail::PythonReadable::~PythonReadable (  )  [inline, virtual]

Definition at line 161 of file OutputFormatter.hpp.


Member Function Documentation

void PythonReadable::doPrint ( std::ostream &  strm,
std::list< int fixedIndices,
int  dim,
std::string  valueType 
) const [private, virtual]

This method is meant to recursively walk over the tree structure of the DynamicMatrix

Implements wns::probe::bus::detail::OutputFormatter.

Definition at line 135 of file OutputFormatter.cpp.

virtual std::string wns::probe::bus::detail::PythonReadable::getFilenameSuffix (  )  const [inline, virtual]

Reimplemented from wns::probe::bus::detail::OutputFormatter.

Definition at line 170 of file OutputFormatter.hpp.

virtual std::string wns::probe::bus::detail::PythonReadable::getPrefix (  )  const [inline, virtual]

Reimplemented from wns::probe::bus::detail::OutputFormatter.

Definition at line 167 of file OutputFormatter.hpp.

void PythonReadable::print ( std::ostream &  strm,
std::string  valueType 
) const [virtual]

Reimplemented from wns::probe::bus::detail::OutputFormatter.

Definition at line 123 of file OutputFormatter.cpp.


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

Generated on Sun May 27 03:33:02 2012 for openWNS by  doxygen 1.5.5