| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

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.

    00033                  :
    00034     """
    00035     Function to extend the list of known helpers.
    00036
    00037     New helpers are added to the top of the list.
    00038     """
    00039     _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.

    00024               :
    00025     """
    00026     Return the PersistencyHerper implementing the given persistency type.
    00027     """
    00028     for i in _implementations:
    00029         if i.handle(type_):
    00030             return i
    00031     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.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines