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 引入。