#include <netaddress.h>
◆ CSubNet() [1/4]
◆ CSubNet() [2/4]
◆ CSubNet() [3/4]
◆ CSubNet() [4/4]
CSubNet::CSubNet |
( |
const CNetAddr & |
addr | ) |
|
|
explicit |
◆ IsValid()
bool CSubNet::IsValid |
( |
| ) |
const |
◆ Match()
bool CSubNet::Match |
( |
const CNetAddr & |
addr | ) |
const |
- Returns
- True if this subnet is valid, the specified address is valid, and the specified address belongs in this subnet.
◆ SerializationOp()
template<typename Stream , typename Operation >
void CSubNet::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action |
|
) |
| |
|
inline |
◆ ToString()
std::string CSubNet::ToString |
( |
| ) |
const |
◆ operator!=
◆ operator<
◆ operator==
◆ ADD_SERIALIZE_METHODS
CSubNet::ADD_SERIALIZE_METHODS |
◆ netmask
Netmask, in network byte order.
◆ network
◆ valid
Is this value valid? (only used to signal parse errors)
The documentation for this class was generated from the following files: