QOpcUaApplicationRecordDataType Class | Qt OPC UA 6.4.1

- Qt 6.4
- Qt OPC UA
- C++ Classes
- QOpcUaApplicationRecordDataType
- Qt 6.4.1 Reference Documentation

# 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
Since: | Qt 5.14

- List of all members, including inherited members

## Public Functions

| QOpcUaApplicationRecordDataType(const QOpcUaApplicationRecordDataType &rhs)
| QOpcUaApplicationRecordDataType()
QOpcUaApplicationRecordDataType & | operator=(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
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.04 part 12, 6.3.5. It is used to represent a record in the GDS.

## Member Function Documentation

### QOpcUaApplicationRecordDataType::QOpcUaApplicationRecordDataType(const QOpcUaApplicationRecordDataType &rhs)

Constructs an ApplicationRecordDataType from rhs.

### QOpcUaApplicationRecordDataType::QOpcUaApplicationRecordDataType()

Constructs a default ApplicationRecordDataType.

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

Sets the values from rhs in this ApplicationRecordDataType.

### 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.

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

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