QOpcUaStructureField Class

Der OPC UA StructureField Typ. Mehr...

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

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Dies ist die Qt OPC UA Darstellung für den OPC UA StructureField Typ, der in OPC UA Teil 3 definiert ist. Er beschreibt ein Feld eines strukturierten Typs.

Dokumentation der Mitgliedsfunktionen

[explicit] QOpcUaStructureField::QOpcUaStructureField(qint32 valueRank = -1)

Konstruiert ein Strukturfeld mit valueRank.

QOpcUaStructureField::QOpcUaStructureField(const QOpcUaStructureField &other)

Konstruiert ein Strukturfeld aus other.

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

Move-konstruiert ein neues Strukturfeld aus other.

Hinweis: Das verschobene Objekt other befindet sich in einem teilweise gebildeten Zustand, in dem die einzigen gültigen Operationen die Zerstörung und die Zuweisung eines neuen Wertes sind.

[noexcept] QOpcUaStructureField::~QOpcUaStructureField()

Zerstört dieses Strukturfeldobjekt.

QList<quint32> QOpcUaStructureField::arrayDimensions() const

Gibt die Array-Dimenstionen des Feldes struct zurück.

Siehe auch setArrayDimensions().

QString QOpcUaStructureField::dataType() const

Gibt den Datentyp node ID des Feldes struct zurück.

Siehe auch setDataType().

QOpcUaLocalizedText QOpcUaStructureField::description() const

Gibt die Beschreibung des Feldes struct zurück.

Siehe auch setDescription().

bool QOpcUaStructureField::isOptional() const

Gibt true zurück, wenn das Feld struct optional ist.

Siehe auch setIsOptional().

quint32 QOpcUaStructureField::maxStringLength() const

Gibt die maximale Stringlänge des Feldes struct zurück.

Siehe auch setMaxStringLength().

QString QOpcUaStructureField::name() const

Gibt den Namen des Feldes struct zurück.

Siehe auch setName().

void QOpcUaStructureField::setArrayDimensions(const QList<quint32> &arrayDimensions)

Setzt die Array-Dimensionen des Feldes struct auf arrayDimensions.

Siehe auch arrayDimensions().

void QOpcUaStructureField::setDataType(const QString &dataTypeId)

Setzt den Datentyp node ID des Feldes struct auf dataTypeId.

Siehe auch dataType().

void QOpcUaStructureField::setDescription(const QOpcUaLocalizedText &description)

Setzt die Beschreibung des Feldes struct auf description.

Siehe auch description().

void QOpcUaStructureField::setIsOptional(bool isOptional)

Setzt das optionale Flag des Feldes struct auf isOptional.

Siehe auch isOptional().

void QOpcUaStructureField::setMaxStringLength(quint32 maxStringLength)

Setzt die maximale Stringlänge des Feldes struct auf maxStringLength.

Siehe auch maxStringLength().

void QOpcUaStructureField::setName(const QString &name)

Setzt den Namen des Feldes struct auf name.

Siehe auch name().

void QOpcUaStructureField::setValueRank(qint32 valueRank)

Setzt den Wertrang des Feldes struct auf valueRank.

Siehe auch valueRank().

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

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

qint32 QOpcUaStructureField::valueRank() const

Gibt den Wertrang des Feldes struct zurück.

Siehe auch setValueRank().

QVariant QOpcUaStructureField::operator QVariant() const

Konvertiert dieses Strukturfeld in QVariant.

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

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

QOpcUaStructureField &QOpcUaStructureField::operator=(const QOpcUaStructureField &other)

Legt die Werte von other in diesem Strukturfeld fest.

Verwandte Nicht-Mitglieder

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

Gibt true zurück lhs ist nicht gleich rhs.

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

Gibt zurück: true lhs ist gleich rhs.

© 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.