C++ UA Server SDK
1.5.2.336
|
Wrapper class for the UA stack structure OpcUa_EndpointUrlListDataType. More...
#include <uaendpointurllistdatatype.h>
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.
Structure representing a list of URLs of an Endpoint.
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 to an existing OpcUa_EndpointUrlListDataType structure.
Don't manually free the attached structure afterwards, because UaEndpointUrlListDataType is responsible for it now.
pValue | [in] 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 freeing the EndpointUrlListDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
pDst | [out] Pointer to an OpcUa_EndpointUrlListDataType structure that receives the EndpointUrlListDataType data. |
bool UaEndpointUrlListDataType::operator!= | ( | const UaEndpointUrlListDataType & | other | ) | const |
Compare two UaEndpointUrlListDataType for inequality.
other | the UaEndpointUrlListDataType to compare with. |
UaEndpointUrlListDataType & UaEndpointUrlListDataType::operator= | ( | const UaEndpointUrlListDataType & | other | ) |
Assignment operator.
other | the UaEndpointUrlListDataType to assign. |
bool UaEndpointUrlListDataType::operator== | ( | const UaEndpointUrlListDataType & | other | ) | const |
Compare two UaEndpointUrlListDataType for equality.
other | the UaEndpointUrlListDataType to compare with. |