QDnsTextRecord Class
QDnsTextRecord クラスは、DNS TXT レコードに関する情報を格納します。詳細...
| ヘッダー: | #include <QDnsTextRecord> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Network) target_link_libraries(mytarget PRIVATE Qt6::Network) |
| qmake: | QT += network |
- 継承されたメンバーを含むすべてのメンバーの一覧
- QDnsTextRecordは、ネットワークプログラミングAPIおよび暗黙的に共有されるクラスの一部です。
パブリック関数
| QDnsTextRecord() | |
| QDnsTextRecord(const QDnsTextRecord &other) | |
| ~QDnsTextRecord() | |
| QString | name() const |
| void | swap(QDnsTextRecord &other) |
| quint32 | timeToLive() const |
| QList<QByteArray> | values() const |
| QDnsTextRecord & | operator=(const QDnsTextRecord &other) |
詳細な説明
テキスト検索を実行すると、0 個以上のレコードが返されます。各レコードは、QDnsTextRecord インスタンスによって表されます。
各フィールドの意味は、RFC 1035 で定義されています。
QDnsLookupも参照してください 。
メンバ関数のドキュメント
QDnsTextRecord::QDnsTextRecord()
空のテキストレコードオブジェクトを作成します。
QDnsTextRecord::QDnsTextRecord(const QDnsTextRecord &other)
other のコピーを作成します。
[noexcept] QDnsTextRecord::~QDnsTextRecord()
テキストレコードを削除します。
QString QDnsTextRecord::name() const
このテキストレコードの名前を返します。
[noexcept] void QDnsTextRecord::swap(QDnsTextRecord &other)
このテキストレコードのインスタンスをother と入れ替えます。この操作は非常に高速で、失敗することはありません。
quint32 QDnsTextRecord::timeToLive() const
このレコードが有効である期間を秒単位で返します。
QList<QByteArray> QDnsTextRecord::values() const
このテキストレコードの値を返します。
QDnsTextRecord &QDnsTextRecord::operator=(const QDnsTextRecord &other)
other オブジェクトのデータをこのレコードオブジェクトに代入し、その参照を返します。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.