Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v29r0 (ff2e7097)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GaudiPython.Persistency Namespace Reference

Classes

class  FileDescription
 
class  PersistencyError
 
class  PersistencyHelper
 
class  RootPersistency
 
class  UnknownPersistency
 

Functions

def get (type_)
 
def add (instance)
 

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 39 of file Persistency.py.

39 def add(instance):
40  """
41  Function to extend the list of known helpers.
42 
43  New helpers are added to the top of the list.
44  """
45  _implementations.insert(0, instance)
46 
47 
def GaudiPython.Persistency.get (   type_)
Return the PersistencyHerper implementing the given persistency type.

Definition at line 29 of file Persistency.py.

29 def get(type_):
30  """
31  Return the PersistencyHerper implementing the given persistency type.
32  """
33  for i in _implementations:
34  if i.handle(type_):
35  return i
36  raise UnknownPersistency(type_)
37 
38 

Variable Documentation

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

Definition at line 4 of file Persistency.py.

list GaudiPython.Persistency._implementations = []
private

Definition at line 26 of file Persistency.py.