IPv4 or IPv6 address.  
 More...
#include <axcel.h>
List of all members.
Detailed Description
IPv4 or IPv6 address. 
Definition at line 873 of file axcel.h.
Constructor & Destructor Documentation
      
        
          | axcel::net::ipaddr::ipaddr | ( | const char * | s = "127.0.0.1" | ) |  | 
      
 
 
      
        
          | axcel::net::ipaddr::ipaddr | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | axcel::net::ipaddr::ipaddr | ( | struct in6_addr * | s | ) |  | 
      
 
 
Member Function Documentation
      
        
          | axcel::net::ipaddr::operator string | ( |  | ) |  [virtual] | 
      
 
Convert to string. 
- Returns:
- Suitable string representation of object's data 
Implements axcel::object.
Definition at line 4049 of file axcel.cpp.
 
 
      
        
          | bool axcel::net::ipaddr::operator!= | ( | const char * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator!= | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator!= | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator< | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator< | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator< | ( | const char * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator<= | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator<= | ( | const char * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator<= | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | net::ipaddr & axcel::net::ipaddr::operator= | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | net::ipaddr & axcel::net::ipaddr::operator= | ( | const char * | s | ) |  | 
      
 
Assign IP address or hostname. 
- Parameters:
- 
  
    | s | string containing representation of IP address or a hostname |  
 
Assigns the string representation of an IPv4 or IPv6 address to this object. If s is a hostname, then it's IP address is resolved first and then assigned. 
Definition at line 4159 of file axcel.cpp.
 
 
      
        
          | net::ipaddr & axcel::net::ipaddr::operator= | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator== | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator== | ( | const char * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator== | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator> | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator> | ( | const char * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator> | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator>= | ( | const char * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator>= | ( | struct in_addr * | s | ) |  | 
      
 
 
      
        
          | bool axcel::net::ipaddr::operator>= | ( | struct in6_addr * | s | ) |  | 
      
 
 
      
        
          | string axcel::net::ipaddr::type | ( |  | ) |  [virtual] | 
      
 
Get type of object. 
- Returns:
- string containing name of object's class. 
Implements axcel::object.
Definition at line 4048 of file axcel.cpp.
 
 
Member Data Documentation
The documentation for this class was generated from the following files: