#include <reporter.h>
Classes | |
class | subblock |
Public Types | |
typedef shared_ptr< picgen > | pgptr |
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 |
typedef shared_ptr<picgen> reporter::pgptr |
reporter::reporter | ( | const string & | title_ = "ESM Data" |
) | [inline] |
virtual void reporter::bigblockbreak | ( | ) | [inline, virtual] |
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] |
Implemented in txtreporter, and htmlreporter.
Referenced by bigblockbreak(), reporter::reporter::subblock::operator++(), Vehicles_Used::printOn(), and reportray().
virtual void reporter::blockend | ( | ) | [pure virtual] |
Implemented in txtreporter, and htmlreporter.
Referenced by reportray(), and reporter::reporter::subblock::~subblock().
virtual void reporter::blockstart | ( | const string & | description, | |
int | blockcount | |||
) | [pure virtual] |
Implemented in txtreporter, and htmlreporter.
Referenced by reportray(), and reporter::reporter::subblock::subblock().
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] |
virtual bool reporter::hasBarGraph | ( | ) | const [inline, virtual] |
virtual bool reporter::hasPlotGraph | ( | ) | const [inline, virtual] |
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.
void reporter::reportray | ( | const T & | ray, | |
const string & | description | |||
) | [inline] |
References blockbreak(), blockend(), and blockstart().
void reporter::reportraynosub | ( | const T & | ray | ) | [inline] |
References bigblockbreak().
Referenced by Driver_Activity_Data::printOn(), Vehicles_Used::printOn(), and Places::printOn().
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.
string reporter::title |
Referenced by xmlreporter::str(), htmlreporter::str(), and txtreporter::str().
bool reporter::verbose |
Referenced by main(), vublock::printOn(), and Vehicles_Used::printOn().