EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Abstract class for basic report elements (headers, tables, images etc.). More...
#include <EicRoot/blob/master/cbmbase/report/CbmReportElement.h>
Public Member Functions | |
CbmReportElement () | |
Constructor. | |
virtual | ~CbmReportElement () |
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 CbmReportElement.h.
View newest version in sPHENIX GitHub at line 32 of file CbmReportElement.h
|
inline |
Constructor.
Definition at line 38 of file CbmReportElement.h.
View newest version in sPHENIX GitHub at line 38 of file CbmReportElement.h
|
inlinevirtual |
Destructor.
Definition at line 43 of file CbmReportElement.h.
View newest version in sPHENIX GitHub at line 43 of file CbmReportElement.h
|
pure virtual |
Return string with open tags for document.
Implemented in CbmTextReportElement, CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmRichGeoTestStudyReport::Create().
|
pure virtual |
Return string with close tags of the document.
Implemented in CbmTextReportElement, CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmRichGeoTestStudyReport::Create().
|
pure virtual |
Return string with image tags.
[in] | title | Title of the image. |
[in] | file | Name of the image file. |
Implemented in CbmTextReportElement, CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmReport::PrintCanvases().
|
pure virtual |
Return string with table open tag.
[in] | caption | Table caption. |
[in] | colNames | Names of the columns in table. |
Implemented in CbmTextReportElement, CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmRichGeoTestStudyReport::Create().
|
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 CbmHtmlReportElement, and CbmLatexReportElement.
|
pure virtual |
Return string with table close tag.
Implemented in CbmTextReportElement, CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmRichGeoTestStudyReport::Create().
|
pure virtual |
Return string with table row tags.
[in] | data | Array of strings with data for each cell in a row. |
Implemented in CbmTextReportElement, CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmRichGeoTestStudyReport::PrintRow().
|
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 CbmHtmlReportElement, and CbmLatexReportElement.
Referenced by CbmRichGeoTestStudyReport::Create().