Skip to content

AttributeInteger

Canonical path: NemAll_Python_BaseElements.AttributeInteger

Bases: Attribute

Integer attribute

Value property writable

Value: int

Get the attribute value

__eq__

__eq__(element: AttributeInteger) -> bool

Equal operator

Parameters:

Returns:

  • bool

    Elements are equal: true/false

__init__ overloaded

__init__()

Initialize

__init__(id: int, value: int)

Constructor

Parameters:

  • id (int) –

    Attribute id

  • value (int) –

    Attribute value

__init__(element: AttributeInteger)

Copy constructor

Parameters:

__ne__

__ne__(element: AttributeInteger) -> bool

Unequal operator

Parameters:

Returns:

  • bool

    Elements are unequal: true/false

__repr__

__repr__() -> str

Convert to string

Placeholder