Wrapper class for the UA stack structure OpcUaDi_TransferResultErrorDataType.
More...
#include <opcuadi_transferresulterrordatatype.h>
|
static
OpcUaDi_TransferResultErrorDataType * | clone (const OpcUaDi_TransferResultErrorDataType &source) |
| Copy OpcUaDi_TransferResultErrorDataType data to a newly allocated OpcUaDi_TransferResultErrorDataType. More...
|
|
static void | cloneTo (const OpcUaDi_TransferResultErrorDataType &source, OpcUaDi_TransferResultErrorDataType ©) |
| Copy OpcUaDi_TransferResultErrorDataType data to an existing OpcUaDi_TransferResultErrorDataType structure. More...
|
|
Wrapper class for the UA stack structure OpcUaDi_TransferResultErrorDataType.
This class encapsulates the native OpcUaDi_TransferResultErrorDataType structure and handles memory allocation and cleanup for you. TransferResultErrorDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared TransferResultErrorDataType it creates a copy for that (copy-on-write). So assigning another TransferResultErrorDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
OpcUaDi::TransferResultErrorDataType::TransferResultErrorDataType |
( |
const OpcUaDi_TransferResultErrorDataType & |
other | ) |
|
Constructs an instance of the class TransferResultErrorDataType with values from another OpcUaDi_TransferResultErrorDataType structure.
- Parameters
-
other | the other OpcUaDi_TransferResultErrorDataType used to initialize the object |
OpcUaDi::TransferResultErrorDataType::TransferResultErrorDataType |
( |
const UaExtensionObject & |
extensionObject | ) |
|
OpcUaDi::TransferResultErrorDataType::TransferResultErrorDataType |
( |
const OpcUa_ExtensionObject & |
extensionObject | ) |
|
void OpcUaDi::TransferResultErrorDataType::attach |
( |
const OpcUaDi_TransferResultErrorDataType * |
pValue | ) |
|
Attaches the data of the parameter pValue.
Don't clear the data of pValue afterwards manually, because TransferResultErrorDataType is responsible for it now.
- Parameters
-
[in] | pValue | Parameter to attach to. |
OpcUaDi_TransferResultErrorDataType * OpcUaDi::TransferResultErrorDataType::clone |
( |
const OpcUaDi_TransferResultErrorDataType & |
source | ) |
|
|
static |
Copy OpcUaDi_TransferResultErrorDataType data to a newly allocated OpcUaDi_TransferResultErrorDataType.
- Parameters
-
- Returns
- new copy.
void OpcUaDi::TransferResultErrorDataType::cloneTo |
( |
const OpcUaDi_TransferResultErrorDataType & |
source, |
|
|
OpcUaDi_TransferResultErrorDataType & |
copy |
|
) |
| |
|
static |
Copy OpcUaDi_TransferResultErrorDataType data to an existing OpcUaDi_TransferResultErrorDataType structure.
- Parameters
-
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUaDi_TransferResultErrorDataType * OpcUaDi::TransferResultErrorDataType::copy |
( |
| ) |
const |
Copy TransferResultErrorDataType data to a newly allocated OpcUaDi_TransferResultErrorDataType.
- Returns
- data to a newly allocated OpcUaDi_TransferResultErrorDataType.
void OpcUaDi::TransferResultErrorDataType::copyTo |
( |
OpcUaDi_TransferResultErrorDataType * |
pDst | ) |
const |
Copy TransferResultErrorDataType data to an existing OpcUaDi_TransferResultErrorDataType structure.
- Parameters
-
pDst | the destination of this copy operation. |
OpcUaDi_TransferResultErrorDataType * OpcUaDi::TransferResultErrorDataType::detach |
( |
OpcUaDi_TransferResultErrorDataType * |
pDst | ) |
|
Detaches the internal TransferResultErrorDataType structure from this class.
This way you take over the control of releasing the TransferResultErrorDataType data. If more than one references exist, the data is copied to pDst instead of being detached.
- Returns
- If the functions succeeds pDst is returned, otherwise 0 is returned.
- Parameters
-
Returns true if the other TransferResultErrorDataType is not equal to this.
- See also
- operator==
- Parameters
-
- Returns
- true if other is not equal to this.
Assignment operator.
- Parameters
-
- Returns
- Assignment operator.
The documentation for this class was generated from the following files:
- C:/work/uasdkcpp/src/uaserver/uaservercpp/uamodels/opcuadi_transferresulterrordatatype.h
- C:/work/uasdkcpp/src/uaserver/uaservercpp/uamodels/opcuadi_transferresulterrordatatype.cpp