| The Gaudi Framework v28r2p1 (f1a77ff4)

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

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

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__ (self, types)
def | handle (self, typ)

## 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 def __init__(self, types):
80 """
81 Define the type of persistencies supported by the instance.
82 """
83 self.types = set(types)
GaudiPython.Persistency.PersistencyHelper.__init__
def __init__(self, types)
Definition: Persistency.py:79
GaudiPython.Persistency.PersistencyHelper.types
types
Definition: Persistency.py:83

## 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 def handle(self, typ):
85 """
86 Returns True if the current instance understands the requested
87 persistency type.
88 """
89 return typ in self.types
90
GaudiPython.Persistency.PersistencyHelper.handle
def handle(self, typ)
Definition: Persistency.py:84
GaudiPython.Persistency.PersistencyHelper.types
types
Definition: Persistency.py:83

## 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:

- GaudiPython/python/GaudiPython/Persistency.py