ATLAS Offline Software
|
#include <Writer.h>
Public Types | |
using | input_type = I |
template<typename T > | |
using | function_type = std::function< T(I)> |
Public Member Functions | |
template<typename T > | |
void | add (const std::string &name, const std::function< T(I)> &, const T &default_value=T(), Compression=Compression::STANDARD) |
This should be the only method you need in this class. More... | |
template<typename T , typename F , typename R = decltype(std::declval<F>()(std::declval<I>()))> | |
void | add (const std::string &name, const F func, const T &def=T(), Compression comp=Compression::STANDARD) |
overload to cast lambdas into functions More... | |
std::vector< SharedConsumer< I > > | getConsumers () const |
Private Attributes | |
std::vector< SharedConsumer< I > > | m_consumers |
std::set< std::string > | m_used |
using H5Utils::Consumers< I >::function_type = std::function<T(I)> |
using H5Utils::Consumers< I >::input_type = I |
|
inline |
void H5Utils::Consumers< I >::add | ( | const std::string & | name, |
const std::function< T(I)> & | fun, | ||
const T & | default_value = T() , |
||
Compression | comp = Compression::STANDARD |
||
) |
std::vector< SharedConsumer< I > > H5Utils::Consumers< I >::getConsumers |
|
private |
|
private |