#include <uacontentfilter.h>
Public Member Functions | |
UaElementOperand () | |
virtual | ~UaElementOperand () |
UaFilterOperand::FilterOperandType | getFilterOperandType () const |
void | setIndex (OpcUa_UInt32 index) |
OpcUa_UInt32 | index () const |
void | setContentFilterElement (UaContentFilterElement *pElement) |
UaContentFilterElement * | pContentFilterElement () const |
UaStatus | setContentFilterElement (UaContentFilter *pUaContentFilter, OpcUa_UInt32 noOfElements, const OpcUa_ContentFilterElement *pElements, OpcUa_UInt32 elementIndex, OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError) |
OPC UA ElementOperand used in ContentFilterElement.
This class is used to build and hold an OPC UA ElementOperand used in the UaContentFilterElement. This class is concrete implementation of the abstract UaFilterOperand. It contains a content filter element. This type is used to build a logic tree of subelements by linking the operand of one element to a sub-element
UaElementOperand::UaElementOperand | ( | ) |
Constructs an empty element filter operand object.
UaElementOperand::~UaElementOperand | ( | ) | [virtual] |
Destroys the element filter operand object
UaFilterOperand::FilterOperandType UaElementOperand::getFilterOperandType | ( | ) | const [virtual] |
Returns the filter operand type Element.
Implements UaFilterOperand.
OpcUa_UInt32 UaElementOperand::index | ( | ) | const |
Returns the index of the element operand.
UaContentFilterElement * UaElementOperand::pContentFilterElement | ( | ) | const |
Returns the contained content filter elment (Server use only).
This method is used only in the server implementation to build a logical tree
void UaElementOperand::setContentFilterElement | ( | UaContentFilterElement * | pElement ) |
Sets the content filter element. The passed element will be deleted by the UaElementOperand (Server use only).
This method is used only in the server implementation to build a logical tree
[in] | pElement | The element itself |
UaStatus UaElementOperand::setContentFilterElement | ( | UaContentFilter * | pUaContentFilter, |
OpcUa_UInt32 | noOfElements, | ||
const OpcUa_ContentFilterElement * | pElements, | ||
OpcUa_UInt32 | elementIndex, | ||
OpcUa_EventFilterResult * | pEventFilterResult, | ||
OpcUa_Boolean & | hasFilterError | ||
) |
Sets the content filter element (Server use only).
This method is used only in the server implementation to build a logical tree
[in] | pUaContentFilter | A pointer set to the filter |
[in] | noOfElements | The number of elements. |
[in] | pElements | The elements itself |
[in] | elementIndex | The index of the given element |
[in,out] | pEventFilterResult | The result of the filter operation |
[in,out] | hasFilterError | Indicates if there are errors occured in the filter operation. |
void UaElementOperand::setIndex | ( | OpcUa_UInt32 | index ) |
Sets the index of the element operand.
[in] | index | the index of the element operant |