| The Gaudi Framework v30r0 (c919700c)

- 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 = std::enable_if_t<std::is_convertible<I, In>::value>>
auto | operator() (const Handle< I > &h) -> const In &
template<template< typename > class Handle, typename I , typename = std::enable_if_t<std::is_convertible<I*, In>::value>>
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 226 of file FunctionalDetails.h.

## Member Function Documentation

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

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

Definition at line 229 of file FunctionalDetails.h.

230 {
231 return *h.get();
232 }
template<typename In >
template<template< typename > class Handle, typename I , typename = std::enable_if_t<std::is_convertible<I*, In>::value>>

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

Definition at line 235 of file FunctionalDetails.h.

236 {
237 return h.getIfExists();
238 } // In is-a pointer

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

- GaudiAlg/GaudiAlg/FunctionalDetails.h