NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
common.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
24 #ifndef NDN_SECURITY_CONF_COMMON_HPP
25 #define NDN_SECURITY_CONF_COMMON_HPP
26 
27 #include "../../common.hpp"
28 #include <string>
29 #include <boost/property_tree/ptree.hpp>
30 
31 namespace ndn {
32 namespace security {
33 namespace conf {
34 
35 typedef boost::property_tree::ptree ConfigSection;
36 
37 class Error : public std::runtime_error
38 {
39 public:
40  explicit
41  Error(const std::string& what)
42  : std::runtime_error(what)
43  {
44  }
45 };
46 
47 } // namespace conf
48 } // namespace security
49 } // namespace ndn
50 
51 #endif // NDN_SECURITY_CONF_COMMON_HPP
Copyright (c) 2011-2015 Regents of the University of California.
Error(const std::string &what)
Definition: common.hpp:41
STL namespace.
boost::property_tree::ptree ConfigSection
Definition: common.hpp:35