The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Accumulators::details::FormatHistDefaultT< Key > Struct Template Reference

Default formating for histogram names and title, only calling fmt::format on the text given at construction and passing the key as argument. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/HistogramMap.h>

Collaboration diagram for Gaudi::Accumulators::details::FormatHistDefaultT< Key >:

Public Member Functions

 FormatHistDefaultT (std::string_view t)
auto operator() (Key k)

Public Attributes

std::string text

Detailed Description

template<typename Key>
struct Gaudi::Accumulators::details::FormatHistDefaultT< Key >

Default formating for histogram names and title, only calling fmt::format on the text given at construction and passing the key as argument.

Definition at line 29 of file HistogramMap.h.

Constructor & Destructor Documentation

◆ FormatHistDefaultT()

template<typename Key>
Gaudi::Accumulators::details::FormatHistDefaultT< Key >::FormatHistDefaultT ( std::string_view t)
inline

Definition at line 31 of file HistogramMap.h.

31: text{ t } {}
Default formating for histogram names and title, only calling fmt::format on the text given at constr...

Member Function Documentation

◆ operator()()

template<typename Key>
auto Gaudi::Accumulators::details::FormatHistDefaultT< Key >::operator() ( Key k)
inline

Definition at line 32 of file HistogramMap.h.

32{ return fmt::format( fmt::runtime( text ), k ); }

Member Data Documentation

◆ text

template<typename Key>
std::string Gaudi::Accumulators::details::FormatHistDefaultT< Key >::text

Definition at line 30 of file HistogramMap.h.


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