QOpcUaApplicationRecordDataType 类

OPC UA ApplicationRecordDataType。 更多...

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

公共函数

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

详细描述

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.

成员函数文档编制

QOpcUaApplicationRecordDataType:: QOpcUaApplicationRecordDataType ()

构造默认 ApplicationRecordDataType。

QOpcUaApplicationRecordDataType:: QOpcUaApplicationRecordDataType (const QOpcUaApplicationRecordDataType & rhs )

Constructs an ApplicationRecordDataType from rhs .

[noexcept] QOpcUaApplicationRecordDataType:: ~QOpcUaApplicationRecordDataType ()

销毁 ApplicationRecordDataType。

const QString &QOpcUaApplicationRecordDataType:: applicationId () const

返回应用程序 ID。

另请参阅 setApplicationId ().

const QList < 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 QList < QString > &QOpcUaApplicationRecordDataType:: discoveryUrls () const

Returns the discovery URLs.

另请参阅 setDiscoveryUrls ().

const QString &QOpcUaApplicationRecordDataType:: productUri () const

Returns the product URI.

另请参阅 setProductUri ().

const QList < 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 QList < 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 QList < QString > & discoveryUrls )

将探索 URL 设为 discoveryUrls .

另请参阅 discoveryUrls ().

void QOpcUaApplicationRecordDataType:: setProductUri (const QString & productUri )

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

另请参阅 productUri ().

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

Sets the server capability identifiers to serverCapabilityIdentifiers .

另请参阅 serverCapabilityIdentifiers ().

QVariant QOpcUaApplicationRecordDataType:: operator QVariant () const

Converts this ApplicationRecordDataType to QVariant .

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

设置值从 rhs in this ApplicationRecordDataType.

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

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