ATLAS Offline Software
|
List of string arguments. More...
Public Member Functions | |
def | __init__ (self, value=[], supressEmptyStrings=True, splitter=',', runarg=True, name=None) |
List of string arguments. More... | |
def | value (self) |
Argument value getter. More... | |
def | prodsysDescription (self) |
def | value (self, value) |
Argument value setter. More... | |
def | append (self, addme) |
Append a value to the list. More... | |
def | __str__ (self) |
String conversion. More... | |
def | __repr__ (self) |
Repr conversion. More... | |
def | isRunarg (self) |
Return runarg status. More... | |
def | name (self) |
Name getter. More... | |
def | name (self, value) |
Name setter. More... | |
def | __eq__ (self, other) |
Comparison is based on value attribute. More... | |
def | __nq__ (self, other) |
def | __lt__ (self, other) |
def | __gt__ (self, other) |
Public Attributes | |
value | |
Private Attributes | |
_splitter | |
_supressEmptyStrings | |
_value | |
_runarg | |
_name | |
List of string arguments.
Definition at line 348 of file trfArgClasses.py.
def python.trfArgClasses.argList.__init__ | ( | self, | |
value = [] , |
|||
supressEmptyStrings = True , |
|||
splitter = ',' , |
|||
runarg = True , |
|||
name = None |
|||
) |
List of string arguments.
Argument holding a list of string values
splitter | The splitter argument determines how the string is split (default by a comma) |
value | Initial value to set (note default is an empty list []) |
supressEmptyStrings | If empty strings are removed from the list (Can be used to easily set an empty list from the CLI) |
Definition at line 356 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.
def python.trfArgClasses.argList.__repr__ | ( | self | ) |
Repr conversion.
Return a python parsable string
Reimplemented from python.trfArgClasses.argument.
Definition at line 409 of file trfArgClasses.py.
def python.trfArgClasses.argList.__str__ | ( | self | ) |
String conversion.
Flatten values and space separate
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argFile, python.trfArgClasses.argKeyFloatValueList, and python.trfArgClasses.argIntList.
Definition at line 404 of file trfArgClasses.py.
def python.trfArgClasses.argList.append | ( | self, | |
addme | |||
) |
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.
Definition at line 139 of file trfArgClasses.py.
|
inherited |
Name setter.
Reimplemented in python.trfArgClasses.argFile.
Definition at line 144 of file trfArgClasses.py.
def python.trfArgClasses.argList.prodsysDescription | ( | self | ) |
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argFTKIPFile, python.trfArgClasses.argBZ2File, python.trfArgClasses.argNTUPFile, python.trfArgClasses.argHISTFile, python.trfArgClasses.argPOOLFile, python.trfArgClasses.argBSFile, python.trfArgClasses.argAthenaFile, python.trfArgClasses.argFile, python.trfArgClasses.argKeyFloatValueList, and python.trfArgClasses.argIntList.
Definition at line 370 of file trfArgClasses.py.
def python.trfArgClasses.argList.value | ( | self | ) |
Argument value getter.
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argFile, python.trfArgClasses.argKeyFloatValueList, and python.trfArgClasses.argIntList.
Definition at line 365 of file trfArgClasses.py.
def python.trfArgClasses.argList.value | ( | self, | |
value | |||
) |
Argument value setter.
If we get a list then set that, otherwise we split a string on the splitter character
Reimplemented from python.trfArgClasses.argument.
Reimplemented in python.trfArgClasses.argFile, python.trfArgClasses.argKeyFloatValueList, and python.trfArgClasses.argIntList.
Definition at line 380 of file trfArgClasses.py.
|
privateinherited |
Definition at line 111 of file trfArgClasses.py.
|
privateinherited |
Definition at line 110 of file trfArgClasses.py.
|
private |
Definition at line 357 of file trfArgClasses.py.
|
private |
Definition at line 358 of file trfArgClasses.py.
|
private |
Definition at line 382 of file trfArgClasses.py.
|
inherited |
@value
.setter function! Definition at line 118 of file trfArgClasses.py.