QDnsTextRecord 類存儲有關 DNS TXT 記錄的信息。 更多...
| 頭: |
#include <QDnsTextRecord>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Network)
target_link_libraries(mytarget PRIVATE Qt6::Network)
|
| qmake: |
QT += network
|
| QDnsTextRecord () | |
| QDnsTextRecord (const QDnsTextRecord & other ) | |
| ~QDnsTextRecord () | |
| QString | name () const |
| void | swap (QDnsTextRecord & other ) |
| quint32 | timeToLive () const |
| QList<QByteArray> | 值 () const |
| QDnsTextRecord & | operator= (const QDnsTextRecord & other ) |
當履行文本查找時,將返迴零條或多條記錄。每條記錄由 QDnsTextRecord 實例進行錶示。
字段含義的定義在 RFC 1035 .
另請參閱 QDnsLookup .
構造空的文本記錄對象。
構造副本為 other .
[noexcept]
QDnsTextRecord::
~QDnsTextRecord
()
銷毀文本記錄。
返迴此文本記錄的名稱。
[noexcept]
void
QDnsTextRecord::
swap
(
QDnsTextRecord
&
other
)
交換此文本記錄實例與 other 。此操作很快且從不失敗。
返迴此記錄有效的持續時間 (以秒為單位)。
返迴此文本記錄的值。
賦值數據源於 other 對象到此記錄對象,並返迴它的引用。