Base class for extensions to persistency configuration in GaudiPython.
Definition at line 99 of file Persistency.py.
◆ __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
◆ 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
◆ types
GaudiPython.Persistency.PersistencyHelper.types = set(types) |
The documentation for this class was generated from the following file: