Public Types | |
|
typedef std::shared_ptr < IPv4Address > | shared |
| typedef IPv4Address * | ptr |
Public Types inherited from sella::net::IPAddress | |
|
typedef std::shared_ptr < IPAddress > | shared |
| typedef IPAddress * | ptr |
| typedef std::list< IPAddress > | list |
| typedef std::list< ptr > | ptr_list |
| typedef std::list< shared > | shared_list |
|
typedef std::forward_list < IPAddress > | flist |
| typedef std::forward_list< ptr > | ptr_flist |
| typedef std::forward_list< shared > | shared_flist |
| typedef std::vector< IPAddress > | vector |
| typedef std::vector< ptr > | ptr_vector |
| typedef std::vector< shared > | shared_vector |
|
typedef std::unordered_set < IPAddress, hash > | uset |
|
typedef std::unordered_set < ptr, ptr_hash, ptr_eq > | ptr_uset |
|
typedef std::unordered_set < shared, shared_hash, shared_eq > | shared_uset |
|
typedef std::unordered_multiset < IPAddress, hash > | umset |
|
typedef std::unordered_multiset< ptr, ptr_hash, ptr_eq > | ptr_umset |
|
typedef std::unordered_multiset < shared, shared_hash, shared_eq > | shared_umset |
Public Member Functions | |
| IPv4Address (const std::string &addr) throw (AddressException) | |
| IPv4Address (const IPv4Address &other) throw () | |
| IPv4Address (const IPv4Address &&other) throw () | |
Public Member Functions inherited from sella::net::IPAddress | |
| IPAddress (const std::string &text, int family=IPv4Preferred, uint8_t cidr=255) throw (AddressException) | |
| IPAddress (int family=IPv4Preferred) throw (AddressException) | |
| IPAddress (const struct sockaddr_storage *ss, uint8_t cidr=255) throw (AddressException) | |
| IPAddress (const struct sockaddr *sa, uint8_t cidr=255) throw (AddressException) | |
| IPAddress (const struct in_addr *in, uint8_t cidr=255) throw (AddressException) | |
| IPAddress (const struct in6_addr *in6, uint8_t cidr=255) throw (AddressException) | |
| IPAddress (uint32_t address, uint8_t cidr=255) throw (AddressException) | |
| IPAddress (unsigned char address[16], uint8_t cidr=255) throw (AddressException) | |
| IPAddress (const IPAddress &other) throw () | |
| IPAddress (const IPAddress &&other) throw () | |
| IPAddress & | operator= (const IPAddress &other) throw () |
| IPAddress & | operator= (const IPAddress &&other) throw () |
| bool | operator== (const IPAddress &other) const throw () |
| bool | operator!= (const IPAddress &other) const throw () |
| bool | operator>= (const IPAddress &other) const throw () |
| bool | operator<= (const IPAddress &other) const throw () |
| bool | operator< (const IPAddress &other) const throw () |
| bool | operator> (const IPAddress &other) const throw () |
| IPAddress | operator& (const IPAddress &other) const throw (AddressException) |
| IPAddress | operator| (const IPAddress &other) const throw (AddressException) |
| IPAddress | operator^ (const IPAddress &other) const throw (AddressException) |
| IPAddress | operator~ () const throw () |
| IPAddress & | operator+= (uint32_t increment) throw () |
| IPAddress | operator+ (uint32_t increment) const throw () |
| IPAddress | operator++ (int) throw () |
| IPAddress & | operator++ () throw () |
| IPAddress & | operator-= (uint32_t increment) throw () |
| IPAddress | operator- (uint32_t increment) const throw () |
| IPAddress | operator-- (int) throw () |
| IPAddress & | operator-- () throw () |
| void | applyCIDR (uint8_t cidr) throw (AddressException) |
| int | getFamily (void) const throw () |
| size_t | getAddressStructureSize (void) const throw () |
| struct in_addr & | getIPv4AddressStructure (void) const throw (AddressException) |
| struct in6_addr & | getIPv6AddressStructure (void) const throw (AddressException) |
| const std::string & | str (void) const throw (AddressException) |
| const char * | c_str (void) const throw (AddressException) |
| uint32_t | getU32 (void) const throw () |
| uint32_t | getHash (void) const throw () |
| bool | empty (void) const throw () |
| void | clear (void) throw () |
Static Public Member Functions | |
| static const IPv4Address::shared | shared_ptr (const std::string &addr) throw (AddressException) |
Static Public Member Functions inherited from sella::net::IPAddress | |
| static const IPAddress::shared | shared_ptr (const std::string &text, int family=IPv4Preferred, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (int family=IPv4Preferred, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (const struct sockaddr_storage *ss, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (const struct sockaddr *sa, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (const struct in_addr *in, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (const struct in6_addr *in6, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (uint32_t address, uint8_t cidr=255) throw (AddressException) |
| static const IPAddress::shared | shared_ptr (unsigned char address[16], uint8_t cidr=255) throw (AddressException) |
| static bool | bi_cmp (const IPAddress &a, const IPAddress &b) |
| static bool | shared_bi_cmp (shared &a, shared &b) |
| static bool | shared_bi_eq (shared &a, shared &b) |
Additional Inherited Members | |
Static Public Attributes inherited from sella::net::IPAddress | |
| static const int | IPv4Preferred = 0x01 |
| static const int | IPv4Required = 0x03 |
| static const int | IPv6Preferred = 0x04 |
| static const int | IPv6Required = 0x12 |
| static const int | IPv4Family = AF_INET |
| static const int | IPv6Family = AF_INET6 |
Protected Member Functions inherited from sella::net::IPAddress | |
| bool | parse (int &family, struct in_addr &v4, struct in6_addr &v6, const std::string &addr) throw () |
| bool | parse (int &family, struct in6_addr &v6, struct in_addr &v4, const std::string &addr) throw () |
| bool | parse (int &family, struct in_addr &v4, const std::string &addr) throw () |
| bool | parse (int &family, struct in6_addr &v6, const std::string &addr) throw () |
Definition at line 24 of file IPv4Address.h.
1.8.5