CbmRoot
Loading...
Searching...
No Matches
CbmHtmlReportElement.h
Go to the documentation of this file.
1/* Copyright (C) 2011-2020 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Semen Lebedev, Andrey Lebedev [committer], Florian Uhlig */
4
11#ifndef CBMHTMLREPORTELEMENT_H_
12#define CBMHTMLREPORTELEMENT_H_
13
14#include "CbmReportElement.h" // for CbmReportElement
15
16#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
17
18#include <string> // for string
19#include <vector> // for vector
20
28public:
33
37 virtual ~CbmHtmlReportElement();
38
42 virtual std::string TableBegin(const std::string& caption, const std::vector<std::string>& colNames) const;
43
47 virtual std::string TableEnd() const;
48
52 virtual std::string TableEmptyRow(int nofCols, const std::string& name) const;
53
57 virtual std::string TableRow(const std::vector<std::string>& row) const;
58
62 virtual std::string Image(const std::string& title, const std::string& file) const;
63
67 virtual std::string DocumentBegin() const;
68
72 virtual std::string DocumentEnd() const;
73
77 virtual std::string Title(int size, const std::string& title) const;
78
79 ClassDef(CbmHtmlReportElement, 1)
80};
81
82#endif /* CBMHTMLREPORTELEMENT_H_ */
Abstract class for basic report elements (headers, tables, images etc.).
static constexpr size_t size()
Definition KfSimdPseudo.h:2
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.
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.).