QDnsHostAddressRecord Class
QDnsHostAddressRecord クラスは、ホスト・アドレス・レコードに関する情報を格納します。詳細...
ヘッダ | #include <QDnsHostAddressRecord> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Network) target_link_libraries(mytarget PRIVATE Qt6::Network) |
qmake: | QT += network |
- 継承メンバを含む全メンバのリスト
- QDnsHostAddressRecord はNetwork Programming APIおよびImplicitly Shared Classes に含まれています。
パブリック関数
QDnsHostAddressRecord() | |
QDnsHostAddressRecord(const QDnsHostAddressRecord &other) | |
~QDnsHostAddressRecord() | |
QString | name() const |
void | swap(QDnsHostAddressRecord &other) |
quint32 | timeToLive() const |
QHostAddress | value() const |
QDnsHostAddressRecord & | operator=(const QDnsHostAddressRecord &other) |
QDnsLookupも参照してください 。
メンバ関数ドキュメント
QDnsHostAddressRecord::QDnsHostAddressRecord()
空のホスト・アドレス・レコード・オブジェクトを構築する。
QDnsHostAddressRecord::QDnsHostAddressRecord(const QDnsHostAddressRecord &other)
other のコピーを作成する。
[noexcept]
QDnsHostAddressRecord::~QDnsHostAddressRecord()
ホスト・アドレス・レコードを破棄する。
QString QDnsHostAddressRecord::name() const
このレコードの名前を返します。
[noexcept]
void QDnsHostAddressRecord::swap(QDnsHostAddressRecord &other)
このホスト・アドレス・レコード・インスタンスをother と交換する。この操作は非常に高速で、失敗することはない。
quint32 QDnsHostAddressRecord::timeToLive() const
このレコードの有効期間を秒単位で返します。
QHostAddress QDnsHostAddressRecord::value() const
このホスト・アドレス・レコードの値を返します。
QDnsHostAddressRecord &QDnsHostAddressRecord::operator=(const QDnsHostAddressRecord &other)
other オブジェクトのデータをこのレコードオブジェクトに代入し、その参照を返す。
© 2025 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.