UA Server SDK C++ Bundle
1.4.2.275
|
Wrapper class for the UA stack structure OpcUa_EndpointUrlListDataType. More...
#include <uaendpointurllistdatatype.h>
Public Member Functions | |
UaEndpointUrlListDataType () | |
Constructs an instance of the class UaEndpointUrlListDataType with empty default values. | |
UaEndpointUrlListDataType (const UaEndpointUrlListDataType &other) | |
Constructs an instance of the class UaEndpointUrlListDataType with values from another UaEndpointUrlListDataType object. More... | |
UaEndpointUrlListDataType (const OpcUa_EndpointUrlListDataType &other) | |
Constructs an instance of the class UaEndpointUrlListDataType with values from another OpcUa_EndpointUrlListDataType structure. More... | |
UaEndpointUrlListDataType (const UaStringArray &endpointUrlList) | |
Constructs an instance of the class UaEndpointUrlListDataType with values provided in the constructor. | |
UaEndpointUrlListDataType (const UaExtensionObject &extensionObject) | |
Constructs an instance of the class UaEndpointUrlListDataType initialized with value from a UaExtensionObject. More... | |
UaEndpointUrlListDataType (const OpcUa_ExtensionObject &extensionObject) | |
Constructs an instance of the class UaEndpointUrlListDataType initialized with value from an OpcUa_ExtensionObject structure. More... | |
~UaEndpointUrlListDataType () | |
Destroys the UaEndpointUrlListDataType object. | |
void | clear () |
Clear the data of the UaEndpointUrlListDataType. More... | |
bool | operator== (const UaEndpointUrlListDataType &other) const |
Compare two UaEndpointUrlListDataType if they are similar. More... | |
bool | operator!= (const UaEndpointUrlListDataType &other) const |
Returns true if the other UaEndpointUrlListDataType is not equal to this. More... | |
UaEndpointUrlListDataType & | operator= (const UaEndpointUrlListDataType &other) |
Assignment operator. More... | |
OpcUa_EndpointUrlListDataType * | copy () const |
Copy UaEndpointUrlListDataType data to a newly allocated OpcUa_EndpointUrlListDataType. More... | |
void | copyTo (OpcUa_EndpointUrlListDataType *pDst) const |
Copy UaEndpointUrlListDataType data to an existing OpcUa_EndpointUrlListDataType structure. More... | |
void | attach (OpcUa_EndpointUrlListDataType *pValue) |
Attaches the data of the parameter pValue. More... | |
OpcUa_EndpointUrlListDataType * | detach (OpcUa_EndpointUrlListDataType *pDst) |
Detaches the internal EndpointUrlListDataType structure from this class. More... | |
Static Public Member Functions | |
static OpcUa_EndpointUrlListDataType * | clone (const OpcUa_EndpointUrlListDataType &source) |
Copy OpcUa_EndpointUrlListDataType data to a newly allocated OpcUa_EndpointUrlListDataType. More... | |
static void | cloneTo (const OpcUa_EndpointUrlListDataType &source, OpcUa_EndpointUrlListDataType ©) |
Copy OpcUa_EndpointUrlListDataType data to an existing OpcUa_EndpointUrlListDataType structure. More... | |
Wrapper class for the UA stack structure OpcUa_EndpointUrlListDataType.
This class encapsulates the native OpcUa_EndpointUrlListDataType structure and handles memory allocation and cleanup for you. UaEndpointUrlListDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared EndpointUrlListDataType it creates a copy for that (copy-on-write). So assigning another UaEndpointUrlListDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
UaEndpointUrlListDataType::UaEndpointUrlListDataType | ( | const UaEndpointUrlListDataType & | other | ) |
Constructs an instance of the class UaEndpointUrlListDataType with values from another UaEndpointUrlListDataType object.
other | the other UaEndpointUrlListDataType used to initialize the object |
UaEndpointUrlListDataType::UaEndpointUrlListDataType | ( | const OpcUa_EndpointUrlListDataType & | other | ) |
Constructs an instance of the class UaEndpointUrlListDataType with values from another OpcUa_EndpointUrlListDataType structure.
other | the other OpcUa_EndpointUrlListDataType used to initialize the object |
UaEndpointUrlListDataType::UaEndpointUrlListDataType | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaEndpointUrlListDataType initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the EndpointUrlListDataType |
UaEndpointUrlListDataType::UaEndpointUrlListDataType | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaEndpointUrlListDataType initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the EndpointUrlListDataType |
void UaEndpointUrlListDataType::attach | ( | OpcUa_EndpointUrlListDataType * | pValue | ) |
Attaches the data of the parameter pValue.
Don't clear the data of pValue afterwards manually, because UaEndpointUrlListDataType is responsible for it now.
[in] | pValue | Parameter to attach to. |
void UaEndpointUrlListDataType::clear | ( | ) |
Clear the data of the UaEndpointUrlListDataType.
|
static |
Copy OpcUa_EndpointUrlListDataType data to a newly allocated OpcUa_EndpointUrlListDataType.
source | Source to clone. |
|
static |
Copy OpcUa_EndpointUrlListDataType data to an existing OpcUa_EndpointUrlListDataType structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_EndpointUrlListDataType * UaEndpointUrlListDataType::copy | ( | ) | const |
Copy UaEndpointUrlListDataType data to a newly allocated OpcUa_EndpointUrlListDataType.
void UaEndpointUrlListDataType::copyTo | ( | OpcUa_EndpointUrlListDataType * | pDst | ) | const |
Copy UaEndpointUrlListDataType data to an existing OpcUa_EndpointUrlListDataType structure.
pDst | the destination of this copy operation. |
OpcUa_EndpointUrlListDataType * UaEndpointUrlListDataType::detach | ( | OpcUa_EndpointUrlListDataType * | pDst | ) |
Detaches the internal EndpointUrlListDataType structure from this class.
This way you take over the control of releasing the EndpointUrlListDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
[out] | pDst | Pointer to OpcUa_EndpointUrlListDataType structure that receives the EndpointUrlListDataType data. |
bool UaEndpointUrlListDataType::operator!= | ( | const UaEndpointUrlListDataType & | other | ) | const |
Returns true if the other UaEndpointUrlListDataType is not equal to this.
other | the UaEndpointUrlListDataType to compare. |
UaEndpointUrlListDataType & UaEndpointUrlListDataType::operator= | ( | const UaEndpointUrlListDataType & | other | ) |
Assignment operator.
other | the UaEndpointUrlListDataType to assign. |
bool UaEndpointUrlListDataType::operator== | ( | const UaEndpointUrlListDataType & | other | ) | const |
Compare two UaEndpointUrlListDataType if they are similar.
other | the UaEndpointUrlListDataType to compare. |