Public Types | |
enum | AddressType { IPv4 = 0, IPv6 } |
Public Member Functions | |
CP_NetworkAddress (void) | |
Constructor. | |
CP_NetworkAddress (UInt32 inIPAddress) | |
Constructor. | |
CP_NetworkAddress (const CP_String &inIPAddress) | |
Constructor. | |
UInt32 | GetIPv4Address (void) const |
returns an IPv4Address as an UInt32 | |
AddressType | GetAddressType (void) const |
CP_String | AsString (void) const |
returns an IPv4Address as a string | |
bool | operator< (const CP_NetworkAddress &inRhs) const |
bool | operator<= (const CP_NetworkAddress &inRhs) const |
bool | operator> (const CP_NetworkAddress &inRhs) const |
bool | operator>= (const CP_NetworkAddress &inRhs) const |
bool | operator== (const CP_NetworkAddress &inRhs) const |
bool | operator!= (const CP_NetworkAddress &inRhs) const |
CP_NetworkAddress | operator & (const CP_NetworkAddress &inRhs) const |
Static Public Attributes | |
static const CP_NetworkAddress | null |
Protected Attributes | |
UInt32 | fIPAddress_v4 |
AddressType | fAddressType |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|