22 #ifndef NDN_CXX_MANAGEMENT_CONFIG_FILE_HPP
23 #define NDN_CXX_MANAGEMENT_CONFIG_FILE_HPP
29 #include <boost/filesystem/path.hpp>
30 #include <boost/property_tree/ptree.hpp>
51 class Error :
public std::runtime_error
54 using std::runtime_error::runtime_error;
57 using Parsed = boost::property_tree::ptree;
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&
System configuration file for NDN platform.
ConfigFile()
Locate, open, and parse a library configuration file.
const Parsed & getParsedConfiguration() const
const boost::filesystem::path & getPath() const
boost::property_tree::ptree Parsed
Common includes and macros used throughout the library.