| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# Configurable::ConfigurableGeneric Class Reference

Inheritance diagram for Configurable::ConfigurableGeneric:

[legend]
Collaboration diagram for Configurable::ConfigurableGeneric:

[legend]

List of all members.

## Public Member Functions
def | __init__
def | __deepcopy__
def | getGaudiType
def | getDlls
def | getHandle
def | __setattr__
def | getJobOptName
## Private Attributes
| _name
| _properties

## Detailed Description

Definition at line 923 of file Configurable.py.

## Member Function Documentation

def Configurable::ConfigurableGeneric::__init__ | ( |  | self,
|  |  | name = `Configurable.DefaultName` |
| ) |  |  |

Reimplemented from Configurable::Configurable.

Definition at line 926 of file Configurable.py.

    00926                                                          :
    00927         Configurable.__init__( self, name )
    00928         self._name = name
    00929         self._properties = {}
    00930
        def __deepcopy__( self, memo ):

def Configurable::ConfigurableGeneric::__deepcopy__ | ( |  | self,
|  |  | memo |
| ) |  |  |

Reimplemented from Configurable::Configurable.

Definition at line 931 of file Configurable.py.

    00931                                   :
    00932         return self                 # algorithms are always shared
    00933
        def getGaudiType( self ): return 'GenericComponent'

def Configurable::ConfigurableGeneric::getGaudiType | ( |  | self | ) |

Definition at line 934 of file Configurable.py.

    00934 : return 'GenericComponent'

def Configurable::ConfigurableGeneric::getDlls | ( |  | self | ) |

Definition at line 935 of file Configurable.py.

    00935 : pass

def Configurable::ConfigurableGeneric::getHandle | ( |  | self | ) |

Definition at line 936 of file Configurable.py.

    00936                           : pass
    00937

def Configurable::ConfigurableGeneric::__setattr__ | ( |  | self,
|  |  | name,
|  |  | value |
| ) |  |  |

Reimplemented from Configurable::Configurable.

Definition at line 938 of file Configurable.py.

    00938                                         :
    00939         # filter private (user) variables
    00940         if name[0] == '_':
    00941             super( ConfigurableGeneric, self ).__setattr__( name, value )
    00942             return
    00943
    00944         # filter configurable types
    00945         if isinstance( value, Configurable ):
    00946             self.__dict__[ name ] = value
    00947             return
    00948
    00949         # assume all the rest are properties
    00950         if not name in self._properties:
    00951             self._properties[ name ] = PropertyProxy( DummyDescriptor( name ) )
    00952         self._properties[ name ].__set__( self, value )
    00953
        def getJobOptName( self ): return None

def Configurable::ConfigurableGeneric::getJobOptName | ( |  | self | ) |

Reimplemented from Configurable::Configurable.

Definition at line 954 of file Configurable.py.

    00954                              : return None
    00955
    00956

## Member Data Documentation

Configurable::ConfigurableGeneric::_name`[private]`

Reimplemented from Configurable::Configurable.

Definition at line 928 of file Configurable.py.

Configurable::ConfigurableGeneric::_properties`[private]`

Definition at line 929 of file Configurable.py.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiKernel/python/GaudiKernel/Configurable.py