sella::net::IPAddressPort Class Reference

List of all members.

Classes

union  __sockaddr_union
struct  hash
struct  ptr_eq
struct  ptr_hash
struct  shared_eq
struct  shared_hash

Public Types

typedef std::shared_ptr
< IPAddressPort
shared
typedef IPAddressPortptr
typedef std::list< IPAddressPortlist
typedef std::list< ptrptr_list
typedef std::list< shared > shared_list
typedef std::forward_list
< IPAddressPort
flist
typedef std::forward_list< ptrptr_flist
typedef std::forward_list< shared > shared_flist
typedef std::vector
< IPAddressPort
vector
typedef std::vector< ptrptr_vector
typedef std::vector< shared > shared_vector
typedef std::unordered_set
< IPAddressPort, 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
< IPAddressPort, 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

 IPAddressPort (const IPAddress &address, const Port &port) throw ()
 IPAddressPort (const IPAddress &address, const TCPPort &port) throw ()
 IPAddressPort (const IPAddress &address, const UDPPort &port) throw ()
 IPAddressPort (const IPAddress &address, uint16_t port) throw (PortException)
 IPAddressPort (const std::string &address=std::string("0.0.0.0"), uint16_t port=0) throw (AddressException, PortException)
 IPAddressPort (const struct sockaddr_storage *ss) throw (AddressException, PortException)
 IPAddressPort (const struct sockaddr *sa) throw (AddressException, PortException)
 IPAddressPort (const IPAddressPort &other) throw ()
 IPAddressPort (const IPAddressPort &&other) throw ()
IPAddressPortoperator= (const IPAddressPort &other) throw ()
IPAddressPortoperator= (const IPAddressPort &&other) throw ()
bool operator== (const IPAddressPort &other) const throw ()
bool operator!= (const IPAddressPort &other) const throw ()
bool operator>= (const IPAddressPort &other) const throw ()
bool operator<= (const IPAddressPort &other) const throw ()
bool operator< (const IPAddressPort &other) const throw ()
bool operator> (const IPAddressPort &other) const throw ()
int getFamily (void) const throw ()
const IPAddressgetIPAddress (void) const throw ()
const PortgetPort (void) const throw ()
struct sockaddr_storage & getSockaddrStorage (void) const throw ()
struct sockaddr & getSockaddr (void) const throw ()
struct sockaddr_in & getSockaddrIn (void) const throw ()
struct sockaddr_in6 & getSockaddrIn6 (void) const throw ()
bool hasIPAddress (void) const throw ()
bool hasPort (void) 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 ()

Static Public Member Functions

static const IPAddressPort::shared shared_ptr (const IPAddress &address, const Port &port) throw ()
static const IPAddressPort::shared shared_ptr (const IPAddress &address, const TCPPort &port) throw ()
static const IPAddressPort::shared shared_ptr (const IPAddress &address, const UDPPort &port) throw ()
static const IPAddressPort::shared shared_ptr (const IPAddress &address, uint16_t port) throw (PortException)
static const IPAddressPort::shared shared_ptr (const std::string &address=std::string("0.0.0.0"), uint16_t port=0) throw (AddressException, PortException)
static const IPAddressPort::shared shared_ptr (const struct sockaddr_storage *ss) throw (AddressException, PortException)
static const IPAddressPort::shared shared_ptr (const struct sockaddr *sa) throw (AddressException, PortException)
static bool shared_bi_cmp (shared &a, shared &b)
static bool shared_bi_eq (shared &a, shared &b)

Detailed Description

Definition at line 32 of file IPAddressPort.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on 20 Nov 2014 for libutil++ by  doxygen 1.6.1