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