The OPC UA StructureField type. More...
| Header: | #include <QOpcUaStructureField> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| Since: | Qt 6.7 |
| QOpcUaStructureField(qint32 valueRank = -1) | |
| QOpcUaStructureField(const QOpcUaStructureField &other) | |
| QOpcUaStructureField(QOpcUaStructureField &&other) | |
| ~QOpcUaStructureField() | |
| QList<quint32> | arrayDimensions() const |
| QString | dataType() const |
| QOpcUaLocalizedText | description() const |
| bool | isOptional() const |
| quint32 | maxStringLength() const |
| QString | name() const |
| void | setArrayDimensions(const QList<quint32> &arrayDimensions) |
| void | setDataType(const QString &dataTypeId) |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setIsOptional(bool isOptional) |
| void | setMaxStringLength(quint32 maxStringLength) |
| void | setName(const QString &name) |
| void | setValueRank(qint32 valueRank) |
| void | swap(QOpcUaStructureField &other) |
| qint32 | valueRank() const |
| QVariant | operator QVariant() const |
| QOpcUaStructureField & | operator=(QOpcUaStructureField &&other) |
| QOpcUaStructureField & | operator=(const QOpcUaStructureField &other) |
| bool | operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs) |
| bool | operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs) |
This is the Qt OPC UA representation for the OPC UA StructureField type defined in OPC UA part 3. It describes a field of a structured type.
[explicit] QOpcUaStructureField::QOpcUaStructureField(qint32 valueRank = -1)Constructs a structure field with valueRank.
Constructs a structure field from other.
[noexcept] QOpcUaStructureField::QOpcUaStructureField(QOpcUaStructureField &&other)Move-constructs a new structure field 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] QOpcUaStructureField::~QOpcUaStructureField()Destroys this structure field object.
Returns the array dimenstions of the struct field.
See also setArrayDimensions().
Returns the data type node ID of the struct field.
See also setDataType().
Returns the description of the struct field.
See also setDescription().
Returns true if the struct field is optional.
See also setIsOptional().
Returns the maximum string length of the struct field.
See also setMaxStringLength().
Returns the name of the struct field.
See also setName().
Sets the array dimensions of the struct field to arrayDimensions.
See also arrayDimensions().
Sets the data type node ID of the struct field to dataTypeId.
See also dataType().
Sets the description of the struct field to description.
See also description().
Sets the optional flag of the struct field to isOptional.
See also isOptional().
Sets the maximum string length of the struct field to maxStringLength.
See also maxStringLength().
Sets the name of the struct field to name.
See also name().
Sets the value rank of the struct field to valueRank.
See also valueRank().
[noexcept] void QOpcUaStructureField::swap(QOpcUaStructureField &other)Swaps structure field object other with this structure field object. This operation is very fast and never fails.
Returns the value rank of the struct field.
See also setValueRank().
Converts this structure field to QVariant.
[noexcept] QOpcUaStructureField
&QOpcUaStructureField::operator=(QOpcUaStructureField &&other)Move-assigns other to this QOpcUaStructureField 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 other in this structure field.
[noexcept] bool operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField
&rhs)Returns true lhs is not equal to rhs.
[noexcept] bool operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField
&rhs)Returns true lhs is equal to rhs.