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) |
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) |
メンバ関数ドキュメント
QOpcUaEnumDefinition::QOpcUaEnumDefinition()
Defaultは、パラメータが設定されていない列挙定義を構築する。
QOpcUaEnumDefinition::QOpcUaEnumDefinition(const QOpcUaEnumDefinition &other)
other から列挙定義を構築します。
[noexcept]
QOpcUaEnumDefinition::QOpcUaEnumDefinition(QOpcUaEnumDefinition &&other)
move-新しい列挙定義をother から構築する。
注意: 移動元のオブジェクトother は、部分的に形成された状態に置かれる。この状態では、有効な操作は破棄と新しい値の割り当てのみである。
[noexcept]
QOpcUaEnumDefinition::~QOpcUaEnumDefinition()
この列挙型定義オブジェクトを破棄する。
QList<QOpcUaEnumField> QOpcUaEnumDefinition::fields() const
列挙型のフィールドを返します。
setFields()も参照 。
void QOpcUaEnumDefinition::setFields(const QList<QOpcUaEnumField> &fields)
列挙型のフィールドをfields に設定する。
fields()も参照のこと 。
[noexcept]
void QOpcUaEnumDefinition::swap(QOpcUaEnumDefinition &other)
enum 定義オブジェクトother をこの enum 定義オブジェクトと交換する。この操作は非常に高速で、失敗することはありません。
QVariant QOpcUaEnumDefinition::operator QVariant() const
この列挙定義をQVariant に変換する。
[noexcept]
QOpcUaEnumDefinition &QOpcUaEnumDefinition::operator=(QOpcUaEnumDefinition &&other)
Move-assignother をこの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
を返す。
© 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.