Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v28r2p1 (f1a77ff4)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GaudiPython.Persistency.PersistencyHelper Class Reference
Inheritance diagram for GaudiPython.Persistency.PersistencyHelper:
Collaboration diagram for GaudiPython.Persistency.PersistencyHelper:

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)

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 

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: