Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_NetworkAddress Class Reference

List of all members.

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

Member Enumeration Documentation

enum CP_NetworkAddress::AddressType
 

Enumeration values:
IPv4 
IPv6 


Constructor & Destructor Documentation

CP_NetworkAddress::CP_NetworkAddress void   ) 
 

Exceptions:
OSError 

CP_NetworkAddress::CP_NetworkAddress UInt32  inIPAddress  ) 
 

Exceptions:
OSError 
Parameters:
inIPAddress a IPv4 address

CP_NetworkAddress::CP_NetworkAddress const CP_String inIPAddress  ) 
 

Exceptions:
OSError 
Parameters:
inIPAddress a string containing a IPv4 address


Member Function Documentation

UInt32 CP_NetworkAddress::GetIPv4Address void   )  const
 

Returns:
UInt32 the IPv4Address

AddressType CP_NetworkAddress::GetAddressType void   )  const
 

CP_String CP_NetworkAddress::AsString void   )  const
 

Returns:
CP_String the IPv4Address as a string

bool CP_NetworkAddress::operator< const CP_NetworkAddress inRhs  )  const
 

bool CP_NetworkAddress::operator<= const CP_NetworkAddress inRhs  )  const
 

bool CP_NetworkAddress::operator> const CP_NetworkAddress inRhs  )  const
 

bool CP_NetworkAddress::operator>= const CP_NetworkAddress inRhs  )  const
 

bool CP_NetworkAddress::operator== const CP_NetworkAddress inRhs  )  const
 

bool CP_NetworkAddress::operator!= const CP_NetworkAddress inRhs  )  const
 

CP_NetworkAddress CP_NetworkAddress::operator & const CP_NetworkAddress inRhs  )  const
 


Member Data Documentation

CPLAT_Begin_Namespace_CPLAT const CP_NetworkAddress CP_NetworkAddress::null [static]
 

UInt32 CP_NetworkAddress::fIPAddress_v4 [protected]
 

AddressType CP_NetworkAddress::fAddressType [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:54 2005 for CPLAT by  doxygen 1.4.0