C++ UA Server SDK
1.5.2.336
|
Wrapper class for the UA stack structure OpcUa_ExpandedNodeId. More...
#include <uaexpandednodeid.h>
Inherits OpcUa_ExpandedNodeId.
Public Member Functions | |
UaExpandedNodeId () | |
construction | |
UaExpandedNodeId (const UaExpandedNodeId &other) | |
construction More... | |
UaExpandedNodeId (const OpcUa_ExpandedNodeId &other) | |
construction More... | |
UaExpandedNodeId (const UaNodeId &id, const UaString &sNsUri, OpcUa_UInt32 serverIndex) | |
construction More... | |
~UaExpandedNodeId () | |
destruction | |
void | clear () |
Clear the data of the UaExpandedNodeId. | |
void | attach (const OpcUa_ExpandedNodeId *pSrc) |
Attaches an existing OpcUa_ExpandedNodeId structure. More... | |
void | detach () |
Reset UaExpandedNodeId structure without clearing the data. | |
UaExpandedNodeId & | operator= (const UaExpandedNodeId &other) |
Copy operator. More... | |
bool | operator== (const UaExpandedNodeId &other) const |
Compare variables if they are similar. More... | |
bool | operator!= (const UaExpandedNodeId &other) const |
Returns true if other is not equal to this. More... | |
void | setExpandedNodeId (const UaNodeId &id, const UaString &sNsUri, OpcUa_UInt32 serverIndex) |
Set the expanded node id. More... | |
operator const OpcUa_ExpandedNodeId * () const | |
Return internal OpcUa_ExpandedNodeId structure. More... | |
OpcUa_ExpandedNodeId * | copy () const |
Copy UaExpandedNodeId data to a newly allocated OpcUa_ExpandedNodeId. More... | |
void | copyTo (OpcUa_ExpandedNodeId *pDst) const |
Copy UaExpandedNodeId data to an existing OpcUa_ExpandedNodeId structure. More... | |
UaString | toString () const |
Converts the UaExpandedNodeId into a UaString. More... | |
UaString | toFullString () const |
Converts an UaExpandedNodeId to a full string. More... | |
OpcUa_NodeId | nodeId () const |
Get the actual node id. More... | |
const OpcUa_String * | namespaceUri () const |
Get the namespace URI. More... | |
OpcUa_UInt32 | serverIndex () const |
Get the server index. More... | |
Static Public Member Functions | |
static bool | compare (const OpcUa_ExpandedNodeId &, const OpcUa_ExpandedNodeId &) |
Compare two UaExpandedNodeId variables. More... | |
static OpcUa_ExpandedNodeId * | clone (const OpcUa_ExpandedNodeId &source) |
Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes. More... | |
static void | cloneTo (const OpcUa_ExpandedNodeId &source, OpcUa_ExpandedNodeId ©) |
Copy OpcUa_VariableTypeAttributes data to an existing OpcUa_VariableTypeAttributes structure. More... | |
Wrapper class for the UA stack structure OpcUa_ExpandedNodeId.
UaExpandedNodeId::UaExpandedNodeId | ( | const UaExpandedNodeId & | other | ) |
construction
other | the UaExpandedNodeId. |
UaExpandedNodeId::UaExpandedNodeId | ( | const OpcUa_ExpandedNodeId & | other | ) |
construction
other | the OpcUa_ExpandedNodeId. |
UaExpandedNodeId::UaExpandedNodeId | ( | const UaNodeId & | id, |
const UaString & | sNsUri, | ||
OpcUa_UInt32 | serverIndex | ||
) |
construction
id | the id to set. |
sNsUri | te namespace URIs. |
serverIndex | the server index. |
void UaExpandedNodeId::attach | ( | const OpcUa_ExpandedNodeId * | pSrc | ) |
Attaches an existing OpcUa_ExpandedNodeId structure.
Don't manually free the attached structure afterwards, because UaExpandedNodeId is responsible for it now.
pSrc | [in] Parameter to attach. |
|
static |
Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
source | Source to clone. |
|
static |
Copy OpcUa_VariableTypeAttributes data to an existing OpcUa_VariableTypeAttributes structure.
source | Source OpcUa_VariableTypeAttributes to clone. |
copy | New copy of source OpcUa_VariableTypeAttributes. |
|
static |
Compare two UaExpandedNodeId variables.
val1 | a value as UaExpandedNodeId. |
val2 | a value as UaExpandedNodeId. |
OpcUa_ExpandedNodeId * UaExpandedNodeId::copy | ( | ) | const |
Copy UaExpandedNodeId data to a newly allocated OpcUa_ExpandedNodeId.
void UaExpandedNodeId::copyTo | ( | OpcUa_ExpandedNodeId * | pDst | ) | const |
Copy UaExpandedNodeId data to an existing OpcUa_ExpandedNodeId structure.
pDst | the destination of this operation. |
|
inline |
Get the namespace URI.
|
inline |
Get the actual node id.
UaExpandedNodeId::operator const OpcUa_ExpandedNodeId * | ( | ) | const |
Return internal OpcUa_ExpandedNodeId structure.
bool UaExpandedNodeId::operator!= | ( | const UaExpandedNodeId & | other | ) | const |
Returns true if other is not equal to this.
other | the UaString to compare. |
UaExpandedNodeId & UaExpandedNodeId::operator= | ( | const UaExpandedNodeId & | other | ) |
bool UaExpandedNodeId::operator== | ( | const UaExpandedNodeId & | other | ) | const |
Compare variables if they are similar.
other | the char to compare. |
|
inline |
Get the server index.
void UaExpandedNodeId::setExpandedNodeId | ( | const UaNodeId & | id, |
const UaString & | sNsUri, | ||
OpcUa_UInt32 | serverIndex | ||
) |
Set the expanded node id.
id | the id to set. |
sNsUri | the namespace URIs |
serverIndex | the server index. |
UaString UaExpandedNodeId::toFullString | ( | ) | const |
Converts an UaExpandedNodeId to a full string.
UaString UaExpandedNodeId::toString | ( | ) | const |
Converts the UaExpandedNodeId into a UaString.