MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / Enum

Class Enum

schemas/generate_model.py:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94class Enum(object):
95 def __init__(self):
96 self.name = None
97 self.uatype = None
98 self.values = []
99 self.doc = ""
100
101 def get_ctype(self):
102 return f'uint{self.uatype}_t'
103
104
105class EnumValue(object):

Callers 1

parse_enumMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected