このページでは

QOpcUaNodeCreationAttributes Class

このクラスは、ノード作成時の属性値を管理します。詳細...

ヘッダー: #include <QOpcUaNodeCreationAttributes>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

パブリック関数

QOpcUaNodeCreationAttributes()
QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)
QOpcUa::AccessLevel accessLevel() const
QList<quint32> arrayDimensions() const
bool containsNoLoops() const
QString dataTypeId() const
QOpcUaLocalizedText description() const
QOpcUaLocalizedText displayName() const
QOpcUa::EventNotifier eventNotifier() const
bool executable() const
bool hasAccessLevel() const
bool hasArrayDimensions() const
bool hasContainsNoLoops() const
bool hasDataTypeId() const
bool hasDescription() const
bool hasDisplayName() const
bool hasEventNotifier() const
bool hasExecutable() const
bool hasHistorizing() const
bool hasInverseName() const
bool hasIsAbstract() const
bool hasMinimumSamplingInterval() const
bool hasSymmetric() const
bool hasUserAccessLevel() const
bool hasUserExecutable() const
bool hasUserWriteMask() const
bool hasValue() const
bool hasValueRank() const
bool hasWriteMask() const
bool historizing() const
QOpcUaLocalizedText inverseName() const
bool isAbstract() const
double minimumSamplingInterval() const
void setAccessLevel(QOpcUa::AccessLevel accessLevel)
void setArrayDimensions(const QList<quint32> &arrayDimensions)
void setContainsNoLoops(bool containsNoLoops)
void setDataTypeId(const QString &dataTypeId)
void setDescription(const QOpcUaLocalizedText &description)
void setDisplayName(const QOpcUaLocalizedText &displayName)
void setEventNotifier(QOpcUa::EventNotifier eventNotifier)
void setExecutable(bool executable)
void setHistorizing(bool historizing)
void setInverseName(const QOpcUaLocalizedText &inverseName)
void setIsAbstract(bool isAbstract)
void setMinimumSamplingInterval(double minimumSamplingInterval)
void setSymmetric(bool symmetric)
void setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel)
void setUserExecutable(bool userExecutable)
void setUserWriteMask(QOpcUa::WriteMask userWriteMask)
void setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)
void setValueRank(qint32 valueRank)
void setWriteMask(QOpcUa::WriteMask writeMask)
bool symmetric() const
QOpcUa::AccessLevel userAccessLevel() const
bool userExecutable() const
QOpcUa::WriteMask userWriteMask() const
QVariant value() const
qint32 valueRank() const
QOpcUa::Types valueType() const
QOpcUa::WriteMask writeMask() const
QOpcUaNodeCreationAttributes &operator=(const QOpcUaNodeCreationAttributes &rhs)

詳細な説明

このクラスは、OPC UA アドレス空間に新しいノードを作成する際にサーバーに渡されるノード属性の値を保持します。

各ノードクラスでは、以下のノード属性がサポートされています:

属性オブジェクト変数メソッドオブジェクトタイプ変数型参照型データ型ビュー
アクセスレベルX
配列の次元XX
ループなしX
データ型XX
説明XXXXXXXX
表示名XXXXXXXX
EventNotifierX
実行可能ファイルX
履歴化X
逆名X
IsAbstractXXXX
最小サンプリング間隔X
対称X
ユーザーアクセスレベルX
ユーザー実行可能X
ユーザー書き込みマスクXXXXXXXX
値XX
値ランクXX
書き込みマスクXXXXXXXX

QOpcUaClient::addNode()も参照してください 。

メンバ関数のドキュメント

QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes()

default は、パラメータが設定されていないノード作成属性オブジェクトを生成します。

QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)

other の値を持つノード作成属性オブジェクトを生成します。

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::accessLevel() const

AccessLevel 属性の値を返します。

setAccessLevel()も参照してください 。

QList<quint32> QOpcUaNodeCreationAttributes::arrayDimensions() const

ArrayDimensions 属性の値を返します。

setArrayDimensions()も参照してください 。

bool QOpcUaNodeCreationAttributes::containsNoLoops() const

ContainsNoLoops 属性の値を返します。

setContainsNoLoops()も参照してください 。

QString QOpcUaNodeCreationAttributes::dataTypeId() const

DataType 属性の値を返します。

setDataTypeId()も参照してください 。

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::description() const

Description 属性の値を返します。

setDescription()も参照してください 。

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::displayName() const

DisplayName 属性の値を返します。

setDisplayName()も参照してください 。

QOpcUa::EventNotifier QOpcUaNodeCreationAttributes::eventNotifier() const

EventNotifier 属性の値を返します。

setEventNotifier()も参照してください 。

bool QOpcUaNodeCreationAttributes::executable() const

Executable 属性の値を返します。

setExecutable()も参照してください 。

bool QOpcUaNodeCreationAttributes::hasAccessLevel() const

AccessLevel 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasArrayDimensions() const

ArrayDimensions 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasContainsNoLoops() const

ContainsNoLoops 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasDataTypeId() const

DataType 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasDescription() const

Description 属性に値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasDisplayName() const

DisplayName 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasEventNotifier() const

EventNotifier 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasExecutable() const

Executable 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasHistorizing() const

Historizing 属性に値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasInverseName() const

InverseName 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasIsAbstract() const

IsAbstract 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasMinimumSamplingInterval() const

MinimumSamplingInterval 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasSymmetric() const

Symmetric 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasUserAccessLevel() const

UserAccessLevel 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasUserExecutable() const

UserExecutable 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasUserWriteMask() const

UserWriteMask 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasValue() const

Value 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasValueRank() const

ValueRank 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::hasWriteMask() const

WriteMask 属性の値が設定されている場合、true を返します。

bool QOpcUaNodeCreationAttributes::historizing() const

「Historizing」属性の値を返します。

setHistorizing()も参照してください 。

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::inverseName() const

InverseName 属性の値を返します。

setInverseName()も参照してください 。

bool QOpcUaNodeCreationAttributes::isAbstract() const

IsAbstract 属性の値を返します。

setIsAbstract()も参照してください 。

double QOpcUaNodeCreationAttributes::minimumSamplingInterval() const

MinimumSamplingInterval 属性の値を返します。

setMinimumSamplingInterval()も参照してください 。

void QOpcUaNodeCreationAttributes::setAccessLevel(QOpcUa::AccessLevel accessLevel)

AccessLevel 属性の値をaccessLevel に設定します。

accessLevel()も参照してください 。

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

ArrayDimensions 属性の値を `arrayDimensions` に設定します。

arrayDimensions()も参照してください 。

void QOpcUaNodeCreationAttributes::setContainsNoLoops(bool containsNoLoops)

ContainsNoLoops 属性の値を `containsNoLoops` に設定します。

containsNoLoops()も参照してください 。

void QOpcUaNodeCreationAttributes::setDataTypeId(const QString &dataTypeId)

DataType 属性の値を `dataTypeId` に設定します。

dataTypeId()も参照してください 。

void QOpcUaNodeCreationAttributes::setDescription(const QOpcUaLocalizedText &description)

Description 属性の値を「description 」に設定します。

description()も参照してください 。

void QOpcUaNodeCreationAttributes::setDisplayName(const QOpcUaLocalizedText &displayName)

DisplayName 属性の値を「displayName 」に設定します。

「displayName()」も参照してください 。

void QOpcUaNodeCreationAttributes::setEventNotifier(QOpcUa::EventNotifier eventNotifier)

EventNotifier 属性の値を `eventNotifier` に設定します。

eventNotifier()も参照してください 。

void QOpcUaNodeCreationAttributes::setExecutable(bool executable)

Executable 属性の値を `executable` に設定します。

executable()も参照してください 。

void QOpcUaNodeCreationAttributes::setHistorizing(bool historizing)

「Historizing」属性の値を「historizing 」に設定します。

historizing()も参照してください 。

void QOpcUaNodeCreationAttributes::setInverseName(const QOpcUaLocalizedText &inverseName)

InverseName 属性の値をinverseName に設定します。

inverseName()も参照してください 。

void QOpcUaNodeCreationAttributes::setIsAbstract(bool isAbstract)

IsAbstract 属性の値を `isAbstract` に設定します。

isAbstract()も参照してください 。

void QOpcUaNodeCreationAttributes::setMinimumSamplingInterval(double minimumSamplingInterval)

MinimumSamplingInterval 属性の値を `minimumSamplingInterval` に設定します。

minimumSamplingInterval()も参照してください 。

void QOpcUaNodeCreationAttributes::setSymmetric(bool symmetric)

Symmetric 属性の値を `symmetric` に設定します。

symmetric()も参照してください 。

void QOpcUaNodeCreationAttributes::setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel)

UserAccessLevel 属性の値をuserAccessLevel に設定します。

userAccessLevel()も参照してください 。

void QOpcUaNodeCreationAttributes::setUserExecutable(bool userExecutable)

UserExecutable 属性の値をuserExecutable に設定します。

userExecutable()も参照してください 。

void QOpcUaNodeCreationAttributes::setUserWriteMask(QOpcUa::WriteMask userWriteMask)

UserWriteMask 属性の値を `userWriteMask` に設定します。

userWriteMask()も参照してください 。

void QOpcUaNodeCreationAttributes::setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)

Value 属性の値を、型が `type` の `value ` に設定します。

value()も参照してください 。

void QOpcUaNodeCreationAttributes::setValueRank(qint32 valueRank)

ValueRank 属性の値を `valueRank` に設定します。

valueRank()も参照してください 。

void QOpcUaNodeCreationAttributes::setWriteMask(QOpcUa::WriteMask writeMask)

WriteMask 属性の値を `writeMask` に設定します。

writeMask()も参照してください 。

bool QOpcUaNodeCreationAttributes::symmetric() const

Symmetric 属性の値を返します。

setSymmetric()も参照してください 。

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::userAccessLevel() const

UserAccessLevel 属性の値を返します。

setUserAccessLevel()も参照してください 。

bool QOpcUaNodeCreationAttributes::userExecutable() const

UserExecutable 属性の値を返します。

setUserExecutable()も参照してください 。

QOpcUa::WriteMask QOpcUaNodeCreationAttributes::userWriteMask() const

UserWriteMask 属性の値を返します。

setUserWriteMask()も参照してください 。

QVariant QOpcUaNodeCreationAttributes::value() const

Value 属性の値を返します。

setValue()も参照してください 。

qint32 QOpcUaNodeCreationAttributes::valueRank() const

ValueRank 属性の値を返します。

setValueRank()も参照してください 。

QOpcUa::Types QOpcUaNodeCreationAttributes::valueType() const

value属性の型を返します。

QOpcUa::WriteMask QOpcUaNodeCreationAttributes::writeMask() const

WriteMask 属性の値を返します。

setWriteMask()も参照してください 。

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

このノード作成属性オブジェクトに、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.