All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
security/conf/common.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
8 #ifndef NDN_SECURITY_CONF_COMMON_HPP
9 #define NDN_SECURITY_CONF_COMMON_HPP
10 
11 #include <string>
12 #include <boost/property_tree/ptree.hpp>
13 
14 namespace ndn {
15 namespace security {
16 namespace conf {
17 
18 typedef boost::property_tree::ptree ConfigSection;
19 
20 class Error : public std::runtime_error
21 {
22 public:
23  explicit
24  Error(const std::string& what)
25  : std::runtime_error(what)
26  {
27  }
28 };
29 
30 } // namespace conf
31 } // namespace security
32 } // namespace ndn
33 
34 #endif // NDN_SECURITY_CONF_COMMON_HPP
Error(const std::string &what)
boost::property_tree::ptree ConfigSection