QOpcUaEnumDefinition Class
OPC UAのEnumDefinition型。詳細...
| ヘッダー: | #include <QOpcUaEnumDefinition> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| 以下のように: | Qt 6.7 |
パブリック関数
| QOpcUaEnumDefinition() | |
| QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other) | |
| QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other) | |
| ~QOpcUaEnumDefinition() | |
| QList<QOpcUaEnumField> | fields() const |
| void | setFields(const QList<QOpcUaEnumField> &fields) |
| void | swap(QOpcUaEnumDefinition &other) |
| 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) |
メンバー関数のドキュメント
QOpcUaEnumDefinition::QOpcUaEnumDefinition()
default は、パラメータが設定されていない列挙型の定義を生成します。
QOpcUaEnumDefinition::QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other)
other から列挙型の定義を生成します。
[constexpr noexcept default] QOpcUaEnumDefinition::QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other)
other から新しい列挙型の定義を移動生成します。
注: 移動元のオブジェクト other は 、部分的に形成された状態となり、この状態では破棄と新しい値の代入のみが有効な操作となります。
[noexcept] QOpcUaEnumDefinition::~QOpcUaEnumDefinition()
この列挙型定義オブジェクトを破棄します。
QList<QOpcUaEnumField> QOpcUaEnumDefinition::fields() const
列挙型(enum)のフィールドを返します。
setFields()も参照してください 。
void QOpcUaEnumDefinition::setFields(const QList<QOpcUaEnumField> &fields)
列挙型の各フィールドをfields に設定します。
fields()も参照してください 。
[noexcept] void QOpcUaEnumDefinition::swap(QOpcUaEnumDefinition &other)
other の列挙型定義オブジェクトを、この列挙型定義オブジェクトと置換します。この操作は非常に高速で、失敗することはありません。
QOpcUaEnumDefinition::operator QVariant() const
この列挙型の定義をQVariant に変換します。
[noexcept] QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(QOpcUaEnumDefinition &&other)
other をこのQOpcUaEnumDefinition インスタンスに割り当てます。
注: 移動元のオブジェクト other は 、部分的に形成された状態になります。この状態では、有効な操作は破棄と新しい値への代入のみです。
QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(const QOpcUaEnumDefinition &rhs)
この列挙型の定義において、rhs の値を適用します。
関連する非メンバー
[noexcept] bool operator!=(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)
lhs がrhs と等しくない場合、true を返します。
[noexcept] bool operator==(const QOpcUaEnumDefinition &lhs, const QOpcUaEnumDefinition &rhs)
lhs がrhs と等しい場合、true を返します。
© 2026 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.