Wrapper class for the UA stack structure OpcUa_QualifiedName.
More...
#include <uaqualifiedname.h>
Inherits OpcUa_QualifiedName.
|
static bool | compare (const OpcUa_QualifiedName &, const OpcUa_QualifiedName &) |
| Compare two UaQualifiedName variables. More...
|
|
static OpcUa_QualifiedName * | clone (const OpcUa_QualifiedName &source) |
| Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes. More...
|
|
static void | cloneTo (const OpcUa_QualifiedName &source, OpcUa_QualifiedName ©) |
| Copy OpcUa_QualifiedName data to an existing OpcUa_QualifiedName structure. More...
|
|
Wrapper class for the UA stack structure OpcUa_QualifiedName.
Qualified names are two-part names: namespace index (UInt16) and name (String). The name part of QualifiedNames is restricted to 512 characters. Derived from OpcUa_QualifiedName.
UaQualifiedName::UaQualifiedName |
( |
const OpcUa_QualifiedName & |
other | ) |
|
construction
- Parameters
-
other | the OpcUa_QualifiedName. |
UaQualifiedName::UaQualifiedName |
( |
const UaString & |
sName, |
|
|
OpcUa_UInt16 |
NameSpaceIdx |
|
) |
| |
construction
- Parameters
-
sName | the name as UaString. |
NameSpaceIdx | the namespace index. |
void UaQualifiedName::clear |
( |
| ) |
|
OpcUa_QualifiedName * UaQualifiedName::clone |
( |
const OpcUa_QualifiedName & |
source | ) |
|
|
static |
Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
- Parameters
-
- Returns
- new copy.
void UaQualifiedName::cloneTo |
( |
const OpcUa_QualifiedName & |
source, |
|
|
OpcUa_QualifiedName & |
copy |
|
) |
| |
|
static |
Copy OpcUa_QualifiedName data to an existing OpcUa_QualifiedName structure.
- Parameters
-
source | the OpcUa_QualifiedName source of the operation. |
copy | the OpcUa_QualifiedName destination of the operation. |
bool UaQualifiedName::compare |
( |
const OpcUa_QualifiedName & |
qName1, |
|
|
const OpcUa_QualifiedName & |
qName2 |
|
) |
| |
|
static |
Compare two UaQualifiedName variables.
- Parameters
-
- Returns
- true if equal false if not.
OpcUa_QualifiedName * UaQualifiedName::copy |
( |
| ) |
const |
Copy UaQualifiedName data to a newly allocated OpcUa_QualifiedName.
- Returns
- new copy.
void UaQualifiedName::copyTo |
( |
OpcUa_QualifiedName * |
pDst | ) |
const |
Copy UaQualifiedName data to an existing OpcUa_QualifiedName structure.
- Parameters
-
pDst | the destination of this copy operation. |
void UaQualifiedName::detach |
( |
| ) |
|
Detach class from structure data.
OpcUa_Boolean UaQualifiedName::isNull |
( |
| ) |
const |
Checks if the qualified name is null.
- Returns
- true if null false if not.
UaQualifiedName::operator const OpcUa_QualifiedName * |
( |
| ) |
const |
Return internal OpcUa_QualifiedName structure.
- Returns
- internal OpcUa_QualifiedName structure.
Returns true if other is not equal to this.
- See Also
- operator==
- Parameters
-
- Returns
- true if other is not equal to this.
Is lower than operator.
This is used to sort QualifiedNames e.g. to use it as key in map
- Parameters
-
- Returns
- true if lower false if not.
Assignment operator.
- Parameters
-
- Returns
- Assignment operator..
UaQualifiedName & UaQualifiedName::operator= |
( |
const OpcUa_QualifiedName & |
other | ) |
|
Assignment operator.
- Parameters
-
other | the OpcUa_QualifiedName to assign. |
- Returns
- Assignment operator.
Compare variables if they are similar.
- Parameters
-
other | the char to compare. |
- Returns
- true if not similar false if similar.
void UaQualifiedName::setQualifiedName |
( |
const UaString & |
sName, |
|
|
OpcUa_UInt16 |
NameSpaceIdx |
|
) |
| |
Set the Qualified name.
- Parameters
-
sName | the name as UaString. |
NameSpaceIdx | the NamespaceIndex. |
UaString UaQualifiedName::toFullString |
( |
| ) |
const |
Converts the full QualifiedName into a UaString.
The format of the string is
ns=<namespaceindex>|<name>
with the fields
- <namespaceindex>
- The namespace index formatted as a base 10 number.
- <name>
- The name part of the QualifiedName.
- Returns
- the converted UaQualifiedName.
UaString UaQualifiedName::toString |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- D:/work/uasdkcpp/src/uabase/uabasecpp/uaqualifiedname.h
- D:/work/uasdkcpp/src/uabase/uabasecpp/uaqualifiedname.cpp