The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
GaudiPython.Persistency.PersistencyHelper Class Reference
Inheritance diagram for GaudiPython.Persistency.PersistencyHelper:
Collaboration diagram for GaudiPython.Persistency.PersistencyHelper:

Public Member Functions

 __init__ (self, types)
 
 handle (self, typ)
 

Public Attributes

 types = set(types)
 

Detailed Description

Base class for extensions to persistency configuration in GaudiPython.

Definition at line 99 of file Persistency.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 104 of file Persistency.py.

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

Member Function Documentation

◆ handle()

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

Definition at line 110 of file Persistency.py.

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

Member Data Documentation

◆ types

GaudiPython.Persistency.PersistencyHelper.types = set(types)

Definition at line 108 of file Persistency.py.


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