28 if (
auto* pSubSection =
dynamic_cast<Section*
>(pElement.get())) {
29 pSubSection->SetLevel(this->
fLevel + 1);
Base class for the report section (header)
Section()=default
Default constructor.
Interface to the element, which can contain daughter elements.
virtual void Add(std::shared_ptr< Element > pElement)
Adds element.
Interface for the report element.
Section(std::string_view label, std::string_view title)
Constructor.
void Add(std::shared_ptr< Element > pElement) override
Adds daughter element.
int fLevel
Level of the section.