The Gaudi Framework  v37r0 (b608885e)
GaudiPython::Interface< IInterface > Struct Reference

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

Public Types

typedef IInterface TYPE
 

Public Member Functions

TYPEoperator() (const IInterface *in) const
 the only one important method More...
 

Static Public Member Functions

static TYPEcast (const IInterface *in)
 the only one important method (static) More...
 
static TYPEcast (const InterfaceID &, const IInterface *in)
 the only one important method (static) More...
 

Detailed Description

Definition at line 69 of file Interface.h.

Member Typedef Documentation

◆ TYPE

Definition at line 70 of file Interface.h.

Member Function Documentation

◆ cast() [1/2]

static 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 81 of file Interface.h.

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

◆ cast() [2/2]

static 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 88 of file Interface.h.

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

◆ 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 75 of file Interface.h.

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

The documentation for this struct was generated from the following file:
SmartIF
Definition: IConverter.h:25
IInterface
Definition: IInterface.h:237