| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
GaudiPython.Persistency.PersistencyHelper Class Reference
Inheritance diagram for GaudiPython.Persistency.PersistencyHelper:
[legend]
Collaboration diagram for GaudiPython.Persistency.PersistencyHelper:
[legend]

## Public Member Functions
def | __init__
def | handle

## Public Attributes
| types

## Detailed Description

    Base class for extensions to persistency configuration in GaudiPython.

Definition at line 75 of file Persistency.py.

## Constructor & Destructor Documentation

def GaudiPython.Persistency.PersistencyHelper.__init__ | ( |  | self,
|  |  | types
| ) |  |

    Define the type of persistencies supported by the instance.

Definition at line 79 of file Persistency.py.

79
80 def __init__(self, types):
81 """
82 Define the type of persistencies supported by the instance.
83 """
self.types = set(types)

## Member Function Documentation

def GaudiPython.Persistency.PersistencyHelper.handle | ( |  | self,
|  |  | typ
| ) |  |

    Returns True if the current instance understands the requested
    persistency type.

Definition at line 84 of file Persistency.py.

84
85 def handle(self, typ):
86 """
87 Returns True if the current instance understands the requested
88 persistency type.
89 """
90 return typ in self.types

## Member Data Documentation

GaudiPython.Persistency.PersistencyHelper.types

Definition at line 83 of file Persistency.py.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiPython/python/GaudiPython/Persistency.py