11#ifndef CBMHTMLREPORTELEMENT_H_
12#define CBMHTMLREPORTELEMENT_H_
42 virtual std::string
TableBegin(
const std::string& caption,
const std::vector<std::string>& colNames)
const;
47 virtual std::string
TableEnd()
const;
52 virtual std::string
TableEmptyRow(
int nofCols,
const std::string& name)
const;
57 virtual std::string
TableRow(
const std::vector<std::string>& row)
const;
62 virtual std::string
Image(
const std::string& title,
const std::string& file)
const;
77 virtual std::string
Title(
int size,
const std::string& title)
const;
Abstract class for basic report elements (headers, tables, images etc.).
static constexpr size_t size()
Implementation of CbmReportElement for text output.
virtual std::string TableEnd() const
Inherited from CbmReportElement.
virtual std::string DocumentEnd() const
Inherited from CbmReportElement.
virtual std::string TableRow(const std::vector< std::string > &row) const
Inherited from CbmReportElement.
virtual std::string TableEmptyRow(int nofCols, const std::string &name) const
Inherited from CbmReportElement.
virtual std::string Image(const std::string &title, const std::string &file) const
Inherited from CbmReportElement.
virtual std::string TableBegin(const std::string &caption, const std::vector< std::string > &colNames) const
Inherited from CbmReportElement.
CbmHtmlReportElement()
Constructor.
virtual std::string Title(int size, const std::string &title) const
Inherited from CbmReportElement.
virtual ~CbmHtmlReportElement()
Destructor.
virtual std::string DocumentBegin() const
Inherited from CbmReportElement.
Abstract class for basic report elements (headers, tables, images etc.).