QOpcUaEnumField Class
Der OPC UA StructureDefinition Typ. Mehr...
Kopfzeile: | #include <QOpcUaEnumField> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Seit: | Qt 6.7 |
Öffentliche Funktionen
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) |
Verwandte Nicht-Mitglieder
bool | operator!=(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs) |
bool | operator==(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs) |
Detaillierte Beschreibung
Dies ist die Qt OPC UA Darstellung für den OPC UA EnumField Typ, der in OPC UA Teil 3 definiert ist. Er beschreibt ein Feld eines Enum-Typs.
Member Funktion Dokumentation
QOpcUaEnumField::QOpcUaEnumField()
Default konstruiert ein Enum-Feld ohne Parameter.
QOpcUaEnumField::QOpcUaEnumField(const QOpcUaEnumField &other)
Konstruiert ein Enum-Feld aus other.
[noexcept]
QOpcUaEnumField::QOpcUaEnumField(QOpcUaEnumField &&other)
Move-konstruiert ein neues Enum-Feld aus other.
Hinweis: Das verschobene Objekt other wird in einen teilweise gebildeten Zustand versetzt, in dem die einzigen gültigen Operationen die Zerstörung und die Zuweisung eines neuen Wertes sind.
[noexcept]
QOpcUaEnumField::~QOpcUaEnumField()
Dieses Enum-Definitionsobjekt zerstören.
QOpcUaLocalizedText QOpcUaEnumField::description() const
Gibt die Beschreibung des Enum-Feldes zurück.
Siehe auch setDescription().
QOpcUaLocalizedText QOpcUaEnumField::displayName() const
Gibt den Anzeigenamen des Enum-Feldes zurück.
Siehe auch setDisplayName().
QString QOpcUaEnumField::name() const
Gibt den Namen des Enum-Feldes zurück.
Siehe auch setName().
void QOpcUaEnumField::setDescription(const QOpcUaLocalizedText &description)
Setzt die Beschreibung des Enum-Feldes auf description.
Siehe auch description().
void QOpcUaEnumField::setDisplayName(const QOpcUaLocalizedText &displayName)
Setzt den Anzeigenamen des Enum-Feldes auf displayName.
Siehe auch displayName().
void QOpcUaEnumField::setName(const QString &name)
Setzt den Namen des Enum-Feldes auf name.
Siehe auch name().
void QOpcUaEnumField::setValue(qint64 value)
Setzt den Enum-Wert des Enum-Feldes auf value.
Siehe auch value().
[noexcept]
void QOpcUaEnumField::swap(QOpcUaEnumField &other)
Tauscht das Enum-Field-Objekt other mit diesem Enum-Field-Objekt aus. Dieser Vorgang ist sehr schnell und schlägt nie fehl.
qint64 QOpcUaEnumField::value() const
Gibt den Enum-Wert des Enum-Feldes zurück.
Siehe auch setValue().
QVariant QOpcUaEnumField::operator QVariant() const
Konvertiert dieses Aufzählungsfeld in QVariant.
[noexcept]
QOpcUaEnumField &QOpcUaEnumField::operator=(QOpcUaEnumField &&other)
Verschieben - weist other dieser Instanz QOpcUaEnumField zu.
Hinweis: Das verschobene Objekt other wird in einen teilweise gebildeten Zustand versetzt, in dem die einzigen gültigen Operationen Zerstörung und Zuweisung eines neuen Wertes sind.
QOpcUaEnumField &QOpcUaEnumField::operator=(const QOpcUaEnumField &rhs)
Legt die Werte von rhs in diesem Aufzählungsfeld fest.
Verwandte Nicht-Mitglieder
[noexcept]
bool operator!=(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs)
Gibt true
zurück, wenn lhs nicht gleich rhs ist.
[noexcept]
bool operator==(const QOpcUaEnumField &lhs, const QOpcUaEnumField &rhs)
Gibt true
zurück, wenn lhs gleich rhs ist.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.