22 #ifndef NDN_MANAGEMENT_CONFIG_FILE_HPP 23 #define NDN_MANAGEMENT_CONFIG_FILE_HPP 29 #include <boost/filesystem.hpp> 30 #include <boost/property_tree/ptree.hpp> 51 class Error :
public std::runtime_error
54 using std::runtime_error::runtime_error;
57 typedef boost::property_tree::ptree
Parsed;
68 const boost::filesystem::path&
105 boost::filesystem::path
109 boost::filesystem::path m_path;
110 std::ifstream m_input;
114 inline const boost::filesystem::path&
128 #endif // NDN_MANAGEMENT_CONFIG_FILE_HPP
const Parsed & getParsedConfiguration() const
boost::property_tree::ptree Parsed
import common constructs for ndn-cxx library internal use
System configuration file for NDN platform.
const boost::filesystem::path & getPath() const
ConfigFile()
Locate, open, and parse a library configuration file.