QOpcUaApplicationRecordDataType 类

OPC UA ApplicationRecordDataType。 更多...

头: #include <QOpcUaApplicationRecordDataType>
qmake: QT += opcua
Since: Qt 5.14

该类在 Qt 5.14 引入。

公共函数

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

详细描述

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.

成员函数文档编制

QOpcUaApplicationRecordDataType:: QOpcUaApplicationRecordDataType (const QOpcUaApplicationRecordDataType & rhs )

Constructs an ApplicationRecordDataType from rhs .

QOpcUaApplicationRecordDataType:: QOpcUaApplicationRecordDataType ()

构造默认 ApplicationRecordDataType。

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

设置值从 rhs in this ApplicationRecordDataType.

QOpcUaApplicationRecordDataType:: ~QOpcUaApplicationRecordDataType ()

销毁 ApplicationRecordDataType。

const QString &QOpcUaApplicationRecordDataType:: applicationId () const

返回应用程序 ID。

另请参阅 setApplicationId ().

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

Returns the localized application names.

另请参阅 setApplicationNames ().

QOpcUaApplicationDescription::ApplicationType QOpcUaApplicationRecordDataType:: applicationType () const

Returns the application type.

另请参阅 setApplicationType ().

const QString &QOpcUaApplicationRecordDataType:: applicationUri () const

Returns the application URI.

另请参阅 setApplicationUri ().

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

Returns the discovery URLs.

另请参阅 setDiscoveryUrls ().

const QString &QOpcUaApplicationRecordDataType:: productUri () const

Returns the product URI.

另请参阅 setProductUri ().

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

Returns the server capability identifiers.

另请参阅 setServerCapabilityIdentifiers ().

void QOpcUaApplicationRecordDataType:: setApplicationId (const QString & applicationId )

Sets the application id to applicationId .

另请参阅 applicationId ().

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

Sets the localized application names to applicationNames .

另请参阅 applicationNames ().

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

将应用程序类型设为 applicationType .

另请参阅 applicationType ().

void QOpcUaApplicationRecordDataType:: setApplicationUri (const QString & applicationUri )

Sets the application URI to applicationUri .

另请参阅 applicationUri ().

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

将探索 URL 设为 discoverUrls .

另请参阅 discoveryUrls ().

void QOpcUaApplicationRecordDataType:: setProductUri (const QString & productUri )

将产品 URI (统一资源标识符) 设为 productUri .

另请参阅 productUri ().

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

Sets the server capability identifiers to serverCapabilityIdentifiers .

另请参阅 serverCapabilityIdentifiers ().

QVariant QOpcUaApplicationRecordDataType:: operator QVariant () const

Converts this ApplicationRecordDataType to QVariant .

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

返回 true if this ApplicationRecordDataType has the same values as rhs .