The Gaudi Framework  v32r2 (46d42edc)
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 84 of file Persistency.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.Persistency.PersistencyHelper.__init__ (   self,
  types 
)
Define the type of persistencies supported by the instance.

Definition at line 89 of file Persistency.py.

89  def __init__(self, types):
90  """
91  Define the type of persistencies supported by the instance.
92  """
93  self.types = set(types)
94 

Member Function Documentation

◆ handle()

def GaudiPython.Persistency.PersistencyHelper.handle (   self,
  typ 
)
Returns True if the current instance understands the requested
persistency type.

Definition at line 95 of file Persistency.py.

95  def handle(self, typ):
96  """
97  Returns True if the current instance understands the requested
98  persistency type.
99  """
100  return typ in self.types
101 
102 

Member Data Documentation

◆ types

GaudiPython.Persistency.PersistencyHelper.types

Definition at line 93 of file Persistency.py.


The documentation for this class was generated from the following file: