UA Ansi C Server Professional  1.3.1.232
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
_OpcUa_Reference Struct Reference

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

#include <uaserver_basenode.h>

Data Fields

OpcUa_NodeId refType
 The reference type.
TargetType targetType
 Depending on this member, the according field of target is set.
union {
   OpcUa_BaseNode *   pNode
 The target OpcUa_BaseNode (if targetType is set to TargetTypeNode )
   OpcUa_NodeId   id
 The target OpcUa_NodeId (if targetType is set to TargetTypeNodeId )
target
 Holds the target of the reference, depending on targetType the according member is set.
OpcUa_BaseNode * pSourceNode
 The source OpcUa_BaseNode of the reference.

Detailed Description

Represents a reference from one node to another.

Depending on the targetType set, the according member of 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 pNode, it is an inverse reference.

Field Documentation

OpcUa_BaseNode* _OpcUa_Reference::pSourceNode

The source OpcUa_BaseNode of the reference.

union { ... } _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 target is set.

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


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