9 static const char rcsid[] __attribute__((used)) =
"$Id: IPv4Address.cpp 1653 2016-02-28 19:54:59Z sella $";
11 #include "IPv4Address.h"
12 #include "IPAddress.h"
13 #include "AddressException.h"
17 using namespace sella::net;
19 IPv4Address::IPv4Address(
const std::string &addr)
throw (AddressException) :
23 IPv4Address::IPv4Address() throw (AddressException) :
27 IPv4Address::IPv4Address(
const IPv4Address &other)
throw () :
31 IPv4Address::IPv4Address(
const IPv4Address &&other) throw () :
35 IPv4Address::~IPv4Address() throw () { }
37 const IPv4Address::shared IPv4Address::shared_ptr(
const std::string &addr)
throw (AddressException) {
38 return std::make_shared<IPv4Address>(addr);