The QDnsHostAddressRecord class stores information about a host address record. 更多...
头: | #include <QDnsHostAddressRecord> |
qmake: | QT += network |
QDnsHostAddressRecord () | |
QDnsHostAddressRecord (const QDnsHostAddressRecord & other ) | |
~QDnsHostAddressRecord () | |
QString | name () const |
void | swap (QDnsHostAddressRecord & other ) |
quint32 | timeToLive () const |
QHostAddress | value () const |
QDnsHostAddressRecord & | operator= (QDnsHostAddressRecord && other ) |
QDnsHostAddressRecord & | operator= (const QDnsHostAddressRecord & other ) |
The QDnsHostAddressRecord class stores information about a host address record.
When performing an address lookup, zero or more records will be returned. Each record is represented by a QDnsHostAddressRecord 实例。
另请参阅 QDnsLookup .
构造空的主机地址记录对象。
构造副本为 other .
销毁主机地址记录。
返回此记录的名称。
交换此主机地址记录实例与 other 。此函数非常快且从不失败。
返回此记录有效的持续时间 (以秒为单位)。
返回此主机地址记录的值。
移动赋值运算符。
赋值数据源于 other 对象到此记录对象,并返回它的引用。