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

Method get_children

opcua/common/node.py:294–316  ·  view source on GitHub ↗

Get all children of a node. By default hierarchical references and all node classes are returned. Other reference types may be given: References = 31 NonHierarchicalReferences = 32 HierarchicalReferences = 33 HasChild = 34 Organizes = 35

(self, refs=ua.ObjectIds.HierarchicalReferences, nodeclassmask=ua.NodeClass.Unspecified)

Source from the content-addressed store, hash-verified

292 return results
293
294 def get_children(self, refs=ua.ObjectIds.HierarchicalReferences, nodeclassmask=ua.NodeClass.Unspecified):
295 """
296 Get all children of a node. By default hierarchical references and all node classes are returned.
297 Other reference types may be given:
298 References = 31
299 NonHierarchicalReferences = 32
300 HierarchicalReferences = 33
301 HasChild = 34
302 Organizes = 35
303 HasEventSource = 36
304 HasModellingRule = 37
305 HasEncoding = 38
306 HasDescription = 39
307 HasTypeDefinition = 40
308 GeneratesEvent = 41
309 Aggregates = 44
310 HasSubtype = 45
311 HasProperty = 46
312 HasComponent = 47
313 HasNotifier = 48
314 HasOrderedComponent = 49
315 """
316 return self.get_referenced_nodes(refs, ua.BrowseDirection.Forward, nodeclassmask)
317
318 def get_properties(self):
319 """

Callers 15

get_propertiesMethod · 0.95
get_variablesMethod · 0.95
get_methodsMethod · 0.95
check_custom_typeFunction · 0.95
_lsprint_longFunction · 0.80
get_node_childrenFunction · 0.80
get_node_subtypesFunction · 0.80
_add_childsFunction · 0.80
load_enumsFunction · 0.80
test_nocryptoMethod · 0.80

Calls 1

get_referenced_nodesMethod · 0.95