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
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)

詳細説明

OPC UA part 3で定義されているOPC UA StructureField型のQt OPC UA 。構造化型のフィールドを記述する。

メンバ関数ドキュメント

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

valueRank で構造体フィールドを構築する。

QOpcUaStructureField::QOpcUaStructureField(const QOpcUaStructureField &other)

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

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

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

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

[noexcept] QOpcUaStructureField::~QOpcUaStructureField()

この構造体フィールド・オブジェクトを破棄します。

QList<quint32> QOpcUaStructureField::arrayDimensions() const

構造体フィールドの配列の次元数を返します。

setArrayDimensions()も参照

QString QOpcUaStructureField::dataType() const

struct フィールドのデータ型ノード ID を返します。

setDataType()も参照してください

QOpcUaLocalizedText QOpcUaStructureField::description() const

構造体フィールドの説明を返します。

setDescription()も参照

bool QOpcUaStructureField::isOptional() const

struct フィールドがオプションの場合はtrue を返す。

setIsOptional()も参照

quint32 QOpcUaStructureField::maxStringLength() const

struct フィールドの最大文字列長を返します。

setMaxStringLength()も参照

QString QOpcUaStructureField::name() const

構造体フィールドの名前を返します。

setName()も参照

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

構造体フィールドの配列の次元をarrayDimensions に設定します。

arrayDimensions()も参照のこと

void QOpcUaStructureField::setDataType(const QString &dataTypeId)

struct フィールドのデータ型ノード ID をdataTypeId に設定します。

dataType()も参照

void QOpcUaStructureField::setDescription(const QOpcUaLocalizedText &description)

構造体フィールドの説明をdescription に設定します。

description()も参照のこと

void QOpcUaStructureField::setIsOptional(bool isOptional)

struct フィールドのオプション・フラグをisOptional に設定する。

isOptional()も参照のこと

void QOpcUaStructureField::setMaxStringLength(quint32 maxStringLength)

struct フィールドの最大文字列長を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()も参照

QVariant QOpcUaStructureField::operator QVariant() const

この構造体フィールドをQVariant に変換する。

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

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

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

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

この構造体フィールドにother からの値を設定する。

関連する非会員

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

true lhsrhs と等しくない。

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

true lhsrhs と等しい。

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