ConfigVariableList¶
-
class ConfigVariableList¶
Bases:
ConfigVariableBaseThis class is similar to
ConfigVariable, but it reports its value as a list of strings. In this special case, all of the declarations of the variable are returned as the elements of this list, in order.Note that this is different from a normal
ConfigVariableString, which just returns its topmost value, which can optionally be treated as a number of discrete words by dividing it at the spaces.A ConfigVariableList cannot be modified locally.
Inheritance diagram
digraph inheritance0db62c4b26 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "ConfigFlags" [URL="acron.core.ConfigFlags.html#acron.core.ConfigFlags",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ConfigFlags" [arrowsize=0.75,style=""]; "ConfigVariableBase" [URL="acron.core.ConfigVariableBase.html#acron.core.ConfigVariableBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ConfigFlags" -> "ConfigVariableBase" [arrowsize=0.75,style=""]; "ConfigVariableList" [URL="acron.core.ConfigVariableList.html#acron.core.ConfigVariableList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ConfigVariableBase" -> "ConfigVariableList" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }- ConfigVariableList.__getitem__()¶
- ConfigVariableList.__init__()¶
- ConfigVariableList.get_num_unique_values()¶
Returns the number of unique values in the variable.
- ConfigVariableList.get_num_values()¶
Returns the number of values in the variable.
- ConfigVariableList.get_string_value()¶
Returns the nth value of the variable.
- ConfigVariableList.get_unique_value()¶
Returns the nth unique value of the variable.
- ConfigVariableList.output()¶
- ConfigVariableList.size()¶
Returns the number of unique values of the variable.
- ConfigVariableList.write()¶