Wrapper class for the UA stack structure OpcUa_Guid.
More...
#include <uaguid.h>
Public Member Functions |
| UaGuid () |
| construction
|
| UaGuid (const UaGuid &other) |
| construction
|
| UaGuid (const OpcUa_Guid &other) |
| construction
|
| ~UaGuid () |
| destruction
|
void | clear () |
| Clear the data of the UaGuid.
|
UaGuid & | operator= (const UaGuid &other) |
| Assignment operator.
|
bool | operator== (const UaGuid &other) const |
| Compare variables if they are similar.
|
bool | operator!= (const UaGuid &other) const |
| Returns true if other is not equal to this.
|
bool | isNull () const |
| Compares the value of two structures.
|
| operator const OpcUa_Guid * () const |
| Return internal OpcUa_UaGuid structure.
|
OpcUa_Guid * | copy () const |
| Copy Guid to a newly allocated OpcUa_Guid.
|
void | copyTo (OpcUa_Guid *pDst) const |
| Copy Guid data to an existing OpcUa_Guid structure.
|
UaString | toString () const |
| Converts the GUID to a string.
|
OpcUa_StatusCode | fromString (const UaString &) |
| Converts a UTF-8 string representation of a GUID to a binary representation.
|
Static Public Member Functions |
static UaGuid | create () |
| Create a new GUID.
|
static bool | compare (const OpcUa_Guid &, const OpcUa_Guid &) |
| Compares the value of two structures.
|
static OpcUa_Guid * | clone (const OpcUa_Guid &source) |
| Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
|
static void | cloneTo (const OpcUa_Guid &source, const OpcUa_Guid ©) |
| Copy OpcUa_VariableTypeAttributes data to an existing OpcUa_VariableTypeAttributes structure.
|
Detailed Description
Wrapper class for the UA stack structure OpcUa_Guid.
Helper class for modifying UaGuid elements. The UaGuid class stores a Global Unique Identifier (GUID). Using Globally Unique IDentifiers is a standard way to globally identify entities in a distributed computing environment. Derived from OpcUa_Guid.
Constructor & Destructor Documentation
UaGuid::UaGuid |
( |
const UaGuid & |
other | ) |
|
UaGuid::UaGuid |
( |
const OpcUa_Guid & |
other | ) |
|
Member Function Documentation
OpcUa_Guid * UaGuid::clone |
( |
const OpcUa_Guid & |
source | ) |
|
|
static |
Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
- Parameters
-
- Returns
- new copy.
void UaGuid::cloneTo |
( |
const OpcUa_Guid & |
source, |
|
|
const OpcUa_Guid & |
copy |
|
) |
| |
|
static |
Copy OpcUa_VariableTypeAttributes data to an existing OpcUa_VariableTypeAttributes structure.
- Parameters
-
source | Source OpcUa_VariableTypeAttributes to clone. |
copy | New copy of source OpcUa_VariableTypeAttributes. |
bool UaGuid::compare |
( |
const OpcUa_Guid & |
guid1, |
|
|
const OpcUa_Guid & |
guid2 |
|
) |
| |
|
static |
Compares the value of two structures.
- Parameters
-
guid1 | the guid to compare. |
guid2 | the guid to compare. |
- Returns
- true if it is NULL false if not.
OpcUa_Guid * UaGuid::copy |
( |
| ) |
const |
Copy Guid to a newly allocated OpcUa_Guid.
- Returns
- a newly allocated OpcUa_Guid.
void UaGuid::copyTo |
( |
OpcUa_Guid * |
pDst | ) |
const |
Copy Guid data to an existing OpcUa_Guid structure.
- Parameters
-
pDst | the destination of the copy operation. |
Create a new GUID.
- Returns
- a new GUID
OpcUa_StatusCode UaGuid::fromString |
( |
const UaString & |
sGuid | ) |
|
Converts a UTF-8 string representation of a GUID to a binary representation.
- Parameters
-
- Returns
- a UTF-8 string representation of a GUID to a binary representation.
bool UaGuid::isNull |
( |
| ) |
const |
Compares the value of two structures.
- Returns
- true if it is NULL false if not.
UaGuid::operator const OpcUa_Guid * |
( |
| ) |
const |
Return internal OpcUa_UaGuid structure.
- Returns
- internal OpcUa_UaGuid structure.
bool UaGuid::operator!= |
( |
const UaGuid & |
other | ) |
const |
Returns true if other is not equal to this.
- See Also
- operator==
- Parameters
-
- Returns
- true if other is not equal to this.
Assignment operator.
- Parameters
-
- Returns
- Assignment operator.
bool UaGuid::operator== |
( |
const UaGuid & |
other | ) |
const |
Compare variables if they are similar.
- Parameters
-
other | the char to compare. |
- Returns
- true if not similar false if similar.
Converts the GUID to a string.
- Returns
- the GUID to a string.
The documentation for this class was generated from the following files:
- /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaguid.h
- /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaguid.cpp