62 virtual std::string
MyName()
const = 0;
66 virtual void Compile(
const std::string& )
const {};
A base abstract class to provide an interface for element body (a visitor in the Visitor pattern)
virtual std::string HeaderBody(const Header &header) const =0
Creates a body for header.
virtual std::string FigureBody(const Figure &figure) const =0
Creates a body for figure.
virtual std::string ScriptExtention() const =0
Returns script extention.
virtual std::string TableBody(const Table &table) const =0
Creates a body for table.
virtual std::string SectionBody(const Section §ion) const =0
Creates a body for section.
virtual std::string TailBody(const Tail &tail) const =0
Creates a body for tail.
virtual void Compile(const std::string &) const
Defines the compilation rule (can be omitted)
virtual std::string MyName() const =0
Returns engine name.
virtual ~Engine()=default
Destructor.
Table element in the report.