| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Classes | Functions
Gaudi::Functional::details::details2 Namespace Reference

## Classes
struct | get_from_handle
struct | remove_optional
struct | remove_optional< boost::optional< T > >

## Functions
template<typename Container , typename Value >
void | push_back (Container &c, const Value &v, std::true_type)
template<typename Container , typename Value >
void | push_back (Container &c, const Value &v, std::false_type)
template<typename T >
T * | deref_if (T *const t, std::false_type)
template<typename T >
T & | deref_if (T *const t, std::true_type)
template<typename Tuple , typename KeyValues , std::size_t... I>
Tuple | make_tuple_of_handles_helper (IDataHandleHolder *o, const KeyValues &initvalue, Gaudi::DataHandle::Mode m, std::index_sequence< I... >)
template<typename KeyValues , typename Properties , std::size_t... I>
void | declare_tuple_of_properties_helper (Algorithm &owner, const KeyValues &inputs, Properties &props, std::index_sequence< I... >)

## Function Documentation

template<typename KeyValues , typename Properties , std::size_t... I>

void Gaudi::Functional::details::details2::declare_tuple_of_properties_helper | ( | Algorithm & | owner,
|  | const KeyValues & | inputs,
|  | Properties & | props,
|  | std::index_sequence< I... > |
| ) |  |

Definition at line 394 of file FunctionalDetails.h.

396 {
397 (void)std::initializer_list<int>{
398 ( owner.declareProperty( std::get<I>( inputs ).first, std::get<I>( props ) ), 0 )...};
399 }
Gaudi::Functional::void
class MergingTransformer< Out(const vector_of_const_< In > void
Definition: MergingTransformer.h:23
Algorithm::declareProperty
Gaudi::Details::PropertyBase * declareProperty(const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
Definition: Algorithm.h:372
std::initializer_list
template<typename T >

T* Gaudi::Functional::details::details2::deref_if | ( | T *const | t,
|  | std::false_type |
| ) |  |

Definition at line 242 of file FunctionalDetails.h.

243 {
244 return t;
245 }
template<typename T >

T& Gaudi::Functional::details::details2::deref_if | ( | T *const | t,
|  | std::true_type |
| ) |  |

Definition at line 247 of file FunctionalDetails.h.

248 {
249 return *t;
250 }
template<typename Tuple , typename KeyValues , std::size_t... I>

Tuple Gaudi::Functional::details::details2::make_tuple_of_handles_helper | ( | IDataHandleHolder * | o,
|  | const KeyValues & | initvalue,
|  | Gaudi::DataHandle::Mode | m,
|  | std::index_sequence< I... > |
| ) |  |

Definition at line 388 of file FunctionalDetails.h.

390 {
391 return std::make_tuple( std::tuple_element_t<I, Tuple>{std::get<I>( initvalue ).second, m, o}... );
392 }
std::make_tuple
T make_tuple(T...args)
Gaudi::Units::second
constexpr double second
Definition: SystemOfUnits.h:123
Gaudi::Units::m
constexpr double m
Definition: SystemOfUnits.h:94
template<typename Container , typename Value >

void Gaudi::Functional::details::details2::push_back | ( | Container & | c,
|  | const Value & | v,
|  | std::true_type |
| ) |  |

Definition at line 215 of file FunctionalDetails.h.

216 {
217 c.push_back( v );
218 }
gaudirun.c
c
Definition: gaudirun.py:407
template<typename Container , typename Value >

void Gaudi::Functional::details::details2::push_back | ( | Container & | c,
|  | const Value & | v,
|  | std::false_type |
| ) |  |

Definition at line 220 of file FunctionalDetails.h.

221 {
222 c.push_back( &v );
223 }
gaudirun.c
c
Definition: gaudirun.py:407