QOpcUaEnumDefinition Class

Der OPC UA EnumDefinition Typ. Mehr...

Kopfzeile: #include <QOpcUaEnumDefinition>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua
Seit: Qt 6.7

Öffentliche Funktionen

QOpcUaEnumDefinition()
QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other)
QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other)
~QOpcUaEnumDefinition()
QList<QOpcUaEnumField> fields() const
void setFields(const QList<QOpcUaEnumField> &fields)
void swap(QOpcUaEnumDefinition &other)
QVariant operator QVariant() const
QOpcUaEnumDefinition &operator=(QOpcUaEnumDefinition &&other)
QOpcUaEnumDefinition &operator=(const QOpcUaEnumDefinition &rhs)
bool operator!=(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)
bool operator==(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)

Detaillierte Beschreibung

Dies ist die Qt OPC UA Darstellung für den OPC UA EnumDefinition Typ, der in OPC UA Teil 3 definiert ist. Er beschreibt einen Aufzählungstyp.

Dokumentation der Mitgliedsfunktionen

QOpcUaEnumDefinition::QOpcUaEnumDefinition()

Default konstruiert eine Enum-Definition ohne gesetzte Parameter.

QOpcUaEnumDefinition::QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other)

Konstruiert eine Enum-Definition aus other.

[noexcept] QOpcUaEnumDefinition::QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other)

Move-konstruiert eine neue Enum-Definition 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] QOpcUaEnumDefinition::~QOpcUaEnumDefinition()

Zerstört dieses Enum-Definitionsobjekt.

QList<QOpcUaEnumField> QOpcUaEnumDefinition::fields() const

Gibt die Felder des Enum-Typs zurück.

Siehe auch setFields().

void QOpcUaEnumDefinition::setFields(const QList<QOpcUaEnumField> &fields)

Setzt die Felder des Enum-Typs auf fields.

Siehe auch fields().

[noexcept] void QOpcUaEnumDefinition::swap(QOpcUaEnumDefinition &other)

Tauscht das Enum-Definitionsobjekt other mit diesem Enum-Definitionsobjekt aus. Dieser Vorgang ist sehr schnell und schlägt nie fehl.

QVariant QOpcUaEnumDefinition::operator QVariant() const

Konvertiert diese Enum-Definition in QVariant.

[noexcept] QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(QOpcUaEnumDefinition &&other)

Verschieben - weist other dieser QOpcUaEnumDefinition Instanz 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.

QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(const QOpcUaEnumDefinition &rhs)

Setzt die Werte von rhs in dieser Enum-Definition.

Verwandte Nicht-Mitglieder

[noexcept] bool operator!=(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)

Gibt true zurück, wenn lhs nicht gleich rhs ist.

[noexcept] bool operator==(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &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.