Wrapper class for the UA stack structure OpcUaDi_TransferResultDataDataType.
More...
#include <opcuadi_transferresultdatadatatype.h>
|
static
OpcUaDi_TransferResultDataDataType * | clone (const OpcUaDi_TransferResultDataDataType &source) |
| Copy OpcUaDi_TransferResultDataDataType data to a newly allocated OpcUaDi_TransferResultDataDataType. More...
|
|
static void | cloneTo (const OpcUaDi_TransferResultDataDataType &source, OpcUaDi_TransferResultDataDataType ©) |
| Copy OpcUaDi_TransferResultDataDataType data to an existing OpcUaDi_TransferResultDataDataType structure. More...
|
|
Wrapper class for the UA stack structure OpcUaDi_TransferResultDataDataType.
This class encapsulates the native OpcUaDi_TransferResultDataDataType structure and handles memory allocation and cleanup for you. TransferResultDataDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared TransferResultDataDataType it creates a copy for that (copy-on-write). So assigning another TransferResultDataDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
OpcUaDi::TransferResultDataDataType::TransferResultDataDataType |
( |
const OpcUaDi_TransferResultDataDataType & |
other | ) |
|
Constructs an instance of the class TransferResultDataDataType with values from another OpcUaDi_TransferResultDataDataType structure.
- Parameters
-
other | the other OpcUaDi_TransferResultDataDataType used to initialize the object |
OpcUaDi::TransferResultDataDataType::TransferResultDataDataType |
( |
const UaExtensionObject & |
extensionObject | ) |
|
OpcUaDi::TransferResultDataDataType::TransferResultDataDataType |
( |
const OpcUa_ExtensionObject & |
extensionObject | ) |
|
void OpcUaDi::TransferResultDataDataType::attach |
( |
const OpcUaDi_TransferResultDataDataType * |
pValue | ) |
|
Attaches the data of the parameter pValue.
Don't clear the data of pValue afterwards manually, because TransferResultDataDataType is responsible for it now.
- Parameters
-
[in] | pValue | Parameter to attach to. |
OpcUaDi_TransferResultDataDataType * OpcUaDi::TransferResultDataDataType::clone |
( |
const OpcUaDi_TransferResultDataDataType & |
source | ) |
|
|
static |
Copy OpcUaDi_TransferResultDataDataType data to a newly allocated OpcUaDi_TransferResultDataDataType.
- Parameters
-
- Returns
- new copy.
void OpcUaDi::TransferResultDataDataType::cloneTo |
( |
const OpcUaDi_TransferResultDataDataType & |
source, |
|
|
OpcUaDi_TransferResultDataDataType & |
copy |
|
) |
| |
|
static |
Copy OpcUaDi_TransferResultDataDataType data to an existing OpcUaDi_TransferResultDataDataType structure.
- Parameters
-
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUaDi_TransferResultDataDataType * OpcUaDi::TransferResultDataDataType::copy |
( |
| ) |
const |
Copy TransferResultDataDataType data to a newly allocated OpcUaDi_TransferResultDataDataType.
- Returns
- data to a newly allocated OpcUaDi_TransferResultDataDataType.
void OpcUaDi::TransferResultDataDataType::copyTo |
( |
OpcUaDi_TransferResultDataDataType * |
pDst | ) |
const |
Copy TransferResultDataDataType data to an existing OpcUaDi_TransferResultDataDataType structure.
- Parameters
-
pDst | the destination of this copy operation. |
OpcUaDi_TransferResultDataDataType * OpcUaDi::TransferResultDataDataType::detach |
( |
OpcUaDi_TransferResultDataDataType * |
pDst | ) |
|
Detaches the internal TransferResultDataDataType structure from this class.
This way you take over the control of releasing the TransferResultDataDataType 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 TransferResultDataDataType 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_transferresultdatadatatype.h
- C:/work/uasdkcpp/src/uaserver/uaservercpp/uamodels/opcuadi_transferresultdatadatatype.cpp