Gaudi Framework, version v21r7p1

Home   Generated: 15 Feb 2010

GaudiPython::Interface< TYPE > Struct Template Reference

Minor mofidication of original Pere's structure GaudiPython::Interface This helper class is nesessary to perform C++ castings from python. More...

#include <GaudiPython/Interface.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

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


Detailed Description

template<class TYPE>
struct GaudiPython::Interface< TYPE >

Minor mofidication of original Pere's structure GaudiPython::Interface This helper class is nesessary to perform C++ castings from python.

Author:
Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr
Date:
2005-08-03

Definition at line 35 of file Interface.h.


Member Function Documentation

template<class TYPE>
TYPE* GaudiPython::Interface< TYPE >::operator() ( const IInterface< TYPE > *  in  )  const [inline]

the only one important method

Parameters:
in input interface
Returns:
resutl of "cast"

Definition at line 42 of file Interface.h.

00043     { return SmartIF<TYPE>( TYPE::interfaceID()            , 
00044                             const_cast<IInterface*> ( in ) ) ; }

template<class TYPE>
static TYPE* GaudiPython::Interface< TYPE >::cast ( const IInterface< TYPE > *  in  )  [inline, static]

the only one important method (static)

Parameters:
in input interface
Returns:
resutl of "cast"

Definition at line 50 of file Interface.h.

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

template<class TYPE>
static TYPE* GaudiPython::Interface< TYPE >::cast ( const InterfaceID iid,
const IInterface< TYPE > *  in 
) [inline, static]

the only one important method (static)

Parameters:
iid unique identifier of 'target' interface
in input interface
Returns:
resutl of "cast"

Definition at line 58 of file Interface.h.

00060     { return SmartIF<TYPE>( iid , const_cast<IInterface*> ( in ) ) ; }


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

Generated at Mon Feb 15 17:44:21 2010 for Gaudi Framework, version v21r7p1 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004