C++ UA Server SDK
1.5.2.336
|
Wrapper class for the UA stack structure OpcUa_ContentFilterResult. More...
#include <uacontentfilterresult.h>
Public Member Functions | |
UaContentFilterResult () | |
Constructs an instance of the class UaContentFilterResult with empty default values. | |
UaContentFilterResult (const UaContentFilterResult &other) | |
Constructs an instance of the class UaContentFilterResult with values from another UaContentFilterResult object. More... | |
UaContentFilterResult (const OpcUa_ContentFilterResult &other) | |
Constructs an instance of the class UaContentFilterResult with values from another OpcUa_ContentFilterResult structure. More... | |
UaContentFilterResult (const UaContentFilterElementResults &elementResults, const UaDiagnosticInfos &elementDiagnosticInfos) | |
Constructs an instance of the class UaContentFilterResult with values provided in the constructor. | |
UaContentFilterResult (const UaExtensionObject &extensionObject) | |
Constructs an instance of the class UaContentFilterResult initialized with value from a UaExtensionObject. More... | |
UaContentFilterResult (const OpcUa_ExtensionObject &extensionObject) | |
Constructs an instance of the class UaContentFilterResult initialized with value from an OpcUa_ExtensionObject structure. More... | |
~UaContentFilterResult () | |
Destroys the UaContentFilterResult object. | |
void | clear () |
Clear the data of the UaContentFilterResult. More... | |
bool | operator== (const UaContentFilterResult &other) const |
Compare two UaContentFilterResult if they are similar. More... | |
bool | operator!= (const UaContentFilterResult &other) const |
Returns true if the other UaContentFilterResult is not equal to this. More... | |
UaContentFilterResult & | operator= (const UaContentFilterResult &other) |
Assignment operator. More... | |
OpcUa_ContentFilterResult * | copy () const |
Copy UaContentFilterResult data to a newly allocated OpcUa_ContentFilterResult. More... | |
void | copyTo (OpcUa_ContentFilterResult *pDst) const |
Copy UaContentFilterResult data to an existing OpcUa_ContentFilterResult structure. More... | |
void | attach (OpcUa_ContentFilterResult *pValue) |
Attaches the data of the parameter pValue. More... | |
OpcUa_ContentFilterResult * | detach (OpcUa_ContentFilterResult *pDst) |
Detaches the internal ContentFilterResult structure from this class. More... | |
Static Public Member Functions | |
static OpcUa_ContentFilterResult * | clone (const OpcUa_ContentFilterResult &source) |
Copy OpcUa_ContentFilterResult data to a newly allocated OpcUa_ContentFilterResult. More... | |
static void | cloneTo (const OpcUa_ContentFilterResult &source, OpcUa_ContentFilterResult ©) |
Copy OpcUa_ContentFilterResult data to an existing OpcUa_ContentFilterResult structure. More... | |
Wrapper class for the UA stack structure OpcUa_ContentFilterResult.
This class encapsulates the native OpcUa_ContentFilterResult structure and handles memory allocation and cleanup for you. UaContentFilterResult uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared ContentFilterResult it creates a copy for that (copy-on-write). So assigning another UaContentFilterResult or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
UaContentFilterResult::UaContentFilterResult | ( | const UaContentFilterResult & | other | ) |
Constructs an instance of the class UaContentFilterResult with values from another UaContentFilterResult object.
other | the other UaContentFilterResult used to initialize the object |
UaContentFilterResult::UaContentFilterResult | ( | const OpcUa_ContentFilterResult & | other | ) |
Constructs an instance of the class UaContentFilterResult with values from another OpcUa_ContentFilterResult structure.
other | the other OpcUa_ContentFilterResult used to initialize the object |
UaContentFilterResult::UaContentFilterResult | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaContentFilterResult initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the ContentFilterResult |
UaContentFilterResult::UaContentFilterResult | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaContentFilterResult initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the ContentFilterResult |
void UaContentFilterResult::attach | ( | OpcUa_ContentFilterResult * | pValue | ) |
Attaches the data of the parameter pValue.
Don't clear the data of pValue afterwards manually, because UaContentFilterResult is responsible for it now.
[in] | pValue | Parameter to attach to. |
void UaContentFilterResult::clear | ( | ) |
Clear the data of the UaContentFilterResult.
|
static |
Copy OpcUa_ContentFilterResult data to a newly allocated OpcUa_ContentFilterResult.
source | Source to clone. |
|
static |
Copy OpcUa_ContentFilterResult data to an existing OpcUa_ContentFilterResult structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_ContentFilterResult * UaContentFilterResult::copy | ( | ) | const |
Copy UaContentFilterResult data to a newly allocated OpcUa_ContentFilterResult.
void UaContentFilterResult::copyTo | ( | OpcUa_ContentFilterResult * | pDst | ) | const |
Copy UaContentFilterResult data to an existing OpcUa_ContentFilterResult structure.
pDst | the destination of this copy operation. |
OpcUa_ContentFilterResult * UaContentFilterResult::detach | ( | OpcUa_ContentFilterResult * | pDst | ) |
Detaches the internal ContentFilterResult structure from this class.
This way you take over the control of releasing the ContentFilterResult data. If more than one reference exists, the data is copied to pDst instead of being detached.
[out] | pDst | Pointer to OpcUa_ContentFilterResult structure that receives the ContentFilterResult data. |
bool UaContentFilterResult::operator!= | ( | const UaContentFilterResult & | other | ) | const |
Returns true if the other UaContentFilterResult is not equal to this.
other | the UaContentFilterResult to compare. |
UaContentFilterResult & UaContentFilterResult::operator= | ( | const UaContentFilterResult & | other | ) |
Assignment operator.
other | the UaContentFilterResult to assign. |
bool UaContentFilterResult::operator== | ( | const UaContentFilterResult & | other | ) | const |
Compare two UaContentFilterResult if they are similar.
other | the UaContentFilterResult to compare. |