open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
Data Fields
UA_NodeReferenceKind Struct Reference

#include <nodestore.h>

Data Fields

union { 
 
   UA_ReferenceTarget *   array 
 
   struct { 
 
      UA_ReferenceTargetTreeElem *   idRoot 
 
      UA_ReferenceTargetTreeElem *   nameRoot 
 
   }   tree 
 
targets 
 
size_t targetsSize
 
UA_Boolean hasRefTree
 
UA_Byte referenceTypeIndex
 
UA_Boolean isInverse
 

Detailed Description

List of reference targets with the same reference type and direction.

Uses either an array or a tree structure. The SDK will not change the type of reference target structure internally. The nodestore implementations may switch internally when a node is updated.

The recommendation is to switch to a tree once the number of refs > 8.

Definition at line 249 of file nodestore.h.

Field Documentation

◆ array

UA_ReferenceTarget* UA_NodeReferenceKind::array

Definition at line 254 of file nodestore.h.

◆ hasRefTree

UA_Boolean UA_NodeReferenceKind::hasRefTree

Definition at line 267 of file nodestore.h.

◆ idRoot

UA_ReferenceTargetTreeElem* UA_NodeReferenceKind::idRoot

Definition at line 262 of file nodestore.h.

◆ isInverse

UA_Boolean UA_NodeReferenceKind::isInverse

Definition at line 269 of file nodestore.h.

◆ nameRoot

UA_ReferenceTargetTreeElem* UA_NodeReferenceKind::nameRoot

Definition at line 263 of file nodestore.h.

◆ referenceTypeIndex

UA_Byte UA_NodeReferenceKind::referenceTypeIndex

Definition at line 268 of file nodestore.h.

◆ [union]

union { ... } UA_NodeReferenceKind::targets

◆ targetsSize

size_t UA_NodeReferenceKind::targetsSize

Definition at line 266 of file nodestore.h.

◆ [struct]

struct { ... } UA_NodeReferenceKind::tree

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