Integer

class Cauldron.types.Integer[source] [edit on github]

Bases: Cauldron.types.Basic

An integer value keyword.

Attributes Summary

KTL_TYPE
maximum
minimum

Methods Summary

cast(value) Cast through float
check(value) Check range against allowed KTL values.
increment([amount]) Increment the integer value.
postread(value) Translate the value for python binary return.
translate(value) Check value before writing.

Attributes Documentation

KTL_TYPE = 'integer'
maximum = 2147483647
minimum = -2147483648

Methods Documentation

cast(value)[source] [edit on github]

Cast through float

check(value)[source] [edit on github]

Check range against allowed KTL values.

increment(amount=1)[source] [edit on github]

Increment the integer value.

postread(value)[source] [edit on github]

Translate the value for python binary return.

translate(value)[source] [edit on github]

Check value before writing.