ConfigVariableInt¶
-
class ConfigVariableInt¶
Bases:
ConfigVariableThis is a convenience class to specialize
ConfigVariableas an integer type.Inheritance diagram
digraph inheritancec220774c70 { 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=""]; "ConfigVariable" [URL="acron.core.ConfigVariable.html#acron.core.ConfigVariable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ConfigVariableBase" -> "ConfigVariable" [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=""]; "ConfigVariableInt" [URL="acron.core.ConfigVariableInt.html#acron.core.ConfigVariableInt",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ConfigVariable" -> "ConfigVariableInt" [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=""]; }- ConfigVariableInt.__bool__()¶
Returns true if the variable is not 0.
- ConfigVariableInt.__getitem__()¶
- ConfigVariableInt.__init__()¶
- ConfigVariableInt.assign()¶
- ConfigVariableInt.get_default_value()¶
Returns the variable’s default value.
- ConfigVariableInt.get_value()¶
Returns the variable’s value.
- ConfigVariableInt.get_word()¶
Returns the variable’s nth value.
- ConfigVariableInt.set_value()¶
Reassigns the variable’s local value.
- ConfigVariableInt.set_word()¶
Reassigns the variable’s nth value. This makes a local copy of the variable’s overall value.
- ConfigVariableInt.size()¶
Returns the number of unique words in the variable.