Contains parameters for a call to the OPC UA browse service. More...
Header: | #include <QOpcUaBrowseRequest> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
enum class | BrowseDirection { Forward, Inverse, Both } |
QOpcUaBrowseRequest(const QOpcUaBrowseRequest &other) | |
QOpcUaBrowseRequest & | operator=(const QOpcUaBrowseRequest &rhs) |
QOpcUaBrowseRequest::BrowseDirection | browseDirection() const |
bool | includeSubtypes() const |
QOpcUa::NodeClasses | nodeClassMask() const |
QString | referenceTypeId() const |
void | setBrowseDirection(const QOpcUaBrowseRequest::BrowseDirection &browseDirection) |
void | setIncludeSubtypes(bool includeSubtypes) |
void | setNodeClassMask(const QOpcUa::NodeClasses &nodeClassMask) |
void | setReferenceTypeId(const QString &referenceTypeId) |
void | setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId) |
See also QOpcUaNode::browse().
This enum specifies the possible browse directions supported by a browse call.
Constant | Value | Description |
---|---|---|
QOpcUaBrowseRequest::BrowseDirection::Forward |
0 |
Follow references in the forward direction. |
QOpcUaBrowseRequest::BrowseDirection::Inverse |
1 |
Follow references in the inverse direction. |
QOpcUaBrowseRequest::BrowseDirection::Both |
2 |
Follow references in both directions. |
Creates a browse request from other.
Sets the values from rhs in this browse request.
Returns the browse direction.
See also setBrowseDirection().
Returns true if subtypes of the reference type will be retrieved too.
See also setIncludeSubtypes().
Returns the node class mask.
See also setNodeClassMask().
Returns the reference type id.
See also setReferenceTypeId().
Sets the browse direction to browseDirection.
See also browseDirection().
Sets the inclusion of subtypes of the reference type to includeSubtypes.
See also includeSubtypes().
Sets the node class mask to nodeClassMask. Nodes of all classes included into the node class mask will be returned by the browse operation.
See also nodeClassMask().
Sets the reference type id to referenceTypeId.
See also referenceTypeId().
Sets the reference type id to referenceTypeId.