QOpcUaStructureField Class
OPC UAのStructureField型。詳細...
| ヘッダー: | #include <QOpcUaStructureField> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| 以下より: | Qt 6.7 |
パブリック関数
| 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 |
| 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) |
メンバ関数のドキュメント
[explicit] QOpcUaStructureField::QOpcUaStructureField(qint32 valueRank = -1)
valueRank を使用して、構造フィールドを構築します。
QOpcUaStructureField::QOpcUaStructureField(const QOpcUaStructureField &other)
other から構造フィールドを構築します。
[constexpr noexcept default] QOpcUaStructureField::QOpcUaStructureField(QOpcUaStructureField &&other)
other から新しい構造体フィールドをムーブコンストラクタで生成します。
注: 移動元のオブジェクト other は 、部分的に形成された状態となり、この状態では破棄と新しい値の代入のみが有効な操作となります。
[noexcept] QOpcUaStructureField::~QOpcUaStructureField()
この構造体フィールドオブジェクトを破棄します。
QList<quint32> QOpcUaStructureField::arrayDimensions() const
構造体のフィールドの配列の次元を返します。
setArrayDimensions()も参照してください 。
QString QOpcUaStructureField::dataType() const
構造体のフィールドのデータ型ノードIDを返します。
setDataType()も参照してください 。
QOpcUaLocalizedText QOpcUaStructureField::description() const
構造体のフィールドの説明を返します。
setDescription()も参照してください 。
bool QOpcUaStructureField::isOptional() const
構造体のフィールドがオプショナルである場合、true を返します。
setIsOptional()も参照してください 。
quint32 QOpcUaStructureField::maxStringLength() const
構造体のフィールドの文字列の長さの最大値を返します。
setMaxStringLength()も参照してください 。
QString QOpcUaStructureField::name() const
構造体のフィールド名を返します。
setName()も参照してください 。
void QOpcUaStructureField::setArrayDimensions(const QList<quint32> &arrayDimensions)
構造体のフィールドの配列の次元をarrayDimensions に設定します。
arrayDimensions()も参照してください 。
void QOpcUaStructureField::setDataType(const QString &dataTypeId)
構造体のフィールドのデータ型ノードIDをdataTypeId に設定します。
dataType()も参照してください 。
void QOpcUaStructureField::setDescription(const QOpcUaLocalizedText &description)
構造体のフィールドの説明を「description 」に設定します。
description()も参照してください 。
void QOpcUaStructureField::setIsOptional(bool isOptional)
構造体のフィールドのオプションフラグを `isOptional` に設定します。
isOptional()も参照してください 。
void QOpcUaStructureField::setMaxStringLength(quint32 maxStringLength)
構造体のフィールドの文字列の最大長を `maxStringLength` に設定します。
maxStringLength()も参照してください 。
void QOpcUaStructureField::setName(const QString &name)
構造体のフィールド名を「name 」に設定します。
name()も参照してください 。
void QOpcUaStructureField::setValueRank(qint32 valueRank)
構造体のフィールドの値ランクをvalueRank に設定します。
valueRank()も参照してください 。
[noexcept] void QOpcUaStructureField::swap(QOpcUaStructureField &other)
other の構造体フィールドオブジェクトを、この構造体フィールドオブジェクトと入れ替えます。この操作は非常に高速で、失敗することはありません。
qint32 QOpcUaStructureField::valueRank() const
構造体のフィールドのランク値を返します。
setValueRank()も参照してください 。
QOpcUaStructureField::operator QVariant() const
この構造体のフィールドをQVariant に変換します。
[noexcept] QOpcUaStructureField &QOpcUaStructureField::operator=(QOpcUaStructureField &&other)
other をこのQOpcUaStructureField インスタンスに割り当てます。
注: 移動元のオブジェクト other は 、部分的に形成された状態になります。この状態では、有効な操作は破棄と新しい値への代入のみです。
QOpcUaStructureField &QOpcUaStructureField::operator=(const QOpcUaStructureField &other)
other の値をこの構造体のフィールドに設定します。
関連する非メンバー
[noexcept] bool operator!=(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs)
true を返します。lhs はrhs と等しくありません。
[noexcept] bool operator==(const QOpcUaStructureField &lhs, const QOpcUaStructureField &rhs)
true を返します。lhs はrhs と等しくなります。
© 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.