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 19 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 32 of file AthConfigFlags.py.
def python.AthConfigFlags.CfgFlag.__repr__ | ( | self | ) |
Definition at line 89 of file AthConfigFlags.py.
|
private |
Definition at line 95 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 58 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 44 of file AthConfigFlags.py.
|
staticprivate |
Definition at line 26 of file AthConfigFlags.py.
|
staticprivate |
Definition at line 28 of file AthConfigFlags.py.
|
private |
Definition at line 40 of file AthConfigFlags.py.
|
private |
Definition at line 51 of file AthConfigFlags.py.
|
private |
Definition at line 39 of file AthConfigFlags.py.
|
private |
Definition at line 50 of file AthConfigFlags.py.