UA ANSI C Server Professional  1.4.2.297
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
_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.
 
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.

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: