#include <reporter.h>
Public Member Functions | |
htmlreporter (const string &title_="ESM Data") | |
virtual string | str () |
virtual void | bigblockstart (const string &name) |
virtual void | bigblockend () |
virtual void | blockstart (const string &description, int blockcount) |
virtual void | blockbreak () |
virtual void | blockend () |
virtual void | single (const string &description, bool ishead=false) |
virtual void | operator() (const string &description, const std::string &value) |
virtual void | operator() (const string &description, int value) |
virtual bool | hasBarGraph () const |
returns wether embedding images is possible | |
virtual pgptr | getBarGraph () const |
determines in what way images should be created | |
Protected Attributes | |
ostringstream | links |
int | targetcount |
This reporter aims to format the data in a nicer fashion, and creates graphic visualizations by punching together various stretched single-pixel images
htmlreporter::htmlreporter | ( | const string & | title_ = "ESM Data" |
) | [inline] |
virtual void htmlreporter::bigblockend | ( | ) | [inline, virtual] |
Implements reporter.
virtual void htmlreporter::bigblockstart | ( | const string & | name | ) | [inline, virtual] |
virtual void htmlreporter::blockbreak | ( | ) | [inline, virtual] |
Implements reporter.
virtual void htmlreporter::blockend | ( | ) | [inline, virtual] |
Implements reporter.
virtual void htmlreporter::blockstart | ( | const string & | description, | |
int | blockcount | |||
) | [inline, virtual] |
virtual pgptr htmlreporter::getBarGraph | ( | ) | const [inline, virtual] |
determines in what way images should be created
Reimplemented from reporter.
Reimplemented in xmlreporter.
virtual bool htmlreporter::hasBarGraph | ( | ) | const [inline, virtual] |
virtual void htmlreporter::operator() | ( | const string & | description, | |
int | value | |||
) | [inline, virtual] |
virtual void htmlreporter::operator() | ( | const string & | description, | |
const std::string & | value | |||
) | [inline, virtual] |
virtual void htmlreporter::single | ( | const string & | description, | |
bool | ishead = false | |||
) | [inline, virtual] |
virtual string htmlreporter::str | ( | ) | [inline, virtual] |
Reimplemented from reporter.
Reimplemented in xmlreporter.
References InfoAppend(), links, and reporter::title.
ostringstream htmlreporter::links [protected] |
Referenced by bigblockstart(), xmlreporter::str(), and str().
int htmlreporter::targetcount [protected] |
Referenced by bigblockstart().