Public Member Functions | |
def | mask |
def | parse_bitfield |
def | to_bitfield |
Static Private Member Functions | |
def | _bits |
Definition at line 70 of file uatypes.py.
def opcua.ua.uatypes._MaskEnum._bits | ( | n | ) | [static, private] |
Iterate over the bits in n. e.g. bits(44) yields at 2, 3, 5
Definition at line 94 of file uatypes.py.
def opcua.ua.uatypes._MaskEnum.mask | ( | self | ) |
Definition at line 90 of file uatypes.py.
def opcua.ua.uatypes._MaskEnum.parse_bitfield | ( | cls, | |
the_int | |||
) |
Take an integer and interpret it as a set of enum values.
Definition at line 73 of file uatypes.py.
def opcua.ua.uatypes._MaskEnum.to_bitfield | ( | cls, | |
collection | |||
) |
Takes some enum values and creates an integer from them.
Definition at line 80 of file uatypes.py.