Gaudi Framework, version v23r7

Home   Generated: Wed Mar 20 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
GaudiPython.Persistency Namespace Reference

Classes

class  PersistencyError
 
class  UnknownPersistency
 
class  FileDescription
 
class  PersistencyHelper
 
class  RootPersistency
 

Functions

def get
 
def add
 

Variables

string __author__ "Marco Clemencic <marco.clemencic@cern.ch>"
 
list _implementations []
 

Detailed Description

Module to configure the persistency type in GaudiPython.

Function Documentation

def GaudiPython.Persistency.add (   instance)
Function to extend the list of known helpers.

New helpers are added to the top of the list.

Definition at line 32 of file Persistency.py.

32 
33 def add(instance):
34  """
35  Function to extend the list of known helpers.
36 
37  New helpers are added to the top of the list.
38  """
39  _implementations.insert(0, instance)
def GaudiPython.Persistency.get (   type_)
Return the PersistencyHerper implementing the given persistency type.

Definition at line 23 of file Persistency.py.

23 
24 def get(type_):
25  """
26  Return the PersistencyHerper implementing the given persistency type.
27  """
28  for i in _implementations:
29  if i.handle(type_):
30  return i
31  raise UnknownPersistency(type_)

Variable Documentation

string GaudiPython.Persistency.__author__ "Marco Clemencic <marco.clemencic@cern.ch>"

Definition at line 4 of file Persistency.py.

list GaudiPython.Persistency._implementations []

Definition at line 21 of file Persistency.py.


Generated at Wed Mar 20 2013 17:59:51 for Gaudi Framework, version v23r7 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004