OPC UA AttributeOperand 類型。 更多...
| 頭: |
#include <QOpcUaAttributeOperand>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
|
| qmake: |
QT += opcua
|
| QOpcUaAttributeOperand () | |
| QOpcUaAttributeOperand (const QOpcUaAttributeOperand & rhs ) | |
| QString | alias () const |
| QOpcUa::NodeAttribute | attributeId () const |
| QList<QOpcUaRelativePathElement> | browsePath () const |
| QList<QOpcUaRelativePathElement> & | browsePathRef () |
| QString | indexRange () const |
| QString | nodeId () const |
| void | setAlias (const QString & alias ) |
| void | setAttributeId (QOpcUa::NodeAttribute attributeId ) |
| void | setBrowsePath (const QList<QOpcUaRelativePathElement> & browsePath ) |
| void | setIndexRange (const QString & indexRange ) |
| void | setNodeId (const QString & nodeId ) |
| QVariant | operator QVariant () const |
| QOpcUaAttributeOperand & | operator= (const QOpcUaAttributeOperand & rhs ) |
(從 6.7 起)
bool
|
operator!= (const QOpcUaAttributeOperand & lhs , const QOpcUaAttributeOperand & rhs ) |
(從 6.7 起)
bool
|
operator== (const QOpcUaAttributeOperand & lhs , const QOpcUaAttributeOperand & rhs ) |
The AttributeOperand is defined in OPC UA 1.05 part 4, 7.7.4.4. It has the same purpose as QOpcUaSimpleAttributeOperand but has more configurable options.
Default constructs an attribute operand with no parameters set.
Constructs an attribute operand from rhs .
Returns the alias for this QAttributeOperand.
另請參閱 setAlias ().
Returns the attribute id for an attribute of the node browsePath is pointing to.
另請參閱 setAttributeId ().
Returns the browse path.
另請參閱 setBrowsePath ().
Returns a reference to the browse path.
另請參閱 browsePath ().
Returns the index range string.
另請參閱 setIndexRange ().
Returns the node id of the type definition node.
另請參閱 setNodeId ().
Sets the alias to alias . This allows using this instance as operand for other operations in the filter.
另請參閱 alias ().
Sets the attribute id to attributeId .
另請參閱 attributeId ().
Sets the relative path to a node starting from nodeId () 到 browsePath .
另請參閱 browsePath ().
Sets the index range string used to identify a single value or subset of the attribute's value to indexRange .
另請參閱 indexRange ().
Sets the node id of the type definition node to nodeId .
另請參閱 nodeId ().
Converts this attribute operand to QVariant .
設置值從 rhs in this attribute operand.
[noexcept, since 6.7]
bool
operator!=
(const
QOpcUaAttributeOperand
&
lhs
, const
QOpcUaAttributeOperand
&
rhs
)
返迴
true
if
lhs
has a different value than
rhs
.
該函數在 Qt 6.7 引入。
[noexcept, since 6.7]
bool
operator==
(const
QOpcUaAttributeOperand
&
lhs
, const
QOpcUaAttributeOperand
&
rhs
)
返迴
true
if
lhs
has the same value as
rhs
.
該函數在 Qt 6.7 引入。