System configuration file for NDN platform. More...
#include <config-file.hpp>
Classes | |
class | Error |
Public Types | |
typedef boost::property_tree::ptree | Parsed |
Public Member Functions | |
ConfigFile () | |
Locate, open, and parse a library configuration file. More... | |
~ConfigFile () | |
const Parsed & | getParsedConfiguration () const |
const boost::filesystem::path & | getPath () 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.
typedef boost::property_tree::ptree ndn::ConfigFile::Parsed |
Definition at line 62 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 39 of file config-file.cpp.
|
inline |
Definition at line 128 of file config-file.hpp.
|
inline |
Definition at line 122 of file config-file.hpp.