27 Section(std::string_view label, std::string_view title);
40 void Add(std::shared_ptr<Element> pElement)
override;
Base class for the report element (header)
Interface to the element, which can contain daughter elements.
A base abstract class to provide an interface for element body (a visitor in the Visitor pattern)
virtual std::string SectionBody(const Section §ion) const =0
Creates a body for section.
std::string GetBody(const Engine &engine) const override
Gets body of the element.
virtual ~Section()=default
Destructor.
int GetLevel() const
Gets level of the section.
Section()=default
Default constructor.
void Add(std::shared_ptr< Element > pElement) override
Adds daughter element.
int fLevel
Level of the section.
void SetLevel(int level)
Sets level of the section.