commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IpAddress Class Reference

Public Member Functions

 IpAddress ()
 
 IpAddress (unsigned long address)
 
 IpAddress (const AString &address)
 
 IpAddress (const in_addr &address)
 
 ~IpAddress ()
 
void clear ()
 
bool is_valid () const
 
bool set (const AString &address)
 
bool set (unsigned long address)
 
bool set (const in_addr &address)
 
long as_long () const
 
bool is_local () const
 
AString to_string () const
 
bool operator== (const IpAddress &other) const
 
bool operator< (const IpAddress &other) const
 

Static Public Member Functions

static size_t get_local_address_list (List< IpAddress > &addressList)
 

Constructor & Destructor Documentation

IpAddress::IpAddress ( )
IpAddress::IpAddress ( unsigned long  address)
IpAddress::IpAddress ( const AString address)
IpAddress::IpAddress ( const in_addr &  address)
IpAddress::~IpAddress ( )
inline

Member Function Documentation

long IpAddress::as_long ( ) const
void IpAddress::clear ( )
size_t IpAddress::get_local_address_list ( List< IpAddress > &  addressList)
static
bool IpAddress::is_local ( ) const
bool IpAddress::is_valid ( ) const
bool IpAddress::operator< ( const IpAddress other) const
bool IpAddress::operator== ( const IpAddress other) const
bool IpAddress::set ( const AString address)
bool IpAddress::set ( unsigned long  address)
bool IpAddress::set ( const in_addr &  address)
AString IpAddress::to_string ( ) const

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