/** * \file CbmHtmlReportElement.h * \brief Implementation of CbmReportElement for HTML output. * \author Semen Lebedev * \date 2011 */ #ifndef CBMHTMLREPORTELEMENT_H_ #define CBMHTMLREPORTELEMENT_H_ #include "CbmReportElement.h" #include #include /** * \class CbmHtmlReportElement * \brief Implementation of CbmReportElement for text output. * \author Semen Lebedev * \date 2011 */ class CbmHtmlReportElement: public CbmReportElement { public: /** * \brief Constructor. */ CbmHtmlReportElement(); /** * \brief Destructor. */ virtual ~CbmHtmlReportElement(); /** * \brief Inherited from CbmReportElement. */ virtual std::string TableBegin( const std::string& caption, const std::vector& colNames) const; /** * \brief Inherited from CbmReportElement. */ virtual std::string TableEnd() const; /** * \brief Inherited from CbmReportElement. */ virtual std::string TableEmptyRow( int nofCols, const std::string& name) const; /** * \brief Inherited from CbmReportElement. */ virtual std::string TableRow( const std::vector& row) const; /** * \brief Inherited from CbmReportElement. */ virtual std::string Image( const std::string& title, const std::string& file) const; /** * \brief Inherited from CbmReportElement. */ virtual std::string DocumentBegin() const; /** * \brief Inherited from CbmReportElement. */ virtual std::string DocumentEnd() const; /** * \brief Inherited from CbmReportElement. */ virtual std::string Title( int size, const std::string& title) const; ClassDef(CbmHtmlReportElement, 1) }; #endif /* CBMHTMLREPORTELEMENT_H_ */