| The Gaudi Framework v29r0 (ff2e7097)

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Gaudi::Functional::details::details2::get_from_handle< In > Struct Template Reference

`#include <GaudiAlg/FunctionalDetails.h>`

## Public Member Functions
template<template< typename > class Handle, typename I , typename = typename std::enable_if<std::is_convertible<I, In>::value>::type>
auto | operator() (const Handle< I > &h) -> const In &
template<template< typename > class Handle, typename I , typename = typename std::enable_if<std::is_convertible<I*, In>::value>::type>
auto | operator() (const Handle< I > &h) -> const In

## Detailed Description

### template<typename In>
struct Gaudi::Functional::details::details2::get_from_handle< In >

Definition at line 228 of file FunctionalDetails.h.

## Member Function Documentation

template<typename In >
template<template< typename > class Handle, typename I , typename = typename std::enable_if<std::is_convertible<I, In>::value>::type>

auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() | ( | const Handle< I > & | h | ) | -> const In&
| inline

Definition at line 231 of file FunctionalDetails.h.

232 {
233 return *h.get();
234 }
HiveAlgSequencer.h
h
Definition: HiveAlgSequencer.py:24
template<typename In >
template<template< typename > class Handle, typename I , typename = typename std::enable_if<std::is_convertible<I*, In>::value>::type>

auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() | ( | const Handle< I > & | h | ) | -> const In
| inline

Definition at line 237 of file FunctionalDetails.h.

238 {
239 return h.getIfExists();
240 } // In is-a pointer
HiveAlgSequencer.h
h
Definition: HiveAlgSequencer.py:24

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

- GaudiAlg/GaudiAlg/FunctionalDetails.h