The OPC UA StructureDefinition type. More...
| Header: | #include <QOpcUaEnumField> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| Since: | Qt 6.7 |
| QOpcUaEnumField() | |
| QOpcUaEnumField(const QOpcUaEnumField &other) | |
| QOpcUaEnumField(QOpcUaEnumField &&other) | |
| ~QOpcUaEnumField() | |
| QOpcUaLocalizedText | description() const |
| QOpcUaLocalizedText | displayName() const |
| QString | name() const |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setDisplayName(const QOpcUaLocalizedText &displayName) |
| void | setName(const QString &name) |
| void | setValue(qint64 value) |
| void | swap(QOpcUaEnumField &other) |
| qint64 | value() const |
| QVariant | operator QVariant() const |
| QOpcUaEnumField & | operator=(QOpcUaEnumField &&other) |
| QOpcUaEnumField & | operator=(const QOpcUaEnumField &rhs) |
| bool | operator!=(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs) |
| bool | operator==(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs) |
This is the Qt OPC UA representation for the OPC UA EnumField type defined in OPC UA part 3. It describes a field of an enum type.
Default constructs an enum field with no parameters set.
Constructs an enum field from other.
[noexcept] QOpcUaEnumField::QOpcUaEnumField(QOpcUaEnumField &&other)Move-constructs a new enum 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] QOpcUaEnumField::~QOpcUaEnumField()Destroy this enum definition object.
Returns the description of the enum field.
See also setDescription().
Returns the display name of the enum field.
See also setDisplayName().
Returns the name of the enum field.
See also setName().
Sets the description of the enum field to description.
See also description().
Sets the display name of the enum field to displayName.
See also displayName().
Sets the name of the enum field to name.
See also name().
Sets the enum value of the enum field to value.
See also value().
[noexcept] void QOpcUaEnumField::swap(QOpcUaEnumField &other)Swaps enum field object other with this enum field object. This operation is very fast and never fails.
Returns the enum value of the enum field.
See also setValue().
Converts this enum field to QVariant.
[noexcept] QOpcUaEnumField
&QOpcUaEnumField::operator=(QOpcUaEnumField &&other)Move-assigns other to this QOpcUaEnumField 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 enum field.
[noexcept] bool operator!=(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs)Returns true if lhs is not equal to rhs.
[noexcept] bool operator==(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs)Returns true if lhs is equal to rhs.