ConfigVariableInt

from acron.core import ConfigVariableInt
class ConfigVariableInt

Bases:

Bases: ConfigVariable

This is a convenience class to specialize ConfigVariable as 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=""]; }
__bool__()

Returns true if the variable is not 0.

__getitem__()
__init__()
assign()
property default_value → int

Returns the variable’s default value.

get_default_value()

Returns the variable’s default value.

get_value()

Returns the variable’s value.

get_word()

Returns the variable’s nth value.

set_value()

Reassigns the variable’s local value.

set_word()

Reassigns the variable’s nth value. This makes a local copy of the variable’s overall value.

size()

Returns the number of unique words in the variable.

property value → int
Getter

Returns the variable’s value.

Setter

Reassigns the variable’s local value.