The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Functional::details::details2::get_from_handle< In > Struct Template Reference

#include </builds/gaudi/Gaudi/GaudiFunctional/include/Gaudi/Functional/details.h>

Public Member Functions

template<template< typename > class Handle, std::convertible_to< In > I>
auto operator() (const Handle< I > &h) -> const In &
template<template< typename > class Handle, typename I>
auto operator() (const Handle< Gaudi::Range_< I > > &h) -> In
template<template< typename > class Handle, typename I>
auto operator() (const Handle< Gaudi::NamedRange_< I > > &h) -> In
template<template< typename > class Handle, typename I>
auto operator() (const Handle< std::optional< Gaudi::NamedRange_< I > > > &h) -> In
template<template< typename > class Handle, typename I>
requires ( std::is_convertible_v<I*, In> )
auto operator() (const Handle< I > &h) -> In

Detailed Description

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

Definition at line 196 of file details.h.

Member Function Documentation

◆ operator()() [1/5]

template<typename In>
template<template< typename > class Handle, typename I>
auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() ( const Handle< Gaudi::NamedRange_< I > > & h) -> In
inline

Definition at line 206 of file details.h.

◆ operator()() [2/5]

template<typename In>
template<template< typename > class Handle, typename I>
auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() ( const Handle< Gaudi::Range_< I > > & h) -> In
inline

Definition at line 202 of file details.h.

202 {
203 return h.get();
204 }

◆ operator()() [3/5]

template<typename In>
template<template< typename > class Handle, std::convertible_to< In > I>
auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() ( const Handle< I > & h) -> const In &
inline

Definition at line 198 of file details.h.

198 {
199 return *h.get();
200 }

◆ operator()() [4/5]

template<typename In>
template<template< typename > class Handle, typename I>
requires ( std::is_convertible_v<I*, In> )
auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() ( const Handle< I > & h) -> In
inline

Definition at line 215 of file details.h.

215 {
216 return h.getIfExists();
217 } // In is-a pointer

◆ operator()() [5/5]

template<typename In>
template<template< typename > class Handle, typename I>
auto Gaudi::Functional::details::details2::get_from_handle< In >::operator() ( const Handle< std::optional< Gaudi::NamedRange_< I > > > & h) -> In
inline

Definition at line 210 of file details.h.

210 {
211 return h.get();
212 }

The documentation for this struct was generated from the following file:
  • GaudiFunctional/include/Gaudi/Functional/details.h