MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / __init__

Method __init__

tools/scripts/gdbext.py:274–281  ·  view source on GitHub ↗
(self, value=None, entity_key=None, entity_kind=None)

Source from the content-addressed store, hash-verified

272class GuidEntityPrinter(GuidPrinterBase):
273
274 def __init__(self, value=None, entity_key=None, entity_kind=None):
275 if value is not None:
276 self.entity_key = get_byte_array(value['entityKey'])
277 self.entity_kind = int(value['entityKind'])
278 else:
279 self.entity_key = entity_key
280 self.entity_kind = entity_kind
281 GuidPrinterBase.__init__(self, self.entity_key + (self.entity_kind,))
282
283 builtins = {
284 (0x00, 0x00, 0x02): 'SEDP topic',

Callers

nothing calls this directly

Calls 2

get_byte_arrayFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected