QOpcUaEnumField Class

OPC UA StructureDefinition型。詳細...

ヘッダ #include <QOpcUaEnumField>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua
以来: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)

詳細説明

OPC UA part 3で定義されているOPC UA EnumField型のQt OPC UA 。列挙型のフィールドを記述します。

メンバ関数ドキュメント

QOpcUaEnumField::QOpcUaEnumField()

Defaultは、パラメータが設定されていないenumフィールドを構築する。

QOpcUaEnumField::QOpcUaEnumField(const QOpcUaEnumField &other)

other から enum フィールドを構築する。

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

移動-新しい列挙フィールドをother から構築する。

注: 移動元のオブジェクトother は、部分的に形成された状態に置かれる。この状態では、有効な操作は破棄と新しい値の割り当てのみである。

[noexcept] QOpcUaEnumField::~QOpcUaEnumField()

この列挙型定義オブジェクトを破棄する。

QOpcUaLocalizedText QOpcUaEnumField::description() const

enum フィールドの説明を返します。

setDescription()も参照

QOpcUaLocalizedText QOpcUaEnumField::displayName() const

enum フィールドの表示名を返します。

setDisplayName()も参照

QString QOpcUaEnumField::name() const

enum フィールドの名前を返します。

setName()も参照

void QOpcUaEnumField::setDescription(const QOpcUaLocalizedText &description)

enum フィールドの説明をdescription に設定する。

description()も参照のこと

void QOpcUaEnumField::setDisplayName(const QOpcUaLocalizedText &displayName)

enum フィールドの表示名をdisplayName に設定する。

displayName()も参照のこと

void QOpcUaEnumField::setName(const QString &name)

enum フィールドの名前をname に設定する。

name()も参照のこと

void QOpcUaEnumField::setValue(qint64 value)

enum フィールドの enum 値をvalue に設定する。

value()も参照のこと

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

enum フィールド・オブジェクトother をこの enum フィールド・オブジェクトと交換する。この操作は非常に高速で、失敗することはありません。

qint64 QOpcUaEnumField::value() const

enum フィールドの enum 値を返します。

setValue()も参照

QVariant QOpcUaEnumField::operator QVariant() const

この enum フィールドをQVariant に変換する。

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

Move-assignother をこのQOpcUaEnumField インスタンスに割り当てる。

注: 移動元のオブジェクトother は、部分的に形成された状態に置かれる。この状態では、有効な操作は破壊と新しい値の割り当てのみである。

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

この enum フィールドにrhs からの値を設定する。

関連する非会員

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

lhsrhs と等しくない場合はtrue を返す。

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

lhsrhs と等しい場合、true を返す。

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