libutil++
1.9.3
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
sella
net
IPv4Address.h
1
/*
2
** libutil++
3
** $Id: IPv4Address.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__IPv4Address_H__
10
#define __libutilxx__sella__net__IPv4Address_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
IPv4Address;
21
}
22
}
23
24
class
sella::net::IPv4Address
:
public
IPAddress
{
25
public
:
26
typedef
std::shared_ptr<IPv4Address> shared;
27
typedef
IPv4Address
*
ptr
;
28
29
public
:
30
IPv4Address
(
const
std::string &addr)
throw
(AddressException);
31
IPv4Address
()
throw
(AddressException);
32
33
IPv4Address
(
const
IPv4Address
&other)
throw
();
34
IPv4Address
(
const
IPv4Address
&&other)
throw
();
35
virtual
~
IPv4Address
()
throw
();
36
37
static
const
IPv4Address::shared shared_ptr(
const
std::string &addr)
throw
(AddressException);
38
};
39
40
#endif
41
42
/*
43
** vim: noet ts=3 sw=3
44
*/
sella::net::IPv4Address
Definition:
IPv4Address.h:24
sella::net::IPAddress
Definition:
IPAddress.h:31
Generated on Sat Sep 2 2017 11:44:21 for libutil++ by
1.8.5