Go to the documentation of this file.
11 #ifndef GAUDIUTILS_HISTOTABLEFORMAT_H
12 #define GAUDIUTILS_HISTOTABLEFORMAT_H 1
286 template <
class HISTO,
class STREAM,
class TERMINATOR>
288 for ( ; first != last; ++first ) {
stream <<
format( *first,
fmt ) << term; }
315 template <
class LIST,
class STREAM,
class TERMINATOR>
364 template <
class HISTO,
class STREAM,
class TERMINATOR>
418 template <
class MAP,
class STREAM,
class TERMINATOR>
440 Table(
const int ID = 0 );
452 template <
class HISTO,
class STREAM,
class TERMINATOR>
456 if ( !footer().empty() ) {
stream << footer() << term; }
473 template <
class HISTO,
class STREAM,
class TERMINATOR>
475 TERMINATOR term )
const {
578 #endif // GAUDIUTILS_HISTOTABLEFORMAT_H
std::string m_format
the defautl format
STREAM & printMap(HISTO begin, HISTO end, const std::string &fmt1, const std::string &fmt2, STREAM &stream, TERMINATOR term)
Print the "associative sequence" (e.g.
void setHeader(std::string v)
set new header
AttribStringParser::Iterator begin(const AttribStringParser &parser)
void setFormat(std::string v)
set new format
AttribStringParser::Iterator end(const AttribStringParser &)
void setFooter(std::string v)
set new footer
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
const std::string & format() const
the format
std::string m_footer
the table footer
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
STREAM & printList(HISTO first, HISTO last, const std::string &fmt, STREAM &stream, TERMINATOR term)
print the simple sequence (list-like) of histograms as table
STREAM & printList(HISTO first, HISTO last, STREAM &stream, TERMINATOR term) const
print the simple sequence of histograms as table
std::string m_header
the table header
const std::string & header() const
the table header
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
const std::string & footer() const
the table footer
GAUDI_API std::string format(const AIDA::IHistogram1D *histo, const std::string &fmt)
Make the string representation of the histogram according to the specified format.
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::...