QOpcUaApplicationRecordDataType Class

The OPC UA ApplicationRecordDataType. More...

Header: #include <QOpcUaApplicationRecordDataType>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Public Functions

QOpcUaApplicationRecordDataType()
QOpcUaApplicationRecordDataType(const QOpcUaApplicationRecordDataType &rhs)
~QOpcUaApplicationRecordDataType()
const QString &applicationId() const
const QList<QOpcUaLocalizedText> &applicationNames() const
QOpcUaApplicationDescription::ApplicationType applicationType() const
const QString &applicationUri() const
const QList<QString> &discoveryUrls() const
const QString &productUri() const
const QList<QString> &serverCapabilityIdentifiers() const
void setApplicationId(const QString &applicationId)
void setApplicationNames(const QList<QOpcUaLocalizedText> &applicationNames)
void setApplicationType(QOpcUaApplicationDescription::ApplicationType applicationType)
void setApplicationUri(const QString &applicationUri)
void setDiscoveryUrls(const QList<QString> &discoveryUrls)
void setProductUri(const QString &productUri)
void setServerCapabilityIdentifiers(const QList<QString> &serverCapabilityIdentifiers)
QVariant operator QVariant() const
QOpcUaApplicationRecordDataType &operator=(const QOpcUaApplicationRecordDataType &rhs)
bool operator==(const QOpcUaApplicationRecordDataType &rhs) const

Detailed Description

This class is currently available as a Technology Preview, and therefore the API and functionality provided by the class may be subject to change at any time without prior notice.

This is the Qt OPC UA representation for the OPC UA ApplicationRecordDataType type defined in OPC UA version 1.05 part 12, 6.6.5. It is used to represent a record in the GDS.

Member Function Documentation

QOpcUaApplicationRecordDataType::QOpcUaApplicationRecordDataType()

Constructs a default ApplicationRecordDataType.

QOpcUaApplicationRecordDataType::QOpcUaApplicationRecordDataType(const QOpcUaApplicationRecordDataType &rhs)

Constructs an ApplicationRecordDataType from rhs.

[noexcept] QOpcUaApplicationRecordDataType::~QOpcUaApplicationRecordDataType()

Destructs an ApplicationRecordDataType.

const QString &QOpcUaApplicationRecordDataType::applicationId() const

Returns the application id.

See also setApplicationId().

const QList<QOpcUaLocalizedText> &QOpcUaApplicationRecordDataType::applicationNames() const

Returns the localized application names.

See also setApplicationNames().

QOpcUaApplicationDescription::ApplicationType QOpcUaApplicationRecordDataType::applicationType() const

Returns the application type.

See also setApplicationType().

const QString &QOpcUaApplicationRecordDataType::applicationUri() const

Returns the application URI.

See also setApplicationUri().

const QList<QString> &QOpcUaApplicationRecordDataType::discoveryUrls() const

Returns the discovery URLs.

See also setDiscoveryUrls().

const QString &QOpcUaApplicationRecordDataType::productUri() const

Returns the product URI.

See also setProductUri().

const QList<QString> &QOpcUaApplicationRecordDataType::serverCapabilityIdentifiers() const

Returns the server capability identifiers.

See also setServerCapabilityIdentifiers().

void QOpcUaApplicationRecordDataType::setApplicationId(const QString &applicationId)

Sets the application id to applicationId.

See also applicationId().

void QOpcUaApplicationRecordDataType::setApplicationNames(const QList<QOpcUaLocalizedText> &applicationNames)

Sets the localized application names to applicationNames.

See also applicationNames().

void QOpcUaApplicationRecordDataType::setApplicationType(QOpcUaApplicationDescription::ApplicationType applicationType)

Sets the application type to applicationType.

See also applicationType().

void QOpcUaApplicationRecordDataType::setApplicationUri(const QString &applicationUri)

Sets the application URI to applicationUri.

See also applicationUri().

void QOpcUaApplicationRecordDataType::setDiscoveryUrls(const QList<QString> &discoveryUrls)

Sets the discovery URLs to discoveryUrls.

See also discoveryUrls().

void QOpcUaApplicationRecordDataType::setProductUri(const QString &productUri)

Sets the product URI to productUri.

See also productUri().

void QOpcUaApplicationRecordDataType::setServerCapabilityIdentifiers(const QList<QString> &serverCapabilityIdentifiers)

Sets the server capability identifiers to serverCapabilityIdentifiers.

See also serverCapabilityIdentifiers().

QVariant QOpcUaApplicationRecordDataType::operator QVariant() const

Converts this ApplicationRecordDataType to QVariant.

QOpcUaApplicationRecordDataType &QOpcUaApplicationRecordDataType::operator=(const QOpcUaApplicationRecordDataType &rhs)

Sets the values from rhs in this ApplicationRecordDataType.

bool QOpcUaApplicationRecordDataType::operator==(const QOpcUaApplicationRecordDataType &rhs) const

Returns true if this ApplicationRecordDataType has the same values as rhs.