All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GaudiPython.Persistency.PersistencyHelper Class Reference
Inheritance diagram for GaudiPython.Persistency.PersistencyHelper:
Collaboration diagram for GaudiPython.Persistency.PersistencyHelper:

Public Member Functions

def __init__
 
def handle
 

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 
80  def __init__(self, types):
81  """
82  Define the type of persistencies supported by the instance.
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 
85  def handle(self, typ):
86  """
87  Returns True if the current instance understands the requested
88  persistency type.
89  """
90  return typ in self.types

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: