![]() |
The Gaudi Framework
v26r3
|
Simple class for the customizeble printout of the histogram tables. More...
#include <GaudiUtils/HistoTableFormat.h>

Public Member Functions | |
| Table (const int ID=0) | |
| constructor from enum More... | |
| Table (const std::string &format, const std::string &header="", const std::string &footer="") | |
| Constructor from the format, header and footer. More... | |
| template<class HISTO , class STREAM , class TERMINATOR > | |
| STREAM & | printList (HISTO first, HISTO last, STREAM &stream, TERMINATOR term) const |
| print the simple sequence of histograms as table More... | |
| template<class HISTO , class STREAM , class TERMINATOR > | |
| STREAM & | printMap (HISTO first, HISTO last, const std::string &fmt, const std::string &hval, STREAM &stream, TERMINATOR term) const |
| print as table the content of the accociative map (key->histogram) with the key, convertible to std::string More... | |
| const std::string & | header () const |
| the table header More... | |
| const std::string & | footer () const |
| the table footer More... | |
| const std::string & | format () const |
| the format More... | |
| void | setHeader (const std::string &v) |
| set new header More... | |
| void | setFooter (const std::string &v) |
| set new footer More... | |
| void | setFormat (const std::string &v) |
| set new format More... | |
| std::string | toString (const AIDA::IHistogram1D *histo) const |
| make the string representation according to the default format More... | |
| std::string | toString (const AIDA::IHistogram1D *histo, const std::string &ID, const std::string &fmt) const |
| format a full row in table, including ID, label, path or any other "extra" identifier More... | |
| Table (const int ID=0) | |
| constructor from enum More... | |
| Table (const std::string &format, const std::string &header="", const std::string &footer="") | |
| Constructor from the format, header and footer. More... | |
| template<class HISTO , class STREAM , class TERMINATOR > | |
| STREAM & | printList (HISTO first, HISTO last, STREAM &stream, TERMINATOR term) const |
| print the simple sequence of histograms as table More... | |
| template<class HISTO , class STREAM , class TERMINATOR > | |
| STREAM & | printMap (HISTO first, HISTO last, const std::string &fmt, const std::string &hval, STREAM &stream, TERMINATOR term) const |
| print as table the content of the accociative map (key->histogram) with the key, convertible to std::string More... | |
| const std::string & | header () const |
| the table header More... | |
| const std::string & | footer () const |
| the table footer More... | |
| const std::string & | format () const |
| the format More... | |
| void | setHeader (const std::string &v) |
| set new header More... | |
| void | setFooter (const std::string &v) |
| set new footer More... | |
| void | setFormat (const std::string &v) |
| set new format More... | |
| std::string | toString (const AIDA::IHistogram1D *histo) const |
| make the string representation according to the default format More... | |
| std::string | toString (const AIDA::IHistogram1D *histo, const std::string &ID, const std::string &fmt) const |
| format a full row in table, including ID, label, path or any other "extra" identifier More... | |
Public Attributes | |
| std::string | m_header |
| the table header More... | |
| std::string | m_footer |
| the table footer More... | |
| std::string | m_format |
| the defautl format More... | |
Simple class for the customizeble printout of the histogram tables.
Definition at line 411 of file HistoTableFormat.h.
| Gaudi::Utils::Histos::Table::Table | ( | const int | ID = 0 | ) |
constructor from enum
Definition at line 290 of file HistoTableFormat.cpp.
| Gaudi::Utils::Histos::Table::Table | ( | const std::string & | format, |
| const std::string & | header = "", |
||
| const std::string & | footer = "" |
||
| ) |
Constructor from the format, header and footer.
Definition at line 297 of file HistoTableFormat.cpp.
| Gaudi::Utils::Histos::Table::Table | ( | const int | ID = 0 | ) |
constructor from enum
| Gaudi::Utils::Histos::Table::Table | ( | const std::string & | format, |
| const std::string & | header = "", |
||
| const std::string & | footer = "" |
||
| ) |
Constructor from the format, header and footer.
|
inline |
the table footer
Definition at line 476 of file HistoTableFormat.h.
|
inline |
the table footer
Definition at line 476 of file HistoTableFormat.h.
|
inline |
the format
Definition at line 479 of file HistoTableFormat.h.
|
inline |
the format
Definition at line 479 of file HistoTableFormat.h.
|
inline |
the table header
Definition at line 473 of file HistoTableFormat.h.
|
inline |
the table header
Definition at line 473 of file HistoTableFormat.h.
|
inline |
print the simple sequence of histograms as table
| first | begin-iterator for the sequence |
| last | end-iterator for the sequence |
| stream | the stream to be used for printout |
| term | the terminmator for the stream |
Definition at line 431 of file HistoTableFormat.h.
|
inline |
print the simple sequence of histograms as table
| first | begin-iterator for the sequence |
| last | end-iterator for the sequence |
| stream | the stream to be used for printout |
| term | the terminmator for the stream |
Definition at line 431 of file HistoTableFormat.h.
|
inline |
print as table the content of the accociative map (key->histogram) with the key, convertible to std::string
The default format is used for histogram prinout
| first | 'begin'-iterator for the mapping sequence |
| last | 'end'-iterator for the mapping sequence |
| fmt | 'short' format for the table printout |
| hval | the name of the "key"-column |
| stream | the stream for printout |
| term | stream terminator |
Definition at line 457 of file HistoTableFormat.h.
|
inline |
print as table the content of the accociative map (key->histogram) with the key, convertible to std::string
The default format is used for histogram prinout
| first | 'begin'-iterator for the mapping sequence |
| last | 'end'-iterator for the mapping sequence |
| fmt | 'short' format for the table printout |
| hval | the name of the "key"-column |
| stream | the stream for printout |
| term | stream terminator |
Definition at line 457 of file HistoTableFormat.h.
|
inline |
set new footer
Definition at line 487 of file HistoTableFormat.h.
|
inline |
set new footer
Definition at line 487 of file HistoTableFormat.h.
|
inline |
set new format
Definition at line 490 of file HistoTableFormat.h.
|
inline |
set new format
Definition at line 490 of file HistoTableFormat.h.
|
inline |
set new header
Definition at line 484 of file HistoTableFormat.h.
|
inline |
set new header
Definition at line 484 of file HistoTableFormat.h.
| std::string Gaudi::Utils::Histos::Table::toString | ( | const AIDA::IHistogram1D * | histo | ) | const |
make the string representation according to the default format
| std::string Gaudi::Utils::Histos::Table::toString | ( | const AIDA::IHistogram1D * | histo | ) | const |
make the string representation according to the default format
Definition at line 308 of file HistoTableFormat.cpp.
| std::string Gaudi::Utils::Histos::Table::toString | ( | const AIDA::IHistogram1D * | histo, |
| const std::string & | ID, | ||
| const std::string & | fmt | ||
| ) | const |
format a full row in table, including ID, label, path or any other "extra" identifier
| histo | pointer to the histogram |
| ID | historgam ID, title, label or other extra infomration |
| fmt | "short" format used for the table |
Definition at line 316 of file HistoTableFormat.cpp.
| std::string Gaudi::Utils::Histos::Table::toString | ( | const AIDA::IHistogram1D * | histo, |
| const std::string & | ID, | ||
| const std::string & | fmt | ||
| ) | const |
format a full row in table, including ID, label, path or any other "extra" identifier
| histo | pointer to the histogram |
| ID | historgam ID, title, label or other extra infomration |
| fmt | "short" format used for the table |
| std::string Gaudi::Utils::Histos::Table::m_footer |
the table footer
Definition at line 531 of file HistoTableFormat.h.
| std::string Gaudi::Utils::Histos::Table::m_format |
the defautl format
Definition at line 533 of file HistoTableFormat.h.
| std::string Gaudi::Utils::Histos::Table::m_header |
the table header
Definition at line 529 of file HistoTableFormat.h.