QOpcUaAttributeOperand Class

OPC UA AttributeOperand 類型。 更多...

頭: #include <QOpcUaAttributeOperand>
qmake: QT += opcua

公共函數

QOpcUaAttributeOperand (const QOpcUaAttributeOperand & rhs )
QOpcUaAttributeOperand & operator= (const QOpcUaAttributeOperand & rhs )
QString alias () const
QOpcUa::NodeAttribute attributeId () const
QVector<QOpcUaRelativePathElement> browsePath () const
QVector<QOpcUaRelativePathElement> & browsePathRef ()
QString indexRange () const
QString nodeId () const
void setAlias (const QString & alias )
void setAttributeId (QOpcUa::NodeAttribute attributeId )
void setBrowsePath (const QVector<QOpcUaRelativePathElement> & browsePath )
void setIndexRange (const QString & indexRange )
void setNodeId (const QString & nodeId )
QVariant operator QVariant () const

詳細描述

The AttributeOperand is defined in OPC-UA part 4, 7.4.4.4. It has the same purpose as QOpcUaSimpleAttributeOperand but has more configurable options.

成員函數文檔編製

QOpcUaAttributeOperand:: QOpcUaAttributeOperand (const QOpcUaAttributeOperand & rhs )

Constructs an attribute operand from rhs .

QOpcUaAttributeOperand &QOpcUaAttributeOperand:: operator= (const QOpcUaAttributeOperand & rhs )

設置值從 rhs in this attribute operand.

QString QOpcUaAttributeOperand:: alias () const

Returns the alias for this QAttributeOperand.

另請參閱 setAlias ().

QOpcUa::NodeAttribute QOpcUaAttributeOperand:: attributeId () const

Returns the attribute id for an attribute of the node browsePath is pointing to.

另請參閱 setAttributeId ().

QVector < QOpcUaRelativePathElement > QOpcUaAttributeOperand:: browsePath () const

Returns the browse path.

另請參閱 setBrowsePath ().

QVector < QOpcUaRelativePathElement > &QOpcUaAttributeOperand:: browsePathRef ()

Returns a reference to the browse path.

另請參閱 browsePath ().

QString QOpcUaAttributeOperand:: indexRange () const

Returns the index range string.

另請參閱 setIndexRange ().

QString QOpcUaAttributeOperand:: nodeId () const

Returns the node id of the type definition node.

另請參閱 setNodeId ().

void QOpcUaAttributeOperand:: setAlias (const QString & alias )

Sets the alias to alias . This allows using this instance as operand for other operations in the filter.

另請參閱 alias ().

void QOpcUaAttributeOperand:: setAttributeId ( QOpcUa::NodeAttribute attributeId )

Sets the attribute id to attributeId .

另請參閱 attributeId ().

void QOpcUaAttributeOperand:: setBrowsePath (const QVector < QOpcUaRelativePathElement > & browsePath )

Sets the relative path to a node starting from nodeId () 到 browsePath .

另請參閱 browsePath ().

void QOpcUaAttributeOperand:: setIndexRange (const QString & indexRange )

Sets the index range string used to identify a single value or subset of the attribute's value to indexRange .

另請參閱 indexRange ().

void QOpcUaAttributeOperand:: setNodeId (const QString & nodeId )

Sets the node id of the type definition node to nodeId .

另請參閱 nodeId ().

QVariant QOpcUaAttributeOperand:: operator QVariant () const

Converts this attribute operand to QVariant .