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 & 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 |
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 | ||||||
描述 | 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 ().
Constructs a node creation attributes object with the values of other .
Assigns the value of rhs to this node creation attributes object.
Returns the value for the AccessLevel attribute.
另请参阅 setAccessLevel ().
Returns the value for the ArrayDimensions attribute.
另请参阅 setArrayDimensions ().
Returns the value for the ContainsNoLoops attribute.
另请参阅 setContainsNoLoops ().
Returns the value for the DataType attribute.
另请参阅 setDataTypeId ().
Returns the value for the Description attribute.
另请参阅 setDescription ().
Returns the value for the DisplayName attribute.
另请参阅 setDisplayName ().
Returns the value for the EventNotifier attribute.
另请参阅 setEventNotifier ().
Returns the value for the Executable attribute.
另请参阅 setExecutable ().
返回
true
if a value for the AccessLevel attribute is set.
返回
true
if a value for the ArrayDimensions attribute is set.
返回
true
if a value for the ContainsNoLoops attribute is set.
返回
true
if a value for the DataType attribute is set.
返回
true
if a value for the Description attribute is set.
返回
true
if a value for the DisplayName attribute is set.
返回
true
if a value for the EventNotifier attribute is set.
返回
true
if a value for the Executable attribute is set.
返回
true
if a value for the Historizing attribute is set.
返回
true
if a value for the InverseName attribute is set.
返回
true
if a value for the IsAbstract attribute is set.
返回
true
if a value for the MinimumSamplingInterval attribute is set.
返回
true
if a value for the Symmetric attribute is set.
返回
true
if a value for the UserAccessLevel attribute is set.
返回
true
if a value for the UserExecutable attribute is set.
返回
true
if a value for the UserWriteMask attribute is set.
返回
true
if a value for the Value attribute is set.
返回
true
if a value for the ValueRank attribute is set.
返回
true
if a value for the WriteMask attribute is set.
Returns the value for the Historizing attribute.
另请参阅 setHistorizing ().
Returns the value for the InverseName attribute.
另请参阅 setInverseName ().
Returns the value for the IsAbstract attribute.
另请参阅 setIsAbstract ().
Returns the value for the MinimumSamplingInterval attribute.
另请参阅 setMinimumSamplingInterval ().
Sets the value for the AccessLevel attribute to accessLevel .
另请参阅 accessLevel ().
Sets the value for the ArrayDimensions attribute to arrayDimensions .
另请参阅 arrayDimensions ().
Sets the value for the ContainsNoLoops attribute to containsNoLoops .
另请参阅 containsNoLoops ().
Sets the value for the DataType attribute to dataTypeId .
另请参阅 dataTypeId ().
Sets the value for the Description attribute to description .
另请参阅 description ().
Sets the value for the DisplayName attribute to displayName .
另请参阅 displayName ().
Sets the value for the EventNotifier attribute to eventNotifier .
另请参阅 eventNotifier ().
Sets the value for the Executable attribute to executable .
另请参阅 executable ().
Sets the value for the Historizing attribute to historizing .
另请参阅 historizing ().
Sets the value for the InverseName attribute to inverseName .
另请参阅 inverseName ().
Sets the value for the IsAbstract attribute to isAbstract .
另请参阅 isAbstract ().
Sets the value for the MinimumSamplingInterval attribute to minimumSamplingInterval .
另请参阅 minimumSamplingInterval ().
Sets the value for the Symmetric attribute to symmetric .
另请参阅 symmetric ().
Sets the value for the UserAccessLevel attribute to userAccessLevel .
另请参阅 userAccessLevel ().
Sets the value for the UserExecutable attribute to userExecutable .
另请参阅 userExecutable ().
Sets the value for the UserWriteMask attribute to userWriteMask .
另请参阅 userWriteMask ().
Sets the value for the Value attribute to value 类型 type .
另请参阅 value ().
Sets the value for the ValueRank attribute to valueRank .
另请参阅 valueRank ().
Sets the value for the WriteMask attribute to writeMask .
另请参阅 writeMask ().
Returns the value for the Symmetric attribute.
另请参阅 setSymmetric ().
Returns the value for the UserAccessLevel attribute.
另请参阅 setUserAccessLevel ().
Returns the value for the UserExecutable attribute.
另请参阅 setUserExecutable ().
Returns the value for the UserWriteMask attribute.
另请参阅 setUserWriteMask ().
Returns the value for the Value attribute.
另请参阅 setValue ().
Returns the value for the ValueRank attribute.
另请参阅 setValueRank ().
Returns the type of the value attribute.
Returns the value for the WriteMask attribute.
另请参阅 setWriteMask ().