![]() |
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 21 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 34 of file AthConfigFlags.py.
| python.AthConfigFlags.CfgFlag.__repr__ | ( | self | ) |
Definition at line 91 of file AthConfigFlags.py.
|
protected |
Definition at line 97 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 60 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 46 of file AthConfigFlags.py.
|
staticprivate |
Definition at line 28 of file AthConfigFlags.py.
|
staticprotected |
Definition at line 30 of file AthConfigFlags.py.
|
protected |
Definition at line 42 of file AthConfigFlags.py.
|
protected |
Definition at line 53 of file AthConfigFlags.py.
|
protected |
Definition at line 41 of file AthConfigFlags.py.
|
protected |
Definition at line 52 of file AthConfigFlags.py.