ATLAS Offline Software
Loading...
Searching...
No Matches
TableUtils::MultiColumnTable< T > Struct Template Reference

#include <TableUtils.h>

Collaboration diagram for TableUtils::MultiColumnTable< T >:

Public Member Functions

MultiColumnTablecolumnWidth (std::size_t value)
MultiColumnTableminLabelWidth (std::size_t value)
MultiColumnTabledumpHeader (bool value=true)
MultiColumnTabledumpFooter (bool value=true)
MultiColumnTableseparateLastRow (bool value=true)
MultiColumnTablelabelPrefix (const std::string &value)
MultiColumnTableprecision (std::vector< unsigned int > &&precision)

Public Attributes

Range2D< T > m_counter
Range< std::string > m_rowLabel
Range< std::string > m_columnLabel
std::string m_topLeftLable
std::string m_labelPrefix {}
std::size_t m_columnWidth =12
std::size_t m_minLabelWidth =0
std::vector< unsigned int > m_precision {}
bool m_dumpHeader =true
bool m_dumpFooter =true
bool m_separateLastRow =false

Detailed Description

template<typename T>
struct TableUtils::MultiColumnTable< T >

Definition at line 252 of file TableUtils.h.

Member Function Documentation

◆ columnWidth()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::columnWidth ( std::size_t value)
inline

Definition at line 257 of file TableUtils.h.

◆ dumpFooter()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::dumpFooter ( bool value = true)
inline

Definition at line 260 of file TableUtils.h.

260{ m_dumpFooter=value; return *this;}

◆ dumpHeader()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::dumpHeader ( bool value = true)
inline

Definition at line 259 of file TableUtils.h.

259{ m_dumpHeader=value; return *this;}

◆ labelPrefix()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::labelPrefix ( const std::string & value)
inline

Definition at line 262 of file TableUtils.h.

262{ m_labelPrefix=value; return *this;}

◆ minLabelWidth()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::minLabelWidth ( std::size_t value)
inline

Definition at line 258 of file TableUtils.h.

258{ m_minLabelWidth=value; return *this;}

◆ precision()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::precision ( std::vector< unsigned int > && precision)
inline

Definition at line 263 of file TableUtils.h.

263{ m_precision=std::move(precision); return *this;}
std::vector< unsigned int > m_precision
Definition TableUtils.h:268
MultiColumnTable & precision(std::vector< unsigned int > &&precision)
Definition TableUtils.h:263

◆ separateLastRow()

template<typename T>
MultiColumnTable & TableUtils::MultiColumnTable< T >::separateLastRow ( bool value = true)
inline

Definition at line 261 of file TableUtils.h.

261{ m_separateLastRow=value; return *this;}

Member Data Documentation

◆ m_columnLabel

template<typename T>
Range<std::string> TableUtils::MultiColumnTable< T >::m_columnLabel

Definition at line 255 of file TableUtils.h.

◆ m_columnWidth

template<typename T>
std::size_t TableUtils::MultiColumnTable< T >::m_columnWidth =12

Definition at line 266 of file TableUtils.h.

◆ m_counter

template<typename T>
Range2D<T> TableUtils::MultiColumnTable< T >::m_counter

Definition at line 253 of file TableUtils.h.

◆ m_dumpFooter

template<typename T>
bool TableUtils::MultiColumnTable< T >::m_dumpFooter =true

Definition at line 270 of file TableUtils.h.

◆ m_dumpHeader

template<typename T>
bool TableUtils::MultiColumnTable< T >::m_dumpHeader =true

Definition at line 269 of file TableUtils.h.

◆ m_labelPrefix

template<typename T>
std::string TableUtils::MultiColumnTable< T >::m_labelPrefix {}

Definition at line 265 of file TableUtils.h.

265{};

◆ m_minLabelWidth

template<typename T>
std::size_t TableUtils::MultiColumnTable< T >::m_minLabelWidth =0

Definition at line 267 of file TableUtils.h.

◆ m_precision

template<typename T>
std::vector<unsigned int> TableUtils::MultiColumnTable< T >::m_precision {}

Definition at line 268 of file TableUtils.h.

268{};

◆ m_rowLabel

template<typename T>
Range<std::string> TableUtils::MultiColumnTable< T >::m_rowLabel

Definition at line 254 of file TableUtils.h.

◆ m_separateLastRow

template<typename T>
bool TableUtils::MultiColumnTable< T >::m_separateLastRow =false

Definition at line 271 of file TableUtils.h.

◆ m_topLeftLable

template<typename T>
std::string TableUtils::MultiColumnTable< T >::m_topLeftLable

Definition at line 256 of file TableUtils.h.


The documentation for this struct was generated from the following file: