config-file.hpp File Reference
#include "core/common.hpp"
#include <boost/property_tree/ptree.hpp>
+ Include dependency graph for config-file.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfd::ConfigFile
 Configuration file parsing utility. More...
 
class  nfd::ConfigFile::Error
 

Namespaces

 nfd
 

Typedefs

using nfd::ConfigSection = boost::property_tree::ptree
 A configuration file section. More...
 
using nfd::ConfigSectionHandler = std::function< void(const ConfigSection &section, bool isDryRun, const std::string &filename)>
 Callback to process a configuration file section. More...
 
using nfd::OptionalConfigSection = boost::optional< const ConfigSection & >
 An optional configuration file section. More...
 
using nfd::UnknownConfigSectionHandler = std::function< void(const std::string &filename, const std::string &sectionName, const ConfigSection &section, bool isDryRun)>
 Callback to process a configuration file section without a ConfigSectionHandler. More...