Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QNetmask Class Reference

#include <qhostaddress_p.h>

Collaboration diagram for QNetmask:

Public Member Functions

constexpr QNetmask ()
bool setAddress (const QHostAddress &address)
QHostAddress address (QAbstractSocket::NetworkLayerProtocol protocol) const
int prefixLength () const
void setPrefixLength (QAbstractSocket::NetworkLayerProtocol proto, int len)

Friends

bool operator== (QNetmask n1, QNetmask n2)

Detailed Description

Definition at line 41 of file qhostaddress_p.h.

Constructor & Destructor Documentation

◆ QNetmask()

QNetmask::QNetmask ( )
inlineconstexpr

Definition at line 46 of file qhostaddress_p.h.

Member Function Documentation

◆ address()

QHostAddress QNetmask::address ( QAbstractSocket::NetworkLayerProtocol protocol) const

Definition at line 306 of file qhostaddress.cpp.

◆ prefixLength()

int QNetmask::prefixLength ( ) const
inline

Definition at line 51 of file qhostaddress_p.h.

◆ setAddress()

bool QNetmask::setAddress ( const QHostAddress & address)

Definition at line 224 of file qhostaddress.cpp.

◆ setPrefixLength()

void QNetmask::setPrefixLength ( QAbstractSocket::NetworkLayerProtocol proto,
int len )
inline

Definition at line 52 of file qhostaddress_p.h.

◆ operator==

bool operator== ( QNetmask n1,
QNetmask n2 )
friend

Definition at line 65 of file qhostaddress_p.h.


The documentation for this class was generated from the following files: