System configuration file for NDN platform. More...
#include <config-file.hpp>
Classes | |
class | Error |
Public Types | |
using | Parsed = boost::property_tree::ptree |
Public Member Functions | |
ConfigFile () | |
Locate, open, and parse a library configuration file. More... | |
~ConfigFile () | |
const boost::filesystem::path & | getPath () const |
const Parsed & | getParsedConfiguration () const |
System configuration file for NDN platform.
The config file controls the default transport to connect to NDN forwarder, type and location of PIB and TPM.
Looking for the configuration file in these well-known locations (in order):
$HOME/.ndn/client.conf
@SYSCONFDIR@/ndn/client.conf
/etc/ndn/client.conf
Definition at line 48 of file config-file.hpp.
using ndn::ConfigFile::Parsed = boost::property_tree::ptree |
Definition at line 57 of file config-file.hpp.
ndn::ConfigFile::ConfigFile | ( | ) |
Locate, open, and parse a library configuration file.
ConfigFile::Error | on parse error |
Definition at line 29 of file config-file.cpp.
ndn::ConfigFile::~ConfigFile | ( | ) |
Definition at line 38 of file config-file.cpp.
References NDN_THROW, and ndn::to_string().
|
inline |
Definition at line 115 of file config-file.hpp.
|
inline |
Definition at line 121 of file config-file.hpp.