Kea  1.9.9-git
dependency.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 DEPENDENCY_H
8 #define DEPENDENCY_H
9 
10 #include <eval/token.h>
11 #include <string>
12 
13 namespace isc {
14 namespace dhcp {
15 
23 bool dependOnClass(const TokenPtr& token, const std::string& name);
24 
32 bool dependOnClass(const ExpressionPtr& expr, const std::string& name);
33 
34 }; // end of isc::dhcp namespace
35 }; // end of isc namespace
36 
37 #endif
boost::shared_ptr< Token > TokenPtr
Pointer to a single Token.
Definition: token.h:17
bool dependOnClass(const TokenPtr &token, const std::string &name)
Checks dependency on a token.
Definition: dependency.cc:15
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::shared_ptr< Expression > ExpressionPtr
Definition: token.h:30