ScriptTraceVariableList¶
- class ScriptTraceVariableList.ScriptTraceVariableList(iterable=(), /)¶
- Bases: - listProvides functionality for the modification of the list of variables, traced by the corresponding ScriptTraceObject.- __iter__() Iterable[ScriptTraceVariable]¶
 - __next__() ScriptTraceVariable¶
 - __len__() int¶
- Returns the number of ScriptTraceVariables in this ScriptTraceVariableList.
 - __contains__(variable: ScriptTraceVariable) bool¶
- Returns, wether the ScriptTraceVariableList contains the ScriptTraceVariable.Allows usage of ‘in’ and ‘not in’ operators.
 - __getitem__(index: int) ScriptTraceVariable¶
- Gets or sets the trace variable at the given index.
 - add() ScriptTraceVariable¶
- Creates and adds a ScriptTraceVariable to the list. Returns the ScriptTraceVariale.Not allowed for the variable list of the DeviceTrace.
 - remove(index: int) None¶
- remove(traceVariable: ScriptTraceVariable) None
- Removes the given ScriptTraceVariable from this ScriptTraceVariableList.
 - clear() None¶
- Removes all ScriptTraceVariables from this ScriptTraceVariableList.
 - index_of(variable: ScriptTraceVariable) int¶
- Returns the index of the ScriptTraceVariable in the list or -1, if the Variable could not be found.
 - contains(variable: ScriptTraceVariable) bool¶
- Returns, wether the ScriptTraceVariableList contains the ScriptTraceVariable.