The Gaudi Framework  v36r9p1 (5c15b2bb)
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 98 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 103 of file Persistency.py.

103  def __init__(self, types):
104  """
105  Define the type of persistencies supported by the instance.
106  """
107  self.types = set(types)
108 

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

109  def handle(self, typ):
110  """
111  Returns True if the current instance understands the requested
112  persistency type.
113  """
114  return typ in self.types
115 
116 

Member Data Documentation

◆ types

GaudiPython.Persistency.PersistencyHelper.types

Definition at line 107 of file Persistency.py.


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