C++ Based OPC UA Client/Server SDK
1.6.1.391
|
OPC UA SimpleAttributeOperand used in ContentFilterElement or UaEventFilter. More...
#include <uacontentfilter.h>
Inherits UaFilterOperand.
Public Member Functions | |
UaSimpleAttributeOperand () | |
Constructs an empty simple attribute filter operand object with the attributeId set to Value. | |
UaSimpleAttributeOperand (const UaSimpleAttributeOperand &other) | |
Constructs a simple attribute operand object from another simple attribute operand object. | |
UaSimpleAttributeOperand (const OpcUa_SimpleAttributeOperand &other) | |
Constructs a simple attribute operand object from a simple attribute operand structure. | |
virtual | ~UaSimpleAttributeOperand () |
Destroys the simple attribute operand object. | |
UaSimpleAttributeOperand & | operator= (const UaSimpleAttributeOperand &other) |
Assigns the content of another simple attribute operand object to this simple attribute operand object and returns a reference to this object. | |
UaFilterOperand::FilterOperandType | getFilterOperandType () const |
Returns the filter operand type SimpleAttribute. | |
void | getSimpleAttributeOperand (OpcUa_SimpleAttributeOperand &operand, OpcUa_Boolean createDeepCopy) const |
Returns the SimpleAttributeOperand contained in the OpcUa_SimpleAttributeOperand. More... | |
void | setTypeId (const UaNodeId &typeId) |
Sets the type nodeId for the attribute operand. More... | |
UaNodeId | typeId () const |
Returns the type nodeId of the attribute operand. | |
void | setBrowsePathElement (OpcUa_UInt32 index, const UaQualifiedName &name, OpcUa_UInt32 arraySize) |
Sets one element of the browse path. More... | |
void | clearBrowsePath () |
Clear the browse path. | |
OpcUa_UInt32 | noOfBrowsePath () const |
Returns the number of array entries in the browsePath. More... | |
const OpcUa_QualifiedName * | browsePath () const |
Returns the BrowsePath of the attribute operand. More... | |
void | setAttributeId (OpcUa_UInt32 attributeId) |
Sets the AttributeId of the simple attribute operand. More... | |
OpcUa_UInt32 | attributeId () const |
Returns the AttributeId of the simple attribute operand. | |
void | setIndexRange (const UaString &indexRange) |
Sets the IndexRange of the simple attribute operand. More... | |
UaString | indexRange () const |
Returns the IndexRange of the simple attribute operand. | |
UaString | toString () const |
Returns the simple attribute operand as string. | |
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 SimpleAttributeOperand used in ContentFilterElement or UaEventFilter.
This class is used to build and hold an OPC UA SimpleAttributeOperand used in the UaContentFilterElement or in the UaEventFilter. The selectClause and whereClause parameters of an EventFilter are specified with the SimpleAttributeOperand structure. The structure is composed of
This class is concrete implementation of the abstract UaFilterOperand. It specifies any attribute of an object or variable node using a TypeDefinition and a relative path constructed from BrowseNames.
const OpcUa_QualifiedName * UaSimpleAttributeOperand::browsePath | ( | ) | const |
Returns the BrowsePath of the attribute operand.
void UaSimpleAttributeOperand::getSimpleAttributeOperand | ( | OpcUa_SimpleAttributeOperand & | operand, |
OpcUa_Boolean | createDeepCopy | ||
) | const |
Returns the SimpleAttributeOperand contained in the OpcUa_SimpleAttributeOperand.
[in,out] | operand | SimpleAttributeOperand structure to be filled |
[in] | createDeepCopy | Flag indicating the type of copy, TRUE creates a deep copy and the caller must free the memory, FALSE creates a shallow copy and the caller doesn't have to clear the memory. |
OpcUa_UInt32 UaSimpleAttributeOperand::noOfBrowsePath | ( | ) | const |
Returns the number of array entries in the browsePath.
void UaSimpleAttributeOperand::setAttributeId | ( | OpcUa_UInt32 | attributeId | ) |
Sets the AttributeId of the simple attribute operand.
attributeId | The Id to set |
void UaSimpleAttributeOperand::setBrowsePathElement | ( | OpcUa_UInt32 | index, |
const UaQualifiedName & | name, | ||
OpcUa_UInt32 | arraySize | ||
) |
Sets one element of the browse path.
The browse path is composed of an array of QualifiedNames.
[in] | index | Index of the browse path elmenet in the array |
[in] | name | QualifiedName to set at the index in the array |
[in] | arraySize | Size of the name array filled with this method |
void UaSimpleAttributeOperand::setIndexRange | ( | const UaString & | indexRange | ) |
Sets the IndexRange of the simple attribute operand.
[in] | indexRange | the IndexRange of the simple attribute operand. |
void UaSimpleAttributeOperand::setTypeId | ( | const UaNodeId & | typeId | ) |
Sets the type nodeId for the attribute operand.
[in] | typeId | The nodeId for the attribute operand. |