reporter Class Reference

#include <reporter.h>

Inheritance diagram for reporter:

Inheritance graph
[legend]
Collaboration diagram for reporter:

Collaboration graph
[legend]

List of all members.

Classes

class  subblock

Public Types

typedef shared_ptr< picgenpgptr

Public Member Functions

 reporter (const string &title_="ESM Data")
subblock newsub (const string &description, int blockcount)
virtual string str ()
virtual void blockstart (const string &description, int blockcount)=0
virtual void blockend ()=0
virtual void blockbreak ()=0
virtual void single (const string &description, bool ishead=false)=0
virtual void operator() (const string &description, const std::string &value)=0
virtual void operator() (const string &description, int value)=0
template<typename T >
void reportray (const T &ray, const string &description)
template<typename T >
void reportraynosub (const T &ray)
virtual void bigblockstart (const string &name)=0
virtual void bigblockbreak ()
virtual void bigblockend ()=0
virtual bool hasBarGraph () const
 returns wether embedding images is possible
virtual pgptr getBarGraph () const
 determines in what way images should be created
virtual bool hasPlotGraph () const
virtual pgptr getPlotGraph () const

Public Attributes

string title
bool verbose


Member Typedef Documentation

typedef shared_ptr<picgen> reporter::pgptr


Constructor & Destructor Documentation

reporter::reporter ( const string &  title_ = "ESM Data"  )  [inline]


Member Function Documentation

virtual void reporter::bigblockbreak (  )  [inline, virtual]

References blockbreak().

Referenced by reportraynosub().

virtual void reporter::bigblockend (  )  [pure virtual]

Implemented in txtreporter, and htmlreporter.

virtual void reporter::bigblockstart ( const string &  name  )  [pure virtual]

Implemented in txtreporter, and htmlreporter.

virtual void reporter::blockbreak (  )  [pure virtual]

virtual void reporter::blockend (  )  [pure virtual]

virtual void reporter::blockstart ( const string &  description,
int  blockcount 
) [pure virtual]

virtual pgptr reporter::getBarGraph (  )  const [inline, virtual]

determines in what way images should be created

Reimplemented in htmlreporter, and xmlreporter.

Referenced by visualization().

virtual pgptr reporter::getPlotGraph (  )  const [inline, virtual]

Reimplemented in xmlreporter.

Referenced by Speeds::BriefReport().

virtual bool reporter::hasBarGraph (  )  const [inline, virtual]

returns wether embedding images is possible

Reimplemented in htmlreporter.

virtual bool reporter::hasPlotGraph (  )  const [inline, virtual]

Reimplemented in xmlreporter.

Referenced by Speeds::BriefReport().

subblock reporter::newsub ( const string &  description,
int  blockcount 
) [inline]

virtual void reporter::operator() ( const string &  description,
int  value 
) [pure virtual]

Implemented in txtreporter, and htmlreporter.

virtual void reporter::operator() ( const string &  description,
const std::string &  value 
) [pure virtual]

Implemented in txtreporter, and htmlreporter.

template<typename T >
void reporter::reportray ( const T &  ray,
const string &  description 
) [inline]

template<typename T >
void reporter::reportraynosub ( const T &  ray  )  [inline]

virtual void reporter::single ( const string &  description,
bool  ishead = false 
) [pure virtual]

Implemented in txtreporter, and htmlreporter.

Referenced by EventBase::printOn(), and Vehicles_Used::printOn().

virtual string reporter::str (  )  [inline, virtual]

Reimplemented in txtreporter, htmlreporter, and xmlreporter.


Member Data Documentation


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

Generated on Tue May 19 19:42:00 2009 by  doxygen 1.5.8