Kea  1.9.9-git
adaptor_host.h
Go to the documentation of this file.
1 // Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef ISC_ADAPTOR_HOST_H
8 #define ISC_ADAPTOR_HOST_H 1
9 
10 #include <yang/adaptor.h>
11 
12 namespace isc {
13 namespace yang {
14 
21 class AdaptorHost {
22 public:
23 
26  static const std::string STD_CHARACTERS;
27 
29  AdaptorHost();
30 
32  virtual ~AdaptorHost();
33 
41  static void quoteIdentifier(isc::data::ElementPtr host);
42 };
43 
44 }; // end of namespace isc::yang
45 }; // end of namespace isc
46 
47 #endif // ISC_ADAPTOR_HOST_H
virtual ~AdaptorHost()
Destructor.
Definition: adaptor_host.cc:29
AdaptorHost()
Constructor.
Definition: adaptor_host.cc:26
boost::shared_ptr< Element > ElementPtr
Definition: data.h:20
static const std::string STD_CHARACTERS
The string of standard (vs special or not printable) characters (digit, letters, -, ., @, _).
Definition: adaptor_host.h:26
Defines the logger used by the top-level component of kea-dhcp-ddns.
static void quoteIdentifier(isc::data::ElementPtr host)
Quote when needed a host identifier.
Definition: adaptor_host.cc:33
JSON adaptor for host reservations quoting identifiers.
Definition: adaptor_host.h:21