00001
00002
00003
00004
00005
00006
00007
00008
00009 static const char rcsid[] __attribute__((used)) = "$Id: IPv6Address.cpp 1197 2014-10-14 22:26:11Z sella $";
00010
00011 #include "IPv6Address.h"
00012 #include "IPAddress.h"
00013 #include "AddressException.h"
00014
00015 #include <string>
00016
00017 using namespace sella::net;
00018
00019 IPv6Address::IPv6Address(const std::string &addr) throw (AddressException) :
00020 IPAddress(addr, IPAddress::IPv6Required)
00021 { }
00022
00023 IPv6Address::IPv6Address() throw (AddressException) :
00024 IPAddress(IPAddress::IPv6Required)
00025 { }
00026
00027 IPv6Address::IPv6Address(const IPv6Address &other) throw () :
00028 IPAddress(other)
00029 { }
00030
00031 IPv6Address::IPv6Address(const IPv6Address &&other) throw () :
00032 IPAddress(other)
00033 { }
00034
00035 IPv6Address::~IPv6Address() throw () { }
00036
00037 const IPv6Address::shared IPv6Address::shared_ptr(const std::string &addr) throw (AddressException) {
00038 return std::make_shared<IPv6Address>(addr);
00039 }
00040
00041
00042
00043