User Manual, Developers Guide and API Documentation

wns::probe::bus::detail::MatlabReadable Class Reference

Formatter Implementation that produces Matlab-parseable output.

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

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

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

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
 MatlabReadable (const StatEvalTable &table)
virtual void print (std::ostream &strm, std::string valueType) const
 invokes printing the formatted output into the given stream object
virtual ~MatlabReadable ()

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 174 of file OutputFormatter.hpp.


Constructor & Destructor Documentation

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

Definition at line 184 of file OutputFormatter.hpp.

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

Definition at line 189 of file OutputFormatter.hpp.


Member Function Documentation

void MatlabReadable::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.

Reimplemented in wns::probe::bus::detail::MatlabReadableSparse.

Definition at line 228 of file OutputFormatter.cpp.

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

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

Reimplemented in wns::probe::bus::detail::Plain.

Definition at line 198 of file OutputFormatter.hpp.

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

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

Definition at line 195 of file OutputFormatter.hpp.

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

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

Definition at line 213 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