C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537

Class implementing references of type HasTypeDefinition. More...

#include <uabasereferences.h>

Inherits UaReference.

Public Member Functions

 UaRefHasTypeDefinition (UaNode *pSourceNode, UaNode *pTargetNode)
 construction
 
virtual ~UaRefHasTypeDefinition ()
 destruction
 
UaNodeId referenceTypeId () const
 Get the ReferenceTypeId of the current Node. More...
 
OpcUa_Boolean isSubtypeOf (const OpcUa_NodeId *pNodeId) const
 Check whether the current reference is a subtype of the passed reference type node id. More...
 
- Public Member Functions inherited from UaReference
 UaReference (UaNode *pSourceNode, UaNode *pTargetNode)
 construction
 
virtual ~UaReference ()
 destruction
 
virtual
CrossNodeManagerReferenceType 
isCrossNodeManagerRef () const
 Checks whether this reference is across node managers or not. More...
 
virtual OpcUa_Boolean isOutOfServerRef () const
 Checks whether a Node is out of Servers References. More...
 
UaNodepSourceNode () const
 Get the source Node. More...
 
UaNodepTargetNode () const
 Get the target Node. More...
 
void setSourceNodeInvalid ()
 Set source node to invalid. More...
 
void setTargetNodeInvalid ()
 Set target Node to invalid. More...
 
void setNextForwardReference (UaReference *pNextReference)
 Set the next reference for a list of forward references. More...
 
UaReferencepNextForwardReference ()
 Get the next reference in a list of forward references. More...
 
void setNextInverseReference (UaReference *pNextReference)
 Set the next reference for a list of inverse references. More...
 
UaReferencepNextInverseReference ()
 Get the next reference in a list of inverse references. More...
 

Additional Inherited Members

- Public Types inherited from UaReference
enum  CrossNodeManagerReferenceType { UA_NO_CROSSNODEMANAGER = 0, UA_LIST_OF_REFERENCES, UA_SINGLE_REFERENCE }
 Enumeration of cross node manager reference type. More...
 
- Protected Attributes inherited from UaReference
UaNodem_pSourceNode
 Source node of the reference.
 
UaNodem_pTargetNode
 Target node of the reference.
 
UaReferencem_pNextForwardReference
 Next reference in a list of forward references.
 
UaReferencem_pNextInverseReference
 Next reference in a list of inverse references.
 

Detailed Description

Class implementing references of type HasTypeDefinition.

The semantic of this ReferenceType is to bind an Object or Variable to its ObjectType or VariableType, respectively.

Member Function Documentation

OpcUa_Boolean UaRefHasTypeDefinition::isSubtypeOf ( const OpcUa_NodeId pNodeId) const
virtual

Check whether the current reference is a subtype of the passed reference type node id.

Parameters
pNodeIdNodeId of the requested reference type.
Returns
TRUE if the reference is a subtype of the passed type FALSE if not.

Implements UaReference.

UaNodeId UaRefHasTypeDefinition::referenceTypeId ( ) const
virtual

Get the ReferenceTypeId of the current Node.

Returns
the ReferenceTypeId of the current Node.

Implements UaReference.


The documentation for this class was generated from the following files: