QDnsHostAddressRecord Class
QDnsHostAddressRecord 클래스는 호스트 주소 레코드에 대한 정보를 저장합니다. 더 보기...
헤더: | #include <QDnsHostAddressRecord> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Network) target_link_libraries(mytarget PRIVATE Qt6::Network) |
qmake: | QT += network |
- 상속된 멤버를 포함한 모든 멤버 목록
- QDnsHostAddressRecord는 네트워크 프로그래밍 API와 암시적으로 공유되는 클래스의 일부입니다.
공용 함수
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.