| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Static Public Member Functions | List of all members
GaudiPython::Interface< IInterface > Struct Template Reference

`#include <GaudiPython/Interface.h>`

Inheritance diagram for GaudiPython::Interface< IInterface >:
[legend]
Collaboration diagram for GaudiPython::Interface< IInterface >:
[legend]

## Public Types
typedef IInterface | TYPE

## Public Member Functions
TYPE * | operator() (const IInterface *in) const
| the only one important method More...

## Static Public Member Functions
static TYPE * | cast (const IInterface *in)
| the only one important method (static) More...
static TYPE * | cast (const InterfaceID &, const IInterface *in)
| the only one important method (static) More...

## Detailed Description

### template<>
struct GaudiPython::Interface< IInterface >

Definition at line 64 of file Interface.h.

## Member Typedef Documentation

typedef IInterface GaudiPython::Interface< IInterface >::TYPE

Definition at line 67 of file Interface.h.

## Member Function Documentation

static TYPE* GaudiPython::Interface< IInterface >::cast | ( | const IInterface< IInterface > * | in | ) |
| inline static

the only one important method (static)

Parameters

  in | input interface

Returns
  resutl of "cast"

Definition at line 79 of file Interface.h.

80 { return SmartIF<TYPE>( const_cast<IInterface*> ( in ) ) ; }
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition: IConverter.h:14
IInterface
Definition of the basic interface.
Definition: IInterface.h:234

static TYPE* GaudiPython::Interface< IInterface >::cast | ( | const InterfaceID & | ,
|  | const IInterface< IInterface > * | 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 87 of file Interface.h.

89 { return SmartIF<TYPE>( const_cast<IInterface*> ( in ) ) ; }
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition: IConverter.h:14
IInterface
Definition of the basic interface.
Definition: IInterface.h:234

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

the only one important method

Parameters

  in | input interface

Returns
  resutl of "cast"

Definition at line 72 of file Interface.h.

73 { return SmartIF<TYPE>( const_cast<IInterface*> ( in ) ) ; }
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition: IConverter.h:14
IInterface
Definition of the basic interface.
Definition: IInterface.h:234

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

- GaudiPython/GaudiPython/Interface.h