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