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