|
BmnRoot
|
Abstract class for basic report elements (headers, tables, images etc.). More...
#include <BmnReportElement.h>
Public Member Functions | |
| BmnReportElement () | |
| Constructor. | |
| virtual | ~BmnReportElement () |
| Destructor. | |
| virtual string | TableBegin (const string &caption, const vector< string > &colNames) const =0 |
| Return string with table open tag. | |
| virtual string | TableEnd () const =0 |
| Return string with table close tag. | |
| virtual string | TableEmptyRow (int nofCols, const string &name) const =0 |
| Return string with table row which spans over all columns. | |
| virtual string | TableRow (const vector< string > &row) const =0 |
| Return string with table row tags. | |
| virtual string | Image (const string &title, const string &file) const =0 |
| Return string with image tags. | |
| virtual string | DocumentBegin () const =0 |
| Return string with open tags for document. | |
| virtual string | DocumentEnd () const =0 |
| Return string with close tags of the document. | |
| virtual string | Title (int size, const string &title) const =0 |
| Return string with title. | |
| BmnReportElement () | |
| Constructor. | |
| virtual | ~BmnReportElement () |
| Destructor. | |
| virtual string | TableBegin (const string &caption, const vector< string > &colNames) const =0 |
| Return string with table open tag. | |
| virtual string | TableEnd () const =0 |
| Return string with table close tag. | |
| virtual string | TableEmptyRow (int nofCols, const string &name) const =0 |
| Return string with table row which spans over all columns. | |
| virtual string | TableRow (const vector< string > &row) const =0 |
| Return string with table row tags. | |
| virtual string | Image (const string &title, const string &file) const =0 |
| Return string with image tags. | |
| virtual string | DocumentBegin () const =0 |
| Return string with open tags for document. | |
| virtual string | DocumentEnd () const =0 |
| Return string with close tags of the document. | |
| virtual string | Title (int size, const string &title) const =0 |
| Return string with title. | |
Abstract class for basic report elements (headers, tables, images etc.).
Each concrete implementation for report elements has to implement this interface (e.g. Latex, text, HTML). Report has to be written using functionality of this interface class in order to be able to automatically produce reports in different representations (e.g. Latex, text, HTML).
Definition at line 32 of file BmnReportElement.h.
|
inline |
Constructor.
Definition at line 38 of file BmnReportElement.h.
|
inlinevirtual |
Destructor.
Definition at line 43 of file BmnReportElement.h.
|
inline |
Constructor.
Definition at line 38 of file BmnReportElement.h.
|
inlinevirtual |
Destructor.
Definition at line 43 of file BmnReportElement.h.
|
pure virtual |
Return string with open tags for document.
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
Referenced by BmnPidQaReport::Create(), BmnProfQaReport::Create(), BmnSimulationReport::Create(), and BmnTrackingQaReport::Create().
|
pure virtual |
Return string with open tags for document.
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with close tags of the document.
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
Referenced by BmnPidQaReport::Create(), BmnProfQaReport::Create(), BmnSimulationReport::Create(), and BmnTrackingQaReport::Create().
|
pure virtual |
Return string with close tags of the document.
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with image tags.
| [in] | title | Title of the image. |
| [in] | file | Name of the image file. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
Referenced by BmnReport::PrintCanvases().
|
pure virtual |
Return string with image tags.
| [in] | title | Title of the image. |
| [in] | file | Name of the image file. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table open tag.
| [in] | caption | Table caption. |
| [in] | colNames | Names of the columns in table. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table open tag.
| [in] | caption | Table caption. |
| [in] | colNames | Names of the columns in table. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table row which spans over all columns.
| [in] | nofCols | number of columns in table. |
| [in] | name | Name of the row. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table row which spans over all columns.
| [in] | nofCols | number of columns in table. |
| [in] | name | Name of the row. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table close tag.
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table close tag.
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table row tags.
| [in] | data | Array of strings with data for each cell in a row. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with table row tags.
| [in] | data | Array of strings with data for each cell in a row. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
|
pure virtual |
Return string with title.
| [in] | size | Size of the title. [0-5]. 0 is the largest size. |
| [in] | title | Title string. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.
Referenced by BmnPidQaReport::Create(), BmnProfQaReport::Create(), BmnSimulationReport::Create(), and BmnTrackingQaReport::Create().
|
pure virtual |
Return string with title.
| [in] | size | Size of the title. [0-5]. 0 is the largest size. |
| [in] | title | Title string. |
Implemented in BmnHtmlReportElement, and BmnHtmlReportElement.