![]() |
ATLAS Offline Software
|
Public Member Functions | |
| def | __init__ (self, default, type=None, help=None) |
| def | set (self, value) |
| def | get (self, flagdict=None) |
| def | __repr__ (self) |
Private Member Functions | |
| def | _validateType (self, value) |
Private Attributes | |
| _type | |
| _help | |
| _value | |
| _setDef | |
Static Private Attributes | |
| list | __slots__ = ['_value', '_setDef', '_type', '_help'] |
| dictionary | _compatibleTypes |
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.
| def python.AthConfigFlags.CfgFlag.__init__ | ( | self, | |
| default, | |||
type = None, |
|||
help = None |
|||
| ) |
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.
| def python.AthConfigFlags.CfgFlag.__repr__ | ( | self | ) |
Definition at line 91 of file AthConfigFlags.py.
|
private |
Definition at line 97 of file AthConfigFlags.py.
| def 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.
| def 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.
|
staticprivate |
Definition at line 30 of file AthConfigFlags.py.
|
private |
Definition at line 42 of file AthConfigFlags.py.
|
private |
Definition at line 53 of file AthConfigFlags.py.
|
private |
Definition at line 41 of file AthConfigFlags.py.
|
private |
Definition at line 52 of file AthConfigFlags.py.
1.8.18