| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi::iid_cast_details::iid_cast_t< I, Is... > Struct Template Reference

`#include <GaudiKernel/IInterface.h>`

## Public Member Functions
template<typename P >
void * | operator() (const InterfaceID &tid, P *ptr) const

## Detailed Description

### template<typename I, typename... Is>
struct Gaudi::iid_cast_details::iid_cast_t< I, Is... >

Definition at line 170 of file IInterface.h.

## Member Function Documentation

## ◆ operator()()

template<typename I , typename... Is>
template<typename P >

void* Gaudi::iid_cast_details::iid_cast_t< I, Is... >::operator() | ( | const InterfaceID & | tid,
|  | P * | ptr
| ) |  | const
| inline

Definition at line 172 of file IInterface.h.

172 {
173 return tid.versionMatch( I::interfaceID() ) ? void_cast<typename I::interface_type>( ptr )
174 : iid_cast_t<Is...>{}( tid, ptr );
175 }
InterfaceID::versionMatch
constexpr bool versionMatch(const InterfaceID &iid) const
check compatibility.
Definition: IInterface.h:55

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

- GaudiKernel/GaudiKernel/IInterface.h