The QOpcUaDiagnosticInfo class models the OPC UA built-in type DiagnosticInfo. More...
| Header: | #include <QOpcUaDiagnosticInfo> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| Since: | Qt 6.7 |
| QOpcUaDiagnosticInfo() | |
| QOpcUaDiagnosticInfo(const QOpcUaDiagnosticInfo &other) | |
| QOpcUaDiagnosticInfo(QOpcUaDiagnosticInfo &&other) | |
| ~QOpcUaDiagnosticInfo() | |
| QString | additionalInfo() const |
| bool | hasAdditionalInfo() const |
| bool | hasInnerDiagnosticInfo() const |
| bool | hasInnerStatusCode() const |
| bool | hasLocale() const |
| bool | hasLocalizedText() const |
| bool | hasNamespaceUri() const |
| bool | hasSymbolicId() const |
| QOpcUaDiagnosticInfo | innerDiagnosticInfo() const |
| QOpcUaDiagnosticInfo & | innerDiagnosticInfoRef() |
| QOpcUa::UaStatusCode | innerStatusCode() const |
| qint32 | locale() const |
| qint32 | localizedText() const |
| qint32 | namespaceUri() const |
| void | setAdditionalInfo(const QString &newAdditionalInfo) |
| void | setHasAdditionalInfo(bool newHasAdditionalInfo) |
| void | setHasInnerDiagnosticInfo(bool newHasInnerDiagnosticInfo) |
| void | setHasInnerStatusCode(bool newHasInnerStatusCode) |
| void | setHasLocale(bool newHasLocale) |
| void | setHasLocalizedText(bool newHasLocalizedText) |
| void | setHasNamespaceUri(bool newHasNamespaceUri) |
| void | setHasSymbolicId(bool newHasSymbolicId) |
| void | setInnerDiagnosticInfo(const QOpcUaDiagnosticInfo &newInnerDiagnosticInfo) |
| void | setInnerStatusCode(QOpcUa::UaStatusCode newInnerStatusCode) |
| void | setLocale(qint32 newLocale) |
| void | setLocalizedText(qint32 newLocalizedText) |
| void | setNamespaceUri(qint32 newNamespaceUri) |
| void | setSymbolicId(qint32 newSymbolicId) |
| void | swap(QOpcUaDiagnosticInfo &other) |
| qint32 | symbolicId() const |
| QVariant | operator QVariant() const |
| QOpcUaDiagnosticInfo & | operator=(QOpcUaDiagnosticInfo &&other) |
| QOpcUaDiagnosticInfo & | operator=(const QOpcUaDiagnosticInfo &rhs) |
| bool | operator!=(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs) |
| bool | operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo &rhs) |
The DiagnosticInfo type is used to convey diagnostics for some operations on the server. The qint32 type members refer to an index in the stringTable field of the OPC UA response header which is currently not supported by Qt OPC UA.
Constructs a diagnostic info.
Constructs a diagnostic info from other.
[noexcept] QOpcUaDiagnosticInfo::QOpcUaDiagnosticInfo(QOpcUaDiagnosticInfo &&other)Move-constructs a new diagnostic info from other.
Note: The moved-from object other is placed in a partially-formed state, in which the only valid operations are destruction and assignment of a new value.
[noexcept] QOpcUaDiagnosticInfo::~QOpcUaDiagnosticInfo()Destroys this diagnostic info object.
Returns the additional information of this diagnostic info.
See also setAdditionalInfo().
Returns true if this diagnostic info has additional information.
See also setHasAdditionalInfo().
Returns true if this diagnostic info has an inner diagnostic info.
See also setHasInnerDiagnosticInfo().
Returns true if this diagnostic info has an inner status code.
See also setHasInnerStatusCode().
Returns true if this diagnostic info has a locale.
See also setHasLocale().
Returns true if this diagnostic info has a localized text.
See also setHasLocalizedText().
Returns true if this diagnostic info has a namespace URI.
See also setHasNamespaceUri().
Returns true if this diagnostic info has a symbolic id.
See also setHasSymbolicId().
Returns the inner diagnostic info of this diagnostic info.
See also setInnerDiagnosticInfo().
Returns a reference to the inner diagnostic info of this diagnostic info.
Returns the inner status code of this diagnostic info.
See also setInnerStatusCode().
Returns the locale of this diagnostic info.
See also setLocale().
Returns the localized text of this diagnostic info.
See also setLocalizedText().
Returns the namespace URI of this diagnostic info.
See also setNamespaceUri().
Sets the additional information of this diagnostic info to newAdditionalInfo.
See also additionalInfo().
Sets the information whether this diagnostic info has additional information to newHasAdditionalInfo.
See also hasAdditionalInfo().
Sets the information whether this diagnostic info has an inner diagnostic info to newHasInnerDiagnosticInfo.
See also hasInnerDiagnosticInfo().
Sets the information whether this diagnostic info has an inner status code to newHasInnerStatusCode.
See also hasInnerStatusCode().
Sets the information whether this diagnostic info has a locale to newHasLocale.
See also hasLocale().
Sets the information whether this diagnostic info has a localized text to newHasLocalizedText.
See also hasLocalizedText().
Sets the information whether this diagnostic info has a namespace URI to newHasNamespaceUri.
See also hasNamespaceUri().
Sets the information whether this diagnostic info has a symbolic id to newHasSymbolicId.
See also hasSymbolicId().
Sets the inner diagnostic info of this diagnostic info to newInnerDiagnosticInfo.
See also innerDiagnosticInfo().
Sets the inner status code of this diagnostic info to newInnerStatusCode.
See also innerStatusCode().
Sets the locale of this diagnostic info to newLocale.
See also locale().
Sets the localized text of this diagnostic info to newLocalizedText.
See also localizedText().
Sets the namespace URI of this diagnostic info to newNamespaceUri.
See also namespaceUri().
Sets the symbolic id of this diagnostic info to newSymbolicId.
See also symbolicId().
[noexcept] void QOpcUaDiagnosticInfo::swap(QOpcUaDiagnosticInfo &other)Swaps diagnostic info object other with this diagnostic info object. This operation is very fast and never fails.
Returns the symbolic id of this diagnostic info.
See also setSymbolicId().
Returns a QVariant containing this diagnostic info.
[noexcept] QOpcUaDiagnosticInfo
&QOpcUaDiagnosticInfo::operator=(QOpcUaDiagnosticInfo &&other)Move-assigns other to this QOpcUaDiagnosticInfo instance.
Note: The moved-from object other is placed in a partially-formed state, in which the only valid operations are destruction and assignment of a new value.
Sets the value of rhs in this diagnostic info.
[noexcept] bool operator!=(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo
&rhs)Returns true if lhs is not equal to rhs.
[noexcept] bool operator==(const QOpcUaDiagnosticInfo &lhs, const QOpcUaDiagnosticInfo
&rhs)Returns true if lhs is equal to rhs.