![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QDnsHostAddressRecord class stores information about a host address record. More...
#include <qdnslookup.h>
Public Member Functions | |
| QDnsHostAddressRecord () | |
| Constructs an empty host address record object. | |
| QDnsHostAddressRecord (const QDnsHostAddressRecord &other) | |
| Constructs a copy of other. | |
| QDnsHostAddressRecord & | operator= (QDnsHostAddressRecord &&other) noexcept |
| QDnsHostAddressRecord & | operator= (const QDnsHostAddressRecord &other) |
| Assigns the data of the other object to this record object, and returns a reference to it. | |
| ~QDnsHostAddressRecord () | |
| Destroys a host address record. | |
| void | swap (QDnsHostAddressRecord &other) noexcept |
| \memberswap{host address record instance} | |
| QString | name () const |
| Returns the name for this record. | |
| quint32 | timeToLive () const |
| Returns the duration in seconds for which this record is valid. | |
| QHostAddress | value () const |
| Returns the value for this host address record. | |
Friends | |
| class | QDnsLookupRunnable |
The QDnsHostAddressRecord class stores information about a host address record.
\inmodule QtNetwork
When performing an address lookup, zero or more records will be returned. Each record is represented by a QDnsHostAddressRecord instance.
Definition at line 53 of file qdnslookup.h.
| QDnsHostAddressRecord::QDnsHostAddressRecord | ( | ) |
Constructs an empty host address record object.
Definition at line 911 of file qdnslookup.cpp.
| QDnsHostAddressRecord::QDnsHostAddressRecord | ( | const QDnsHostAddressRecord & | other | ) |
Constructs a copy of other.
Definition at line 920 of file qdnslookup.cpp.
| QDnsHostAddressRecord::~QDnsHostAddressRecord | ( | ) |
Destroys a host address record.
Definition at line 929 of file qdnslookup.cpp.
| QString QDnsHostAddressRecord::name | ( | ) | const |
Returns the name for this record.
Definition at line 937 of file qdnslookup.cpp.
| QDnsHostAddressRecord & QDnsHostAddressRecord::operator= | ( | const QDnsHostAddressRecord & | other | ) |
Assigns the data of the other object to this record object, and returns a reference to it.
Definition at line 965 of file qdnslookup.cpp.
|
inlinenoexcept |
Definition at line 58 of file qdnslookup.h.
|
inlinenoexcept |
\memberswap{host address record instance}
Definition at line 62 of file qdnslookup.h.
| quint32 QDnsHostAddressRecord::timeToLive | ( | ) | const |
Returns the duration in seconds for which this record is valid.
Definition at line 946 of file qdnslookup.cpp.
| QHostAddress QDnsHostAddressRecord::value | ( | ) | const |
Returns the value for this host address record.
Definition at line 955 of file qdnslookup.cpp.
|
friend |
Definition at line 70 of file qdnslookup.h.