This class stores the necessary information to create a new node on the server. 更多...
头: | #include <QOpcUaAddNodeItem> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaAddNodeItem () | |
QOpcUaAddNodeItem (const QOpcUaAddNodeItem & other ) | |
QOpcUaQualifiedName | browseName () const |
QOpcUaNodeCreationAttributes | nodeAttributes () const |
QOpcUaNodeCreationAttributes & | nodeAttributesRef () |
QOpcUa::NodeClass | nodeClass () const |
QOpcUaExpandedNodeId | parentNodeId () const |
QString | referenceTypeId () const |
QOpcUaExpandedNodeId | requestedNewNodeId () const |
void | setBrowseName (const QOpcUaQualifiedName & browseName ) |
void | setNodeAttributes (const QOpcUaNodeCreationAttributes & nodeAttributes ) |
void | setNodeClass (const QOpcUa::NodeClass & nodeClass ) |
void | setParentNodeId (const QOpcUaExpandedNodeId & parentNodeId ) |
void | setReferenceTypeId (const QString & referenceTypeId ) |
void | setRequestedNewNodeId (const QOpcUaExpandedNodeId & requestedNewNodeId ) |
void | setTypeDefinition (const QOpcUaExpandedNodeId & typeDefinition ) |
QOpcUaExpandedNodeId | typeDefinition () const |
QOpcUaAddNodeItem & | operator= (const QOpcUaAddNodeItem & rhs ) |
另请参阅 QOpcUaClient::addNode ().
Default constructs an add node item with no parameters set.
Constructs a add node item from other .
Returns the browse name of the new node.
另请参阅 setBrowseName ().
Returns the values for the node attributes of the new node.
另请参阅 setNodeAttributes ().
Returns a reference to the values for the node attributes of the new node.
Returns the node class of the new node.
另请参阅 setNodeClass ().
Returns the parent node id.
另请参阅 setParentNodeId ().
Returns the reference type id.
另请参阅 setReferenceTypeId ().
Returns the requested new node id.
另请参阅 setRequestedNewNodeId ().
Sets the browse name of the new node to browseName .
另请参阅 browseName ().
Sets the values for the node attributes of the new node to nodeAttributes . Only the attributes supported by the node class of the new node will be used.
另请参阅 nodeAttributes ().
Sets the node class of the new node to nodeClass .
另请参阅 nodeClass ().
Sets the parent node id to parentNodeId . A reference of the type set in setReferenceTypeId () from this node to the newly added node will be created.
另请参阅 parentNodeId () 和 setReferenceTypeId ().
Sets the reference type id to referenceTypeId . A reference of this type will be used to connect the node to the parent node.
另请参阅 referenceTypeId ().
Sets the requested new node id to requestedNewNodeId .
另请参阅 requestedNewNodeId ().
Sets the node id of the type definition node to typeDefinition . This value shall be set if the node class is not Object or Variable.
另请参阅 typeDefinition ().
Returns the node id of the type definition node.
另请参阅 setTypeDefinition ().
Assigns the values from rhs to this add node item.