Enumeration#

class itala.itala.IEnumeration(*args, **kwargs)#

Bases: IValue

Interface for enumeration properties

property entries: None#

Get list of entry nodes

get_current_entry(Verify: bool = False, IgnoreCache: bool = False) → GENAPI_NAMESPACE::IEnumEntry *#

Get the current entry

get_entry(IntValue: int64_t const) → GENAPI_NAMESPACE::IEnumEntry *#

Get an entry node by its IntValue

get_entry_by_name(Symbolic: str) → GENAPI_NAMESPACE::IEnumEntry *#

Get an entry node by name

get_int_value(Verify: bool = False, IgnoreCache: bool = False) → int#
Get integer node value
type Verify:

boolean, optional

param Verify:

Enables Range verification (default = false). The AccessMode is always checked

type IgnoreCache:

boolean, optional

param IgnoreCache:

If true the value is read ignoring any caches (default = false)

rtype:

int

return:

The value read

get_value(verify=False, ignore_cache=False)#
set_int_value(Value: int, Verify: bool = True) → None#
Set integer node value
type Value:

int

param Value:

The value to set

type Verify:

boolean, optional

param Verify:

Enables AccessMode and Range verification (default = true)

set_value(value, verify=True)#
property symbolics: None#

Get list of symbolic Values

property thisown#

The membership flag

property value#