This class stores the necessary information to create a new node on the server. More...
Header: | #include <QOpcUaAddNodeItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaAddNodeItem(const QOpcUaAddNodeItem &other) | |
QOpcUaAddNodeItem & | operator=(const QOpcUaAddNodeItem &rhs) |
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 |
See also QOpcUaClient::addNode().
Constructs a add node item from other.
Assigns the values from rhs to this add node item.
Returns the browse name of the new node.
See also setBrowseName().
Returns the values for the node attributes of the new node.
See also setNodeAttributes().
Returns a reference to the values for the node attributes of the new node.
Returns the node class of the new node.
See also setNodeClass().
Returns the parent node id.
See also setParentNodeId().
Returns the reference type id.
See also setReferenceTypeId().
Returns the requested new node id.
See also setRequestedNewNodeId().
Sets the browse name of the new node to browseName.
See also 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.
See also nodeAttributes().
Sets the node class of the new node to nodeClass.
See also 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.
See also parentNodeId() and setReferenceTypeId().
Sets the reference type id to referenceTypeId. A reference of this type will be used to connect the node to the parent node.
See also referenceTypeId().
Sets the requested new node id to requestedNewNodeId.
See also 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.
See also typeDefinition().
Returns the node id of the type definition node.
See also setTypeDefinition().