Skip to content

AttributeDouble

Canonical path: NemAll_Python_BaseElements.AttributeDouble

Bases: Attribute

Double attribute

Value property writable

Value: float

Get the attribute value

__eq__

__eq__(element: AttributeDouble) -> bool

Equal operator

Parameters:

Returns:

  • bool

    Elements are equal: true/false

__init__ overloaded

__init__()

Initialize

__init__(id: int, value: float)

Constructor

Parameters:

  • id (int) –

    Attribute id

  • value (float) –

    Attribute value

__init__(element: AttributeDouble)

Copy constructor

Parameters:

__ne__

__ne__(element: AttributeDouble) -> bool

Unequal operator

Parameters:

Returns:

  • bool

    Elements are unequal: true/false

__repr__

__repr__() -> str

Convert to string

Placeholder