The OPC UA StructureDefinition type. 更多...
头: | #include <QOpcUaStructureDefinition> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Since: | Qt 6.7 |
QOpcUaStructureDefinition () | |
QOpcUaStructureDefinition (const QOpcUaStructureDefinition & rhs ) | |
QOpcUaStructureDefinition (QOpcUaStructureDefinition && other ) | |
~QOpcUaStructureDefinition () | |
QString | baseDataType () const |
QString | defaultEncodingId () const |
QList<QOpcUaStructureField> | fields () const |
void | setBaseDataType (const QString & baseDataType ) |
void | setDefaultEncodingId (const QString & defaultEncodingId ) |
void | setFields (const QList<QOpcUaStructureField> & fields ) |
void | setStructureType (const QOpcUaStructureDefinition::StructureType & structureType ) |
QOpcUaStructureDefinition::StructureType | structureType () const |
void | swap (QOpcUaStructureDefinition & other ) |
QVariant | operator QVariant () const |
QOpcUaStructureDefinition & | operator= (QOpcUaStructureDefinition && other ) |
QOpcUaStructureDefinition & | operator= (const QOpcUaStructureDefinition & rhs ) |
bool | operator!= (const QOpcUaStructureDefinition & lhs , const QOpcUaStructureDefinition & rhs ) |
bool | operator== (const QOpcUaStructureDefinition & lhs , const QOpcUaStructureDefinition & rhs ) |
This is the Qt OPC UA representation for the OPC UA StructureDefinition type defined in OPC UA part 3. It describes the structure of a structured type.
Default constructs a structure definition with no parameters set.
Constructs a structure definition from rhs .
[noexcept]
QOpcUaStructureDefinition::
QOpcUaStructureDefinition
(
QOpcUaStructureDefinition
&&
other
)
Move-constructs a new structure definition from other .
注意: The moved-from object other is placed in a partially-formed state, in which the only valid operations are destruction and assignment of a new value.
[noexcept]
QOpcUaStructureDefinition::
~QOpcUaStructureDefinition
()
Destroys this structure definition object.
Returns the node id of the base data type of the struct type.
另请参阅 setBaseDataType ().
Returns the default encoding node ID for the struct type.
另请参阅 setDefaultEncodingId ().
Returns the fields of the struct type.
另请参阅 setFields ().
Sets the base data type node id of the type to baseDataType .
另请参阅 baseDataType ().
Sets the default encoding node ID of the struct type to defaultEncodingId .
另请参阅 defaultEncodingId ().
Sets the fields of the struct type to fields .
另请参阅 fields ().
Sets the structure type to structureType .
另请参阅 structureType ().
Returns the structure type of the struct type.
另请参阅 setStructureType ().
[noexcept]
void
QOpcUaStructureDefinition::
swap
(
QOpcUaStructureDefinition
&
other
)
Swaps structure definition object other with this structure definition object. This operation is very fast and never fails.
Converts this structure definition to QVariant .
[noexcept]
QOpcUaStructureDefinition
&QOpcUaStructureDefinition::
operator=
(
QOpcUaStructureDefinition
&&
other
)
移动赋值 other 到此 QOpcUaStructureDefinition 实例。
注意: The moved-from object other is placed in a partially-formed state, in which the only valid operations are destruction and assignment of a new value.
设置值从 rhs in this structure definition.
[noexcept]
bool
operator!=
(const
QOpcUaStructureDefinition
&
lhs
, const
QOpcUaStructureDefinition
&
rhs
)
返回
true
if
lhs
不等于
rhs
.
[noexcept]
bool
operator==
(const
QOpcUaStructureDefinition
&
lhs
, const
QOpcUaStructureDefinition
&
rhs
)
返回
true
if
lhs
等于
rhs
.