UaElementOperand Class Reference

#include <uacontentfilter.h>

Inheritance diagram for UaElementOperand:
Collaboration diagram for UaElementOperand:

List of all members.

Public Member Functions

 UaElementOperand ()
virtual ~UaElementOperand ()
UaFilterOperand::FilterOperandType getFilterOperandType () const
void setIndex (OpcUa_UInt32 index)
OpcUa_UInt32 index () const
void setContentFilterElement (UaContentFilterElement *pElement)
UaContentFilterElementpContentFilterElement () const
UaStatus setContentFilterElement (UaContentFilter *pUaContentFilter, OpcUa_UInt32 noOfElements, const OpcUa_ContentFilterElement *pElements, OpcUa_UInt32 elementIndex, OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError)

Detailed Description

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


Constructor & Destructor Documentation

UaElementOperand::UaElementOperand (  )

Constructs an empty element filter operand object.

UaElementOperand::~UaElementOperand (  ) [virtual]

Destroys the element filter operand object


Member Function Documentation

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

Parameters:
[in]pElementThe 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

Returns:
Status code
Parameters:
[in]pUaContentFilterA pointer set to the filter
[in]noOfElementsThe number of elements.
[in]pElementsThe elements itself
[in]elementIndexThe index of the given element
[in,out]pEventFilterResultThe result of the filter operation
[in,out]hasFilterErrorIndicates if there are errors occured in the filter operation.
void UaElementOperand::setIndex ( OpcUa_UInt32  index )

Sets the index of the element operand.

Parameters:
[in]indexthe index of the element operant

The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uacontentfilter.h
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uacontentfilter.cpp