The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
GaudiPython::Interface< IInterface > Struct Reference

#include </builds/gaudi/Gaudi/GaudiPython/include/GaudiPython/Interface.h>

Public Types

typedef IInterface TYPE

Public Member Functions

TYPE * operator() (const IInterface *in) const
 the only one important method

Static Public Member Functions

static TYPE * cast (const IInterface *in)
 the only one important method (static)
static TYPE * cast (const InterfaceID &, const IInterface *in)
 the only one important method (static)

Detailed Description

Definition at line 68 of file Interface.h.

Member Typedef Documentation

◆ TYPE

Definition at line 69 of file Interface.h.

Member Function Documentation

◆ cast() [1/2]

TYPE * GaudiPython::Interface< IInterface >::cast ( const IInterface< IInterface > * in)
inlinestatic

the only one important method (static)

Parameters
ininput interface
Returns
resutl of "cast"

Definition at line 80 of file Interface.h.

80{ return SmartIF<TYPE>( const_cast<IInterface*>( in ) ); }
Minor mofidication of original Pere's structure GaudiPython::Interface This helper class is nesessary...
Definition Interface.h:42

◆ cast() [2/2]

TYPE * GaudiPython::Interface< IInterface >::cast ( const InterfaceID & ,
const IInterface< IInterface > * in )
inlinestatic

the only one important method (static)

Parameters
iidunique identifier of 'target' interface
ininput interface
Returns
resutl of "cast"

Definition at line 87 of file Interface.h.

87 {
88 return SmartIF<TYPE>( const_cast<IInterface*>( in ) );
89 }

◆ operator()()

TYPE * GaudiPython::Interface< IInterface >::operator() ( const IInterface< IInterface > * in) const
inline

the only one important method

Parameters
ininput interface
Returns
resutl of "cast"

Definition at line 74 of file Interface.h.

74{ return SmartIF<TYPE>( const_cast<IInterface*>( in ) ); }

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