A base abstract class to provide an interface for element body (a visitor in the Visitor pattern)
More...
#include <CbmQaReportEngine.h>
|
| virtual | ~Engine ()=default |
| | Destructor.
|
| |
| virtual std::string | FigureBody (const Figure &figure) const=0 |
| | Creates a body for figure.
|
| |
| virtual std::string | HeaderBody (const Header &header) const=0 |
| | Creates a body for header.
|
| |
| virtual std::string | SectionBody (const Section §ion) const=0 |
| | Creates a body for section.
|
| |
| virtual std::string | TableBody (const Table &table) const=0 |
| | Creates a body for table.
|
| |
| virtual std::string | TailBody (const Tail &tail) const=0 |
| | Creates a body for tail.
|
| |
| virtual std::string | ScriptExtention () const=0 |
| | Returns script extention.
|
| |
| virtual std::string | MyName () const=0 |
| | Returns engine name.
|
| |
| virtual void | Compile (const std::string &) const |
| | Defines the compilation rule (can be omitted)
|
| |
A base abstract class to provide an interface for element body (a visitor in the Visitor pattern)
Each method of the class provides interface to create the body of the document element. The body is returned as a string.
Definition at line 28 of file CbmQaReportEngine.h.
◆ ~Engine()
| virtual cbm::qa::report::Engine::~Engine |
( |
| ) |
|
|
virtualdefault |
◆ Compile()
| virtual void cbm::qa::report::Engine::Compile |
( |
const std::string & | | ) |
const |
|
inlinevirtual |
Defines the compilation rule (can be omitted)
- Parameters
-
Definition at line 66 of file CbmQaReportEngine.h.
◆ FigureBody()
| virtual std::string cbm::qa::report::Engine::FigureBody |
( |
const Figure & | figure | ) |
const |
|
pure virtual |
Creates a body for figure.
- Parameters
-
| figure | Reference to figure |
- Returns
- Figure body
◆ HeaderBody()
| virtual std::string cbm::qa::report::Engine::HeaderBody |
( |
const Header & | header | ) |
const |
|
pure virtual |
Creates a body for header.
- Parameters
-
| header | Reference to header |
- Returns
- Header body
◆ MyName()
| virtual std::string cbm::qa::report::Engine::MyName |
( |
| ) |
const |
|
pure virtual |
◆ ScriptExtention()
| virtual std::string cbm::qa::report::Engine::ScriptExtention |
( |
| ) |
const |
|
pure virtual |
Returns script extention.
◆ SectionBody()
| virtual std::string cbm::qa::report::Engine::SectionBody |
( |
const Section & | section | ) |
const |
|
pure virtual |
Creates a body for section.
- Parameters
-
| section | Reference to section |
- Returns
- Section body
◆ TableBody()
| virtual std::string cbm::qa::report::Engine::TableBody |
( |
const Table & | table | ) |
const |
|
pure virtual |
Creates a body for table.
- Parameters
-
- Returns
- Table body
◆ TailBody()
| virtual std::string cbm::qa::report::Engine::TailBody |
( |
const Tail & | tail | ) |
const |
|
pure virtual |
Creates a body for tail.
- Parameters
-
- Returns
- Figure body
The documentation for this class was generated from the following file: