Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
net::IPv4 Class Reference

#include <ip.hpp>

Inheritance diagram for net::IPv4:

Public Member Functions

 IPv4 (const in_addr &in)
 IPv4 (uint32_t ip)
in_addr in () const
- Public Member Functions inherited from net::IP
 IP (const struct in_addr &_storage)
 IP (const struct in6_addr &_storage)
 IP (uint32_t _ip)
int family () const
Try< struct in_addr > in () const
Try< struct in6_addr > in6 () const
bool isLoopback () const
bool isAny () const
bool operator== (const IP &that) const
bool operator!= (const IP &that) const
bool operator< (const IP &that) const
bool operator> (const IP &that) const

Static Public Member Functions

static IPv4 LOOPBACK ()
static IPv4 ANY ()
static Try< IPv4parse (const std::string &value)
- Static Public Member Functions inherited from net::IP
static Try< IPparse (const std::string &value, int family=AF_UNSPEC)
static Try< IPcreate (const struct sockaddr_storage &_storage)
static Try< IPcreate (const struct sockaddr &_storage)

Additional Inherited Members

- Protected Member Functions inherited from net::IP
void clear ()
- Protected Attributes inherited from net::IP
int family_
Storage storage_

Constructor & Destructor Documentation

net::IPv4::IPv4 ( const in_addr &  in)
net::IPv4::IPv4 ( uint32_t  ip)

Member Function Documentation

static IPv4 net::IPv4::ANY ( )
in_addr net::IPv4::in ( ) const
static IPv4 net::IPv4::LOOPBACK ( )
static Try<IPv4> net::IPv4::parse ( const std::string &  value)

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