![]() |
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. | |
| template<typename F, typename R = decltype(std::declval<F>()(std::declval<I>())), typename T = R> | |
| void | add (const std::string &name, const F func, const T &def=T(), Compression comp=Compression::STANDARD) |
| overload to cast lambdas into functions | |
| const 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 |
overload to cast lambdas into functions
Definition at line 144 of file Writer.h.
| void H5Utils::Consumers< I >::add | ( | const std::string & | name, |
| const std::function< T(I)> & | fun, | ||
| const T & | default_value = T(), | ||
| Compression | comp = Compression::STANDARD ) |
This should be the only method you need in this class.
Definition at line 164 of file Writer.h.
| const std::vector< SharedConsumer< I > > & H5Utils::Consumers< I >::getConsumers | ( | ) | const |
|
private |
|
private |