![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, default, type=None, help=None) | |
| set (self, value) | |
| get (self, flagdict=None) | |
| __repr__ (self) | |
Protected Member Functions | |
| _validateType (self, value) | |
Protected Attributes | |
| _type = type | |
| _help = help | |
| _value = None | |
| _setDef = value | |
Static Protected Attributes | |
| dict | _compatibleTypes |
Static Private Attributes | |
| list | __slots__ = ['_value', '_setDef', '_type', '_help'] |
The base flag object. A flag can be set to either a fixed value or a callable, which computes the value based on other flags.
Definition at line 22 of file AthConfigFlags.py.
Initialise the flag with the default value. Optionally set the type of the flag value and the help string.
Definition at line 35 of file AthConfigFlags.py.
| python.AthConfigFlags.CfgFlag.__repr__ | ( | self | ) |
Definition at line 92 of file AthConfigFlags.py.
|
protected |
Definition at line 98 of file AthConfigFlags.py.
| python.AthConfigFlags.CfgFlag.get | ( | self, | |
| flagdict = None ) |
Get the value of the flag. If the currently set value is a callable, a dictionary of all available flags needs to be provided.
Definition at line 61 of file AthConfigFlags.py.
| python.AthConfigFlags.CfgFlag.set | ( | self, | |
| value ) |
Set the value of the flag. Can be a constant value or a callable.
Definition at line 47 of file AthConfigFlags.py.
|
staticprivate |
Definition at line 29 of file AthConfigFlags.py.
|
staticprotected |
Definition at line 31 of file AthConfigFlags.py.
|
protected |
Definition at line 43 of file AthConfigFlags.py.
|
protected |
Definition at line 54 of file AthConfigFlags.py.
|
protected |
Definition at line 42 of file AthConfigFlags.py.
|
protected |
Definition at line 53 of file AthConfigFlags.py.