|
CbmRoot
|
A base abstract class to provide an interface for element body (a visitor in the Visitor pattern) More...
#include <CbmQaReportEngine.h>
Public Member Functions | |
| 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.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Defines the compilation rule (can be omitted)
| source | Path to the source |
Reimplemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::LatexEngine, and LatexEngine.
Definition at line 66 of file CbmQaReportEngine.h.
Referenced by cbm::qa::report::Builder::CreateScript().
|
pure virtual |
Creates a body for figure.
| figure | Reference to figure |
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Figure::GetBody().
|
pure virtual |
Creates a body for header.
| header | Reference to header |
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Header::GetBody().
|
pure virtual |
Returns engine name.
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Builder::CreateScript().
|
pure virtual |
Returns script extention.
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Builder::CreateScript().
|
pure virtual |
Creates a body for section.
| section | Reference to section |
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Section::GetBody().
|
pure virtual |
Creates a body for table.
| table | Reference to table |
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Table::GetBody().
|
pure virtual |
Creates a body for tail.
| tail | Reference to tail |
Implemented in BeamerEngine, cbm::qa::report::BeamerEngine, cbm::qa::report::HtmlEngine, cbm::qa::report::LatexEngine, HtmlEngine, and LatexEngine.
Referenced by cbm::qa::report::Tail::GetBody().