28 if (
auto* pSubSection =
dynamic_cast<Section*
>(pElement.get())) {
29 pSubSection->SetLevel(this->
fLevel + 1);
Base class for the report section (header)
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()=default
Default constructor.
void Add(std::shared_ptr< Element > pElement) override
Adds daughter element.
int fLevel
Level of the section.