htmlreporter Class Reference

HTML reporter. More...

#include <reporter.h>

Inheritance diagram for htmlreporter:

Inheritance graph
[legend]
Collaboration diagram for htmlreporter:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

HTML reporter.

This reporter aims to format the data in a nicer fashion, and creates graphic visualizations by punching together various stretched single-pixel images


Constructor & Destructor Documentation

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


Member Function Documentation

virtual void htmlreporter::bigblockend (  )  [inline, virtual]

Implements reporter.

virtual void htmlreporter::bigblockstart ( const string &  name  )  [inline, virtual]

Implements reporter.

References links, stringify(), targetcount, and tr().

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]

Implements reporter.

References tr().

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]

returns wether embedding images is possible

Reimplemented from reporter.

virtual void htmlreporter::operator() ( const string &  description,
int  value 
) [inline, virtual]

Implements reporter.

References tr().

virtual void htmlreporter::operator() ( const string &  description,
const std::string &  value 
) [inline, virtual]

Implements reporter.

References tr().

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

Implements reporter.

References tr().

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

Reimplemented from reporter.

Reimplemented in xmlreporter.

References InfoAppend(), links, and reporter::title.


Member Data Documentation

ostringstream htmlreporter::links [protected]

int htmlreporter::targetcount [protected]

Referenced by bigblockstart().


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

Generated on Tue May 19 19:41:59 2009 by  doxygen 1.5.8