ATLAS Offline Software
Loading...
Searching...
No Matches
python.TransformConfig.AllowedExpression Class Reference
Collaboration diagram for python.TransformConfig.AllowedExpression:

Public Member Functions

 __init__ (self, expression)
 __contains__ (self, value)
 __str__ (self)
 __iter__ (self)
 next (self)
 __next__ (self)

Public Attributes

 expression = expression

Detailed Description

Definition at line 256 of file TransformConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.TransformConfig.AllowedExpression.__init__ ( self,
expression )
Any python (string) boolean expression where 'value' stands for the value.
For example, for a number range check: \"0 < value < 100\" 

Definition at line 257 of file TransformConfig.py.

257 def __init__(self,expression):
258 """Any python (string) boolean expression where 'value' stands for the value.
259 For example, for a number range check: \"0 < value < 100\" """
260 self.expression = expression
261
262

Member Function Documentation

◆ __contains__()

python.TransformConfig.AllowedExpression.__contains__ ( self,
value )

Definition at line 263 of file TransformConfig.py.

263 def __contains__(self,value):
264 return eval(self.expression)
265
266

◆ __iter__()

python.TransformConfig.AllowedExpression.__iter__ ( self)

Definition at line 271 of file TransformConfig.py.

271 def __iter__(self):
272 return self
273
274

◆ __next__()

python.TransformConfig.AllowedExpression.__next__ ( self)
No iteration

Definition at line 280 of file TransformConfig.py.

280 def __next__(self):
281 """No iteration"""
282 raise StopIteration
283
284
285
286

◆ __str__()

python.TransformConfig.AllowedExpression.__str__ ( self)

Definition at line 267 of file TransformConfig.py.

267 def __str__(self):
268 return self.expression
269
270

◆ next()

python.TransformConfig.AllowedExpression.next ( self)
No iteration

Definition at line 275 of file TransformConfig.py.

275 def next(self):
276 """No iteration"""
277 raise StopIteration
278
279

Member Data Documentation

◆ expression

python.TransformConfig.AllowedExpression.expression = expression

Definition at line 260 of file TransformConfig.py.


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