![]() |
ATLAS Offline Software
|
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, value={}, supressEmptyStrings=True, splitter=',', kvsplitter=":", runarg=True, name=None) | |
| Dictionary of key value arguments, where the values are floats. | |
| value (self) | |
| Argument value getter. | |
| value (self, value) | |
| Argument value setter. | |
| __str__ (self) | |
| prodsysDescription (self) | |
| append (self, addme) | |
| Append a value to the list. | |
| __repr__ (self) | |
| Repr conversion. | |
| isRunarg (self) | |
| Return runarg status. | |
| name (self) | |
| Name getter. | |
| name (self, value) | |
| Name setter. | |
| __eq__ (self, other) | |
| Comparison is based on value attribute. | |
| __nq__ (self, other) | |
| __lt__ (self, other) | |
| __gt__ (self, other) | |
Protected Attributes | |
| _kvsplitter = kvsplitter | |
| _splitter = splitter | |
| _supressEmptyStrings = supressEmptyStrings | |
| _runarg = runarg | |
| _name = name | |
| _value = value | |
Definition at line 458 of file trfArgClasses.py.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| python.trfArgClasses.argKeyFloatValueList.__init__ | ( | self, | |
| value = {}, | |||
| supressEmptyStrings = True, | |||
| splitter = ',', | |||
| kvsplitter = ":", | |||
| runarg = True, | |||
| name = None ) |
Dictionary of key value arguments, where the values are floats.
| splitter | The splitter argument determines how the string is split (default by a comma) |
| kvsplitter | The kvsplitter argument determines how the key and value are split (default by a colon) |
| value | Initial value to set (note default is an empty dictionary {}) |
| supressEmptyStrings | If empty strings are removed from the list (Can be used to easily set an empty list from the CLI) |
Definition at line 465 of file trfArgClasses.py.
|
inherited |
Comparison is based on value attribute.
Definition at line 161 of file trfArgClasses.py.
|
inherited |
Definition at line 170 of file trfArgClasses.py.
|
inherited |
Definition at line 167 of file trfArgClasses.py.
|
inherited |
Definition at line 164 of file trfArgClasses.py.
|
inherited |
Repr conversion.
Return a python parsable string
Definition at line 409 of file trfArgClasses.py.
| python.trfArgClasses.argKeyFloatValueList.__str__ | ( | self | ) |
Definition at line 511 of file trfArgClasses.py.
|
inherited |
Append a value to the list.
| addme | Item to add |
Definition at line 398 of file trfArgClasses.py.
|
inherited |
Return runarg status.
Definition at line 134 of file trfArgClasses.py.
|
inherited |
Name getter.
Reimplemented in python.trfArgClasses.argFile, and python.trfArgClasses.argFile.
Definition at line 139 of file trfArgClasses.py.
|
inherited |
Name setter.
Reimplemented in python.trfArgClasses.argFile, and python.trfArgClasses.argFile.
Definition at line 144 of file trfArgClasses.py.
| python.trfArgClasses.argKeyFloatValueList.prodsysDescription | ( | self | ) |
Reimplemented from python.trfArgClasses.argList.
Definition at line 515 of file trfArgClasses.py.
| python.trfArgClasses.argKeyFloatValueList.value | ( | self | ) |
Argument value getter.
Reimplemented from python.trfArgClasses.argList.
Definition at line 475 of file trfArgClasses.py.
| python.trfArgClasses.argKeyFloatValueList.value | ( | self, | |
| value ) |
Argument value setter.
If we get a dict then set that, otherwise we split a string on the splitter character and then on the kvsplitter into key and value, with the value being converted to float
| trfExceptions.TransformArgException | Exception thrown if any dictionary key:value member is not string:int |
| trfExceptions.TransformArgException | Exception thrown if any int() conversion fails of the kvsplitter is not found |
Reimplemented from python.trfArgClasses.argList.
Definition at line 484 of file trfArgClasses.py.
|
protected |
Definition at line 467 of file trfArgClasses.py.
|
protectedinherited |
Definition at line 111 of file trfArgClasses.py.
|
protectedinherited |
Definition at line 110 of file trfArgClasses.py.
|
protectedinherited |
Definition at line 357 of file trfArgClasses.py.
|
protectedinherited |
Definition at line 358 of file trfArgClasses.py.
|
protectedinherited |
Definition at line 130 of file trfArgClasses.py.