|
CbmRoot
|
Interface to the element, which can contain daughter elements. More...
#include <CbmQaReportElement.h>
Public Member Functions | |
| virtual | ~CollapsibleElement ()=default |
| Destructor. | |
| virtual void | Add (std::shared_ptr< Element > pElement) |
| Adds element. | |
| const std::vector< std::shared_ptr< Element > > | GetDaughterElements () const |
| Get daughter elements. | |
| Element (std::string_view label, std::string_view title) | |
| Constructor. | |
| Element ()=default | |
| Default constructor. | |
| 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 | |
| std::vector< std::shared_ptr< Element > > | fvDaughterElements |
| Daughter elements. | |
| const Element * | fpMother = nullptr |
| Mother element. | |
| std::string | fsLabel = "" |
| Label for referencing. | |
| std::string | fsTitle = "" |
| Title of the element. | |
Interface to the element, which can contain daughter elements.
Definition at line 71 of file CbmQaReportElement.h.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Adds element.
Reimplemented in cbm::qa::report::Section, and Section.
Definition at line 80 of file CbmQaReportElement.h.
References fvDaughterElements.
Referenced by cbm::qa::report::Section::Add().
|
inlineprivateinherited |
Definition at line 60 of file CbmQaReportElement.h.
|
default |
Default constructor.
|
inline |
Constructor.
Definition at line 32 of file CbmQaReportElement.h.
|
pure virtualinherited |
Gets body of the element.
Implemented in cbm::qa::report::Figure, cbm::qa::report::Section, and cbm::qa::report::Table.
|
inline |
Get daughter elements.
Definition at line 87 of file CbmQaReportElement.h.
References fvDaughterElements.
Referenced by cbm::qa::report::BeamerEngine::SectionBody(), cbm::qa::report::HtmlEngine::SectionBody(), and cbm::qa::report::LatexEngine::SectionBody().
|
inlineinherited |
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().
|
inlineinherited |
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().
|
inlineinherited |
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().
|
inlineinherited |
|
inlineinherited |
|
privateinherited |
Mother element.
Definition at line 63 of file CbmQaReportElement.h.
Referenced by AssignMother(), and GetMother().
|
privateinherited |
Label for referencing.
Definition at line 64 of file CbmQaReportElement.h.
Referenced by Element(), GetLabel(), and SetLabel().
|
privateinherited |
Title of the element.
Definition at line 65 of file CbmQaReportElement.h.
Referenced by Element(), GetTitle(), and SetTitle().
|
private |
Daughter elements.
Definition at line 90 of file CbmQaReportElement.h.
Referenced by Add(), and GetDaughterElements().