C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaBase::Reference Class Reference

Stores the information of the Reference. More...

#include <basenodes.h>

Public Member Functions

 Reference ()
 Creates a forward reference. More...
 
 Reference (const UaNodeId &referenceTypeId, bool bIsForward, const UaNodeId &targetNodeId)
 Creates a reference. More...
 
 ~Reference ()
 Desctruction. More...
 
void setTargetNodeId (const UaNodeId &targetNodeId)
 Sets the target NodeId. More...
 
UaNodeId targetNodeId () const
 Returns the target NodeId. More...
 
void setIsForward (bool bIsForward)
 Specifies whether the reference is a forward reference or an inverse reference. More...
 
bool isForward () const
 Returns true if the reference is a forward reference. More...
 
void setReferenceTypeId (const UaNodeId &referenceTypeId)
 Sets the NodeId of the ReferenceType. More...
 
UaNodeId referenceTypeId () const
 Returns the NodeId of the ReferenceType. More...
 
bool operator== (const Reference &other) const
 Compares two References. More...
 

Detailed Description

Stores the information of the Reference.

Contains the UaNodeId of the target, the ReferenceTypeId and a flag that indicates whether the reference is a forward reference. Used by UaNodeSetXmlParser.

Constructor & Destructor Documentation

UaBase::Reference::Reference ( )

Creates a forward reference.

UaBase::Reference::Reference ( const UaNodeId referenceTypeId,
bool  bIsForward,
const UaNodeId targetNodeId 
)

Creates a reference.

UaBase::Reference::~Reference ( )

Desctruction.

Member Function Documentation

bool UaBase::Reference::isForward ( ) const

Returns true if the reference is a forward reference.

bool UaBase::Reference::operator== ( const Reference other) const

Compares two References.

UaNodeId UaBase::Reference::referenceTypeId ( ) const

Returns the NodeId of the ReferenceType.

void UaBase::Reference::setIsForward ( bool  bIsForward)

Specifies whether the reference is a forward reference or an inverse reference.

void UaBase::Reference::setReferenceTypeId ( const UaNodeId referenceTypeId)

Sets the NodeId of the ReferenceType.

void UaBase::Reference::setTargetNodeId ( const UaNodeId targetNodeId)

Sets the target NodeId.

UaNodeId UaBase::Reference::targetNodeId ( ) const

Returns the target NodeId.


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