Classes | |
| struct | cmp |
| struct | eq |
| struct | hash |
| struct | ptr_eq |
| struct | ptr_hash |
| struct | shared_eq |
| struct | shared_hash |
Public Types | |
| typedef std::shared_ptr< IPPrefix > | shared |
| typedef IPPrefix * | ptr |
| typedef std::list< IPPrefix > | list |
| typedef std::list< ptr > | ptr_list |
| typedef std::list< shared > | shared_list |
|
typedef std::forward_list < IPPrefix > | flist |
| typedef std::forward_list< ptr > | ptr_flist |
| typedef std::forward_list< shared > | shared_flist |
| typedef std::vector< IPPrefix > | vector |
| typedef std::vector< ptr > | ptr_vector |
| typedef std::vector< shared > | shared_vector |
|
typedef std::unordered_set < IPPrefix, 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 < IPPrefix, 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 | |
| IPPrefix (const IPAddress &address, uint8_t cidr=255) throw (AddressException) | |
| IPPrefix (const std::string &address, uint8_t cidr) throw (AddressException) | |
| IPPrefix (const std::string &prefix=std::string("0.0.0.0/32")) throw (AddressException) | |
| IPPrefix (const IPPrefix &other) throw () | |
| IPPrefix (const IPPrefix &&other) throw () | |
| IPPrefix & | operator= (const IPPrefix &other) throw () |
| IPPrefix & | operator= (const IPPrefix &&other) throw () |
| bool | operator== (const IPPrefix &other) const throw () |
| bool | operator!= (const IPPrefix &other) const throw () |
| bool | operator>= (const IPPrefix &other) const throw () |
| bool | operator<= (const IPPrefix &other) const throw () |
| bool | operator< (const IPPrefix &other) const throw () |
| bool | operator> (const IPPrefix &other) const throw () |
| bool | operator<< (const IPPrefix &other) const throw () |
| bool | operator<<= (const IPPrefix &other) const throw () |
| bool | operator>> (const IPPrefix &other) const throw () |
| bool | operator>>= (const IPPrefix &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 | contains (const IPPrefix &other, bool orEquals=false) const throw () |
| bool | contains (const IPAddress &other, bool orEquals=false) const throw () |
| int | getFamily (void) const throw () |
| const IPAddress & | getIPAddress (void) const throw () |
| IPAddress & | getIPAddress (void) throw () |
| uint8_t | getCIDR (void) const throw () |
| IPAddress | getNetmask (void) const throw () |
| IPAddress | getInverseMask (void) const throw () |
| IPAddress | getNetwork (void) const throw () |
| IPAddress | getBroadcast (void) const throw () |
| IPAddress::vector | getIPAddresses (bool usable=true) const throw () |
| 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 IPPrefix::shared | shared_ptr (const IPAddress &address, uint8_t cidr=255) throw (AddressException) |
| static const IPPrefix::shared | shared_ptr (const std::string &address, uint8_t cidr) throw (AddressException) |
| static const IPPrefix::shared | shared_ptr (const std::string &prefix=std::string("0.0.0.0/32")) throw (AddressException) |
| static bool | bi_cmp (const IPPrefix &a, const IPPrefix &b) |
| static bool | shared_bi_cmp (shared &a, shared &b) |
| static bool | shared_bi_eq (shared &a, shared &b) |
Definition at line 31 of file IPPrefix.h.
1.8.5