Go to the documentation of this file.
7 #ifndef CBMREPORTELEMENT_H_
8 #define CBMREPORTELEMENT_H_
52 const std::vector<std::string>& colNames)
const = 0;
67 const std::string& name)
const = 0;
74 virtual std::string
TableRow(
const std::vector<std::string>& row)
const = 0;
82 virtual std::string
Image(
const std::string& title,
83 const std::string& file)
const = 0;
103 virtual std::string
Title(
int size,
const std::string& title)
const = 0;
virtual std::string TableBegin(const std::string &caption, const std::vector< std::string > &colNames) const =0
Return string with table open tag.
virtual std::string DocumentBegin() const =0
Return string with open tags for document.
virtual std::string TableRow(const std::vector< std::string > &row) const =0
Return string with table row tags.
virtual std::string DocumentEnd() const =0
Return string with close tags of the document.
virtual std::string Image(const std::string &title, const std::string &file) const =0
Return string with image tags.
virtual std::string TableEmptyRow(int nofCols, const std::string &name) const =0
Return string with table row which spans over all columns.
CbmReportElement()
Constructor.
virtual std::string TableEnd() const =0
Return string with table close tag.
virtual std::string Title(int size, const std::string &title) const =0
Return string with title.
Abstract class for basic report elements (headers, tables, images etc.).
virtual ~CbmReportElement()
Destructor.