|
CbmRoot
|
Interface for the report element. More...
#include <CbmQaReportElement.h>
Public Member Functions | |
| Element (std::string_view label, std::string_view title) | |
| Constructor. | |
| Element ()=default | |
| Default constructor. | |
| virtual | ~Element ()=default |
| Destructor. | |
| virtual std::string | GetBody (const Engine &engine) const =0 |
| Gets body of the element. | |
| const std::string & | GetLabel () const |
| Gets label. | |
| const std::string & | GetTitle () const |
| Gets name. | |
| void | SetLabel (std::string_view label) |
| Sets label. | |
| void | SetTitle (std::string_view title) |
| Sets name. | |
| const Element * | GetMother () const |
| Gets mother element. | |
Private Member Functions | |
| void | AssignMother (const Element *pMother) |
Private Attributes | |
| const Element * | fpMother = nullptr |
| Mother element. | |
| std::string | fsLabel = "" |
| Label for referencing. | |
| std::string | fsTitle = "" |
| Title of the element. | |
Friends | |
| class | CollapsibleElement |
Interface for the report element.
Definition at line 25 of file CbmQaReportElement.h.
|
inline |
Constructor.
Definition at line 32 of file CbmQaReportElement.h.
References fsLabel, and fsTitle.
Referenced by AssignMother(), cbm::qa::report::Figure::Figure(), GetMother(), and cbm::qa::report::Table::Table().
|
default |
Default constructor.
|
virtualdefault |
Destructor.
|
inlineprivate |
Definition at line 60 of file CbmQaReportElement.h.
|
pure virtual |
Gets body of the element.
Implemented in cbm::qa::report::Figure, cbm::qa::report::Section, and cbm::qa::report::Table.
|
inline |
Gets label.
Definition at line 45 of file CbmQaReportElement.h.
References fsLabel.
Referenced by cbm::qa::report::BeamerEngine::FigureBody(), cbm::qa::report::HtmlEngine::FigureBody(), cbm::qa::report::LatexEngine::FigureBody(), cbm::qa::report::Table::Set(), cbm::qa::report::BeamerEngine::TableBody(), and cbm::qa::report::LatexEngine::TableBody().
|
inline |
Gets mother element.
Definition at line 57 of file CbmQaReportElement.h.
References Element(), and fpMother.
Referenced by cbm::qa::report::BeamerEngine::FigureBody(), and cbm::qa::report::BeamerEngine::TableBody().
|
inline |
Gets name.
Definition at line 48 of file CbmQaReportElement.h.
References fsTitle.
Referenced by cbm::qa::report::BeamerEngine::FigureBody(), cbm::qa::report::BeamerEngine::SectionBody(), cbm::qa::report::HtmlEngine::SectionBody(), cbm::qa::report::LatexEngine::SectionBody(), and cbm::qa::report::BeamerEngine::TableBody().
|
inline |
|
inline |
|
friend |
Definition at line 26 of file CbmQaReportElement.h.
References CollapsibleElement.
Referenced by CollapsibleElement.
|
private |
Mother element.
Definition at line 63 of file CbmQaReportElement.h.
Referenced by AssignMother(), and GetMother().
|
private |
Label for referencing.
Definition at line 64 of file CbmQaReportElement.h.
Referenced by Element(), GetLabel(), and SetLabel().
|
private |
Title of the element.
Definition at line 65 of file CbmQaReportElement.h.
Referenced by Element(), GetTitle(), and SetTitle().