Public Member Functions | Static Private Member Functions | List of all members
opcua.ua.uatypes._MaskEnum Class Reference
Inheritance diagram for opcua.ua.uatypes._MaskEnum:
Inheritance graph
[legend]

Public Member Functions

def mask (self)
 
def parse_bitfield (cls, the_int)
 
def to_bitfield (cls, collection)
 

Static Private Member Functions

def _bits (n)
 

Detailed Description

Definition at line 70 of file uatypes.py.

Member Function Documentation

def opcua.ua.uatypes._MaskEnum._bits (   n)
staticprivate
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.


The documentation for this class was generated from the following file:


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:45