C++ Based OPC UA Client/Server SDK
1.6.1.391
|
OPC UA ElementOperand used in ContentFilterElement. More...
#include <uacontentfilter.h>
Inherits UaFilterOperand.
Public Member Functions | |
UaElementOperand () | |
Constructs an empty element filter operand object. | |
virtual | ~UaElementOperand () |
Destroys the element filter operand object. | |
UaFilterOperand::FilterOperandType | getFilterOperandType () const |
Returns the filter operand type Element. | |
void | setIndex (OpcUa_UInt32 index) |
Sets the index of the element operand. More... | |
OpcUa_UInt32 | index () const |
Returns the index of the element operand. | |
void | setContentFilterElement (UaContentFilterElement *pElement) |
Sets the content filter element. More... | |
UaContentFilterElement * | pContentFilterElement () const |
Returns the contained content filter element (Server use only). More... | |
UaStatus | 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). More... | |
Public Member Functions inherited from UaFilterOperand | |
UaFilterOperand () | |
Constructs an empty filter operand object. | |
virtual | ~UaFilterOperand () |
Destroys the filter operand object. | |
Additional Inherited Members | |
Public Types inherited from UaFilterOperand | |
enum | FilterOperandType { Element, Literal, SimpleAttribute } |
FilterOperandType enumeration. More... | |
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 sub elements by linking the operand of one element to a sub-element
UaContentFilterElement * UaElementOperand::pContentFilterElement | ( | ) | const |
Returns the contained content filter element (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 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 operand |