CbmRoot
|
Section of the report. More...
#include <CbmQaReportSection.h>
Public Member Functions | |
Section (std::string_view label, std::string_view title) | |
Constructor. | |
Section ()=default | |
Default constructor. | |
std::string | GetBody (const Engine &engine) const override |
Gets body of the element. | |
virtual | ~Section ()=default |
Destructor. | |
void | Add (std::shared_ptr< Element > pElement) override |
Adds daughter element. | |
int | GetLevel () const |
Gets level of the section. | |
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. | |
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. | |
Protected Member Functions | |
void | SetLevel (int level) |
Sets level of the section. | |
Private Member Functions | |
void | AssignMother (const Element *pMother) |
Private Attributes | |
int | fLevel = 0 |
Level of the section. | |
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. | |
Section of the report.
Definition at line 22 of file CbmQaReportSection.h.
Section::Section | ( | std::string_view | label, |
std::string_view | title ) |
Constructor.
label | Label of section |
title | Title |
Definition at line 18 of file CbmQaReportSection.cxx.
|
default |
Default constructor.
|
virtualdefault |
Destructor.
|
overridevirtual |
Adds daughter element.
Reimplemented from cbm::qa::report::CollapsibleElement.
Definition at line 25 of file CbmQaReportSection.cxx.
References cbm::qa::report::CollapsibleElement::Add(), and fLevel.
|
inlineprivateinherited |
Definition at line 60 of file CbmQaReportElement.h.
References cbm::qa::report::Element::fpMother.
|
defaultinherited |
Default constructor.
|
inlineinherited |
Constructor.
Definition at line 32 of file CbmQaReportElement.h.
|
inlineoverridevirtual |
Gets body of the element.
engine | A concrete implementation of the Engine to get the element body |
Implements cbm::qa::report::Element.
Definition at line 34 of file CbmQaReportSection.h.
References cbm::qa::report::Engine::SectionBody().
|
inlineinherited |
Get daughter elements.
Definition at line 87 of file CbmQaReportElement.h.
References cbm::qa::report::CollapsibleElement::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 cbm::qa::report::Element::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 level of the section.
Definition at line 43 of file CbmQaReportSection.h.
References fLevel.
Referenced by cbm::qa::report::BeamerEngine::SectionBody(), cbm::qa::report::HtmlEngine::SectionBody(), and cbm::qa::report::LatexEngine::SectionBody().
|
inlineinherited |
Gets mother element.
Definition at line 57 of file CbmQaReportElement.h.
References cbm::qa::report::Element::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 cbm::qa::report::Element::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 |
Sets label.
Definition at line 51 of file CbmQaReportElement.h.
References cbm::qa::report::Element::fsLabel.
|
inlineprotected |
Sets level of the section.
level | Level of the section (is it section, subsection etc.) |
Definition at line 49 of file CbmQaReportSection.h.
References fLevel.
|
inlineinherited |
Sets name.
Definition at line 54 of file CbmQaReportElement.h.
References cbm::qa::report::Element::fsTitle.
|
private |
Level of the section.
Definition at line 52 of file CbmQaReportSection.h.
Referenced by Add(), GetLevel(), and SetLevel().
|
privateinherited |
Mother element.
Definition at line 63 of file CbmQaReportElement.h.
Referenced by cbm::qa::report::Element::AssignMother(), and cbm::qa::report::Element::GetMother().
|
privateinherited |
Label for referencing.
Definition at line 64 of file CbmQaReportElement.h.
Referenced by cbm::qa::report::Element::GetLabel(), and cbm::qa::report::Element::SetLabel().
|
privateinherited |
Title of the element.
Definition at line 65 of file CbmQaReportElement.h.
Referenced by cbm::qa::report::Element::GetTitle(), and cbm::qa::report::Element::SetTitle().
|
privateinherited |
Daughter elements.
Definition at line 90 of file CbmQaReportElement.h.
Referenced by cbm::qa::report::CollapsibleElement::Add(), and cbm::qa::report::CollapsibleElement::GetDaughterElements().