ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
H5Utils::internal::VariableFiller< T > Class Template Reference

implementation for variable filler More...

#include <HdfTuple.h>

Inheritance diagram for H5Utils::internal::VariableFiller< T >:
Collaboration diagram for H5Utils::internal::VariableFiller< T >:

Public Member Functions

 VariableFiller (const std::string &, const std::function< T()> &)
 
internal::data_buffer_t get_buffer () const
 
H5::DataType get_type () const
 
std::string name () const
 

Private Attributes

std::function< T()> m_getter
 
std::string m_name
 

Detailed Description

template<typename T>
class H5Utils::internal::VariableFiller< T >

implementation for variable filler

Definition at line 67 of file HdfTuple.h.

Constructor & Destructor Documentation

◆ VariableFiller()

template<typename T >
H5Utils::internal::VariableFiller< T >::VariableFiller ( const std::string &  name,
const std::function< T()> &  func 
)

Definition at line 79 of file HdfTuple.h.

80  :
81  m_getter(func),
82  m_name(name)
83  {
84  }

Member Function Documentation

◆ get_buffer()

template<typename T >
data_buffer_t H5Utils::internal::VariableFiller< T >::get_buffer
virtual

Implements H5Utils::internal::IVariableFiller.

Definition at line 86 of file HdfTuple.h.

86  {
87  return get_buffer_from_func<T>(m_getter);
88  }

◆ get_type()

template<typename T >
H5::DataType H5Utils::internal::VariableFiller< T >::get_type
virtual

Implements H5Utils::internal::IVariableFiller.

Definition at line 90 of file HdfTuple.h.

90  {
91  return H5Traits<T>::type;
92  }

◆ name()

template<typename T >
std::string H5Utils::internal::VariableFiller< T >::name
virtual

Implements H5Utils::internal::IVariableFiller.

Definition at line 94 of file HdfTuple.h.

94  {
95  return m_name;
96  }

Member Data Documentation

◆ m_getter

template<typename T >
std::function<T()> H5Utils::internal::VariableFiller< T >::m_getter
private

Definition at line 75 of file HdfTuple.h.

◆ m_name

template<typename T >
std::string H5Utils::internal::VariableFiller< T >::m_name
private

Definition at line 76 of file HdfTuple.h.


The documentation for this class was generated from the following file:
H5Utils::internal::VariableFiller::name
std::string name() const
Definition: HdfTuple.h:94
H5Utils::internal::VariableFiller::m_getter
std::function< T()> m_getter
Definition: HdfTuple.h:75
H5Utils::internal::VariableFiller::m_name
std::string m_name
Definition: HdfTuple.h:76
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78