Definition at line 256 of file TransformConfig.py.
◆ __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
◆ __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 | ) |
|
◆ __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
◆ expression
| python.TransformConfig.AllowedExpression.expression = expression |
The documentation for this class was generated from the following file: