ANSI C Based OPC UA Client/Server SDK  1.9.0.430
OpcUa_Reference Struct Reference

Represents a reference from one node to another. More...

#include <uaserver_basenode.h>

Data Structures

union  OpcUa_Reference_Target
 Holds the target of the reference, depending on targetType the according member is set. More...
 

Data Fields

OpcUa_NodeId refType
 The reference type.
 
OpcUa_Reference_TargetType targetType
 Depending on this member, the according field of OpcUa_Reference_Target is set. More...
 
union
OpcUa_Reference::OpcUa_Reference_Target 
target
 Holds the target of the reference, depending on targetType the according member is set. More...
 
OpcUa_BaseNode * pSourceNode
 The source OpcUa_BaseNode of the reference. More...
 

Detailed Description

Represents a reference from one node to another.

Depending on the targetType set, the according member of OpcUa_Reference_Target is used for storing the target of the reference.

If the node containing the reference is equal to pSourceNode, it is a forward reference; if it is equal to the target OpcUa_Reference_Target::pNode, it is an inverse reference.

Field Documentation

OpcUa_BaseNode* OpcUa_Reference::pSourceNode

The source OpcUa_BaseNode of the reference.

union OpcUa_Reference::OpcUa_Reference_Target OpcUa_Reference::target

Holds the target of the reference, depending on targetType the according member is set.

OpcUa_Reference_TargetType OpcUa_Reference::targetType

Depending on this member, the according field of OpcUa_Reference_Target is set.

If set to TargetTypeNode, the OpcUa_Reference_Target::pNode member holds the target OpcUa_BaseNode of the reference. If set to TargetTypeNodeId, the OpcUa_Reference_Target::id member holds the target OpcUa_NodeId of the reference.


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