QOpcUaNodeCreationAttributes Class

This class manages attribute values for node creation. 更多...

頭: #include <QOpcUaNodeCreationAttributes>
qmake: QT += opcua

公共函數

QOpcUaNodeCreationAttributes (const QOpcUaNodeCreationAttributes & other )
QOpcUaNodeCreationAttributes & operator= (const QOpcUaNodeCreationAttributes & rhs )
QOpcUa::AccessLevel accessLevel () const
QVector<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 QVector<quint32> & arrayDimensions )
void setContainsNoLoops (bool containsNoLoops )
void setDataTypeId (const QString & dataTypeId )
void setDescription (const QOpcUaLocalizedText & 描述 )
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

詳細描述

This class holds values for node attributes that are passed to the server when creating a new node in the OPC UA address space.

The following node attributes are supported by the different node classes:

屬性 對象 變量 方法 ObjectType VariableType ReferenceType DataType View
AccessLevel X
ArrayDimensions X X
ContainsNoLoops X
DataType X X
Description X X X X X X X X
DisplayName X X X X X X X X
EventNotifier X
Executable X
Historizing X
InverseName X
IsAbstract X X X X
MinimumSamplingInterval X
Symmetric X
UserAccessLevel X
UserExecutable X
UserWriteMask X X X X X X X X
X X
ValueRank X X
WriteMask X X X X X X X X

另請參閱 QOpcUaClient::addNode ().

成員函數文檔編製

QOpcUaNodeCreationAttributes:: QOpcUaNodeCreationAttributes (const QOpcUaNodeCreationAttributes & other )

Constructs a node creation attributes object with the values of other .

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

賦值值 rhs to this node creation attributes object.

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes:: accessLevel () const

Returns the value for the AccessLevel attribute.

另請參閱 setAccessLevel ().

QVector < quint32 > QOpcUaNodeCreationAttributes:: arrayDimensions () const

Returns the value for the ArrayDimensions attribute.

另請參閱 setArrayDimensions ().

bool QOpcUaNodeCreationAttributes:: containsNoLoops () const

Returns the value for the ContainsNoLoops attribute.

另請參閱 setContainsNoLoops ().

QString QOpcUaNodeCreationAttributes:: dataTypeId () const

Returns the value for the DataType attribute.

另請參閱 setDataTypeId ().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes:: description () const

Returns the value for the Description attribute.

另請參閱 setDescription ().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes:: displayName () const

Returns the value for the DisplayName attribute.

另請參閱 setDisplayName ().

QOpcUa::EventNotifier QOpcUaNodeCreationAttributes:: eventNotifier () const

Returns the value for the EventNotifier attribute.

另請參閱 setEventNotifier ().

bool QOpcUaNodeCreationAttributes:: executable () const

Returns the value for the Executable attribute.

另請參閱 setExecutable ().

bool QOpcUaNodeCreationAttributes:: hasAccessLevel () const

返迴 true if a value for the AccessLevel attribute is set.

bool QOpcUaNodeCreationAttributes:: hasArrayDimensions () const

返迴 true if a value for the ArrayDimensions attribute is set.

bool QOpcUaNodeCreationAttributes:: hasContainsNoLoops () const

返迴 true if a value for the ContainsNoLoops attribute is set.

bool QOpcUaNodeCreationAttributes:: hasDataTypeId () const

返迴 true if a value for the DataType attribute is set.

bool QOpcUaNodeCreationAttributes:: hasDescription () const

返迴 true if a value for the Description attribute is set.

bool QOpcUaNodeCreationAttributes:: hasDisplayName () const

返迴 true if a value for the DisplayName attribute is set.

bool QOpcUaNodeCreationAttributes:: hasEventNotifier () const

返迴 true if a value for the EventNotifier attribute is set.

bool QOpcUaNodeCreationAttributes:: hasExecutable () const

返迴 true if a value for the Executable attribute is set.

bool QOpcUaNodeCreationAttributes:: hasHistorizing () const

返迴 true if a value for the Historizing attribute is set.

bool QOpcUaNodeCreationAttributes:: hasInverseName () const

返迴 true if a value for the InverseName attribute is set.

bool QOpcUaNodeCreationAttributes:: hasIsAbstract () const

返迴 true if a value for the IsAbstract attribute is set.

bool QOpcUaNodeCreationAttributes:: hasMinimumSamplingInterval () const

返迴 true if a value for the MinimumSamplingInterval attribute is set.

bool QOpcUaNodeCreationAttributes:: hasSymmetric () const

返迴 true if a value for the Symmetric attribute is set.

bool QOpcUaNodeCreationAttributes:: hasUserAccessLevel () const

返迴 true if a value for the UserAccessLevel attribute is set.

bool QOpcUaNodeCreationAttributes:: hasUserExecutable () const

返迴 true if a value for the UserExecutable attribute is set.

bool QOpcUaNodeCreationAttributes:: hasUserWriteMask () const

返迴 true if a value for the UserWriteMask attribute is set.

bool QOpcUaNodeCreationAttributes:: hasValue () const

返迴 true if a value for the Value attribute is set.

bool QOpcUaNodeCreationAttributes:: hasValueRank () const

返迴 true if a value for the ValueRank attribute is set.

bool QOpcUaNodeCreationAttributes:: hasWriteMask () const

返迴 true if a value for the WriteMask attribute is set.

bool QOpcUaNodeCreationAttributes:: historizing () const

Returns the value for the Historizing attribute.

另請參閱 setHistorizing ().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes:: inverseName () const

Returns the value for the InverseName attribute.

另請參閱 setInverseName ().

bool QOpcUaNodeCreationAttributes:: isAbstract () const

Returns the value for the IsAbstract attribute.

另請參閱 setIsAbstract ().

double QOpcUaNodeCreationAttributes:: minimumSamplingInterval () const

Returns the value for the MinimumSamplingInterval attribute.

另請參閱 setMinimumSamplingInterval ().

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

Sets the value for the AccessLevel attribute to accessLevel .

另請參閱 accessLevel ().

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

Sets the value for the ArrayDimensions attribute to arrayDimensions .

另請參閱 arrayDimensions ().

void QOpcUaNodeCreationAttributes:: setContainsNoLoops ( bool containsNoLoops )

Sets the value for the ContainsNoLoops attribute to containsNoLoops .

另請參閱 containsNoLoops ().

void QOpcUaNodeCreationAttributes:: setDataTypeId (const QString & dataTypeId )

Sets the value for the DataType attribute to dataTypeId .

另請參閱 dataTypeId ().

void QOpcUaNodeCreationAttributes:: setDescription (const QOpcUaLocalizedText & 描述 )

Sets the value for the Description attribute to 描述 .

另請參閱 description ().

void QOpcUaNodeCreationAttributes:: setDisplayName (const QOpcUaLocalizedText & displayName )

Sets the value for the DisplayName attribute to displayName .

另請參閱 displayName ().

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

Sets the value for the EventNotifier attribute to eventNotifier .

另請參閱 eventNotifier ().

void QOpcUaNodeCreationAttributes:: setExecutable ( bool executable )

Sets the value for the Executable attribute to executable .

另請參閱 executable ().

void QOpcUaNodeCreationAttributes:: setHistorizing ( bool historizing )

Sets the value for the Historizing attribute to historizing .

另請參閱 historizing ().

void QOpcUaNodeCreationAttributes:: setInverseName (const QOpcUaLocalizedText & inverseName )

Sets the value for the InverseName attribute to inverseName .

另請參閱 inverseName ().

void QOpcUaNodeCreationAttributes:: setIsAbstract ( bool isAbstract )

Sets the value for the IsAbstract attribute to isAbstract .

另請參閱 isAbstract ().

void QOpcUaNodeCreationAttributes:: setMinimumSamplingInterval ( double minimumSamplingInterval )

Sets the value for the MinimumSamplingInterval attribute to minimumSamplingInterval .

另請參閱 minimumSamplingInterval ().

void QOpcUaNodeCreationAttributes:: setSymmetric ( bool symmetric )

Sets the value for the Symmetric attribute to symmetric .

另請參閱 symmetric ().

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

Sets the value for the UserAccessLevel attribute to userAccessLevel .

另請參閱 userAccessLevel ().

void QOpcUaNodeCreationAttributes:: setUserExecutable ( bool userExecutable )

Sets the value for the UserExecutable attribute to userExecutable .

另請參閱 userExecutable ().

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

Sets the value for the UserWriteMask attribute to userWriteMask .

另請參閱 userWriteMask ().

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

Sets the value for the Value attribute to value 類型 type .

另請參閱 value ().

void QOpcUaNodeCreationAttributes:: setValueRank ( qint32 valueRank )

Sets the value for the ValueRank attribute to valueRank .

另請參閱 valueRank ().

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

Sets the value for the WriteMask attribute to writeMask .

另請參閱 writeMask ().

bool QOpcUaNodeCreationAttributes:: symmetric () const

Returns the value for the Symmetric attribute.

另請參閱 setSymmetric ().

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes:: userAccessLevel () const

Returns the value for the UserAccessLevel attribute.

另請參閱 setUserAccessLevel ().

bool QOpcUaNodeCreationAttributes:: userExecutable () const

Returns the value for the UserExecutable attribute.

另請參閱 setUserExecutable ().

QOpcUa::WriteMask QOpcUaNodeCreationAttributes:: userWriteMask () const

Returns the value for the UserWriteMask attribute.

另請參閱 setUserWriteMask ().

QVariant QOpcUaNodeCreationAttributes:: value () const

Returns the value for the Value attribute.

另請參閱 setValue ().

qint32 QOpcUaNodeCreationAttributes:: valueRank () const

Returns the value for the ValueRank attribute.

另請參閱 setValueRank ().

QOpcUa::Types QOpcUaNodeCreationAttributes:: valueType () const

Returns the type of the value attribute.

QOpcUa::WriteMask QOpcUaNodeCreationAttributes:: writeMask () const

Returns the value for the WriteMask attribute.

另請參閱 setWriteMask ().