![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qhostaddress_p.h>
Public Member Functions | |
void | setAddress (quint32 a_=0) |
void | setAddress (const quint8 *a_) |
void | setAddress (const Q_IPV6ADDR &a_) |
bool | parse (const QString &ipString) |
void | clear () |
AddressClassification | classify () const |
Public Member Functions inherited from QSharedData | |
QSharedData () noexcept | |
Constructs a QSharedData object with a reference count of 0. | |
QSharedData (const QSharedData &) noexcept | |
Constructs a QSharedData object with reference count 0. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default |
Static Public Member Functions | |
static AddressClassification | classify (const QHostAddress &address) |
Public Attributes | |
QString | scopeId |
union { | |
Q_IPV6ADDR a6 = {} | |
struct { | |
quint64 c [2] | |
} a6_64 | |
struct { | |
quint32 c [4] | |
} a6_32 | |
}; | |
quint32 | a = 0 |
qint8 | protocol = QHostAddress::UnknownNetworkLayerProtocol |
Public Attributes inherited from QSharedData | |
QAtomicInt | ref |
Friends | |
class | QHostAddress |
Definition at line 69 of file qhostaddress_p.h.
AddressClassification QHostAddressPrivate::classify | ( | ) | const |
Definition at line 150 of file qhostaddress.cpp.
|
inlinestatic |
Definition at line 90 of file qhostaddress_p.h.
void QHostAddressPrivate::clear | ( | ) |
Definition at line 143 of file qhostaddress.cpp.
bool QHostAddressPrivate::parse | ( | const QString & | ipString | ) |
Definition at line 118 of file qhostaddress.cpp.
References setAddress().
void QHostAddressPrivate::setAddress | ( | const Q_IPV6ADDR & | a_ | ) |
Definition at line 100 of file qhostaddress.cpp.
References setAddress().
Referenced by parse(), and setAddress().
Definition at line 91 of file qhostaddress.cpp.
QT_BEGIN_NAMESPACE void QHostAddressPrivate::setAddress | ( | quint32 | a_ = 0 | ) |
Definition at line 41 of file qhostaddress.cpp.
|
friend |
Definition at line 93 of file qhostaddress_p.h.
union { ... } QHostAddressPrivate |
quint32 QHostAddressPrivate::a = 0 |
Definition at line 86 of file qhostaddress_p.h.
Q_IPV6ADDR QHostAddressPrivate::a6 = {} |
Definition at line 82 of file qhostaddress_p.h.
struct { ... } QHostAddressPrivate::a6_32 |
struct { ... } QHostAddressPrivate::a6_64 |
quint64 QHostAddressPrivate::c[2] |
Definition at line 83 of file qhostaddress_p.h.
quint32 QHostAddressPrivate::c[4] |
Definition at line 84 of file qhostaddress_p.h.
qint8 QHostAddressPrivate::protocol = QHostAddress::UnknownNetworkLayerProtocol |
Definition at line 87 of file qhostaddress_p.h.
QString QHostAddressPrivate::scopeId |
Definition at line 79 of file qhostaddress_p.h.