The OPC UA StructureDefinition type. More...
| Header: | #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.
Note: 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.
See also setBaseDataType().
Returns the default encoding node ID for the struct type.
See also setDefaultEncodingId().
Returns the fields of the struct type.
See also setFields().
Sets the base data type node id of the type to baseDataType.
See also baseDataType().
Sets the default encoding node ID of the struct type to defaultEncodingId.
See also defaultEncodingId().
Sets the fields of the struct type to fields.
See also fields().
Sets the structure type to structureType.
See also structureType().
Returns the structure type of the struct type.
See also 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)Move-assigns other to this QOpcUaStructureDefinition instance.
Note: 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.
Sets the values from rhs in this structure definition.
[noexcept] bool operator!=(const QOpcUaStructureDefinition &lhs, const QOpcUaStructureDefinition &rhs)Returns true if lhs is not equal to rhs.
[noexcept] bool operator==(const QOpcUaStructureDefinition &lhs, const QOpcUaStructureDefinition &rhs)Returns true if lhs is equal to rhs.