C++ Based OPC UA Client/Server SDK  1.5.5.355

Class definition of the UaReferenceType. More...

#include <uabasenodes.h>

Inherits UaNode.

Inherited by UaGenericReferenceType, and UaReferenceTypeNS0.

Public Member Functions

 UaReferenceType ()
 construction
 
virtual OpcUa_Boolean isAbstract () const =0
 Check if Node is Abstract. More...
 
virtual OpcUa_Boolean symmetric () const =0
 Check if Node is symmetric. More...
 
virtual OpcUa_Boolean isInverseNameSupported () const =0
 Check if Node is InverseNameSupported. More...
 
virtual UaLocalizedText inverseName (Session *pSession) const =0
 Get the inverseName as LocalizedText of the current Node. More...
 
OpcUa_NodeClass nodeClass () const
 Get the NodeClass of the current Node. More...
 
virtual OpcUa_Boolean isSubtypeOf (const OpcUa_NodeId *pNodeId) const =0
 Check whether the current Node is a Subtype of another. More...
 
virtual void getAttributeValue (Session *pSession, OpcUa_Int32 attributeId, UaDataValue &uaDataValue)
 Gets the value of an attribute of the Node. More...
 
- Public Member Functions inherited from UaNode
 UaNode ()
 Construction of the UaNode. More...
 
virtual UaNodeId getKey () const
 Get the key of the node used for the hash table. More...
 
virtual UaReferenceListsgetUaReferenceLists () const
 Get the UaReferenceLists interface for the node. More...
 
virtual UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)=0
 Discover the references of a specified node of a view. More...
 
virtual UaNodeId typeDefinitionId () const
 Get NodeId of the type definition node for this node. More...
 
virtual UaNodeId nodeId () const =0
 Get value of the NodeId attribute of this Node. More...
 
virtual UaQualifiedName browseName () const =0
 Get value of the BrowseName attribute of this Node. More...
 
virtual UaLocalizedText displayName (Session *pSession) const =0
 Get value of the DisplayName attribute of this Node. More...
 
virtual OpcUa_Boolean isDescriptionSupported () const =0
 Flag indicating if the optional attribute Description is supported. More...
 
virtual UaLocalizedText description (Session *pSession) const =0
 Get value of the Description attribute of this Node. More...
 
virtual OpcUa_Boolean isWriteMaskSupported () const =0
 Flag indicating if the optional attribute WriteMask is supported. More...
 
virtual OpcUa_UInt32 writeMask () const =0
 Get value of the WriteMask attribute of this Node. More...
 
virtual OpcUa_Boolean isUserWriteMaskSupported () const =0
 Flag indicating if the optional attribute UserWriteMask is supported. More...
 
virtual OpcUa_UInt32 userWriteMask (Session *pSession) const =0
 Get value of the UserWriteMask attribute of this Node. More...
 
virtual UaNodeId modellingRuleId () const
 Get NodeId of the modeling rule for this node. More...
 
virtual UaStatus setAttributeValue (Session *pSession, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean checkWriteMask)
 Sets the value of an attribute of the Node. More...
 
virtual void setUserData (UserDataBase *pUserData)
 Defines the method to set user data handled by a derived class. More...
 
virtual UserDataBasegetUserData () const
 Returns user data provided by a derived class. More...
 
const NodeAccessInfogetAccessInfo () const
 Returns the access info for this node. More...
 
void useAccessInfoFrom (const UaNode *pOther)
 Set the NodeAccessInfo from another node to this node. More...
 
void setAccessInfo (NodeAccessInfo *pAccessInfo)
 Set the NodeAccessInfo for this node. More...
 
void attachAccessInfo (NodeAccessInfo *pAccessInfo)
 Set the NodeAccessInfo for this node. More...
 
- Public Member Functions inherited from ChainEntry
 ChainEntry ()
 construction
 
ChainEntryfind (const UaNodeId &key, ChainEntry **ppPrevious)
 finds the right entry in the chain. More...
 
void add (ChainEntry *pNewEntry)
 adds a new entry to the list. More...
 
void prepend (ChainEntry *pNewEntry)
 prepends a new entry to the list. More...
 
ChainEntryremove (const UaNodeId &key, ChainEntry **ppNext)
 removes an entry from the list. More...
 
ChainEntrygetNext () const
 Check if there is a chain. More...
 
virtual void setInvalid ()
 Set the entry to invalid. More...
 
void clearChain ()
 Clear the chain when the hashtable is cleared.
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Protected Member Functions

virtual ~UaReferenceType ()
 destruction
 
- Protected Member Functions inherited from UaNode
virtual ~UaNode ()
 Destruction of the UaNode. More...
 
- Protected Member Functions inherited from ChainEntry
virtual ~ChainEntry ()
 destruction
 

Detailed Description

Class definition of the UaReferenceType.

Derived from UaNode Get all information about the reference types.

Member Function Documentation

void UaReferenceType::getAttributeValue ( Session pSession,
OpcUa_Int32  attributeId,
UaDataValue uaDataValue 
)
virtual

Gets the value of an attribute of the Node.

Parameters
[in]pSessionInterface to the Session context for the method call
[in]attributeIdAttribute id indicating the attribute to return
[out]uaDataValueThe value of the attribute or the status code for the attribute

Reimplemented from UaNode.

virtual UaLocalizedText UaReferenceType::inverseName ( Session pSession) const
pure virtual

Get the inverseName as LocalizedText of the current Node.

Parameters
pSessionInterface to the Session context for the method call. The session provides the locale id requested by the client
Returns
the inverseName as LocalizedText.

Implemented in UaGenericReferenceType, and UaReferenceTypeNS0.

virtual OpcUa_Boolean UaReferenceType::isAbstract ( ) const
pure virtual

Check if Node is Abstract.

Returns
TRUE if is Abstract FALSE if not.

Implemented in UaGenericReferenceType, and UaReferenceTypeNS0.

virtual OpcUa_Boolean UaReferenceType::isInverseNameSupported ( ) const
pure virtual

Check if Node is InverseNameSupported.

Returns
TRUE if is InverseNameSupported FALSE if not.

Implemented in UaGenericReferenceType, and UaReferenceTypeNS0.

virtual OpcUa_Boolean UaReferenceType::isSubtypeOf ( const OpcUa_NodeId pNodeId) const
pure virtual

Check whether the current Node is a Subtype of another.

Parameters
pNodeIdNodeId of the requested Node.
Returns
TRUE if the Node is a Subtype of another FALSE if not.

Implemented in UaGenericReferenceType, and UaReferenceTypeNS0.

OpcUa_NodeClass UaReferenceType::nodeClass ( ) const
inlinevirtual

Get the NodeClass of the current Node.

Returns
the NodeClass of the current Node.

Implements UaNode.

Reimplemented in UaGenericReferenceType.

virtual OpcUa_Boolean UaReferenceType::symmetric ( ) const
pure virtual

Check if Node is symmetric.

Returns
TRUE if is symmetric FALSE if not.

Implemented in UaGenericReferenceType, and UaReferenceTypeNS0.


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