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()
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 객체의 데이터를 이 레코드 객체에 할당하고 이에 대한 참조를 반환합니다.

© 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.