libutil++  1.9.3
 All Classes Functions Variables
IPv6Address.h
1 /*
2 ** libutil++
3 ** $Id: IPv6Address.h 1653 2016-02-28 19:54:59Z sella $
4 ** Copyright (c) 2011-2016 Digital Genesis, LLC. All Rights Reserved.
5 ** Released under the LGPL Version 2.1 License.
6 ** http://www.digitalgenesis.com
7 */
8 
9 #ifndef __libutilxx__sella__net__IPv6Address_H__
10 #define __libutilxx__sella__net__IPv6Address_H__
11 
12 #include "../../common.h"
13 #include "IPAddress.h"
14 #include "AddressException.h"
15 
16 #include <string>
17 
18 namespace sella {
19  namespace net {
20  class IPv6Address;
21  }
22 }
23 
25  public:
26  typedef std::shared_ptr<IPv6Address> shared;
27  typedef IPv6Address *ptr;
28 
29  public:
30  IPv6Address(const std::string &addr) throw (AddressException);
31  IPv6Address() throw (AddressException);
32 
33  IPv6Address(const IPv6Address &other) throw ();
34  IPv6Address(const IPv6Address &&other) throw ();
35  virtual ~IPv6Address() throw ();
36 
37  static const IPv6Address::shared shared_ptr(const std::string &addr) throw (AddressException);
38 };
39 
40 #endif
41 
42 /*
43 ** vim: noet ts=3 sw=3
44 */