NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::ConfigFile Class Reference

#include <config-file.hpp>

Inheritance diagram for ndn::ConfigFile:
Collaboration diagram for ndn::ConfigFile:

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 boost::filesystem::path & getPath () const
 
const ParsedgetParsedConfiguration () const
 

Detailed Description

Definition at line 34 of file config-file.hpp.

Member Typedef Documentation

§ Parsed

typedef boost::property_tree::ptree ndn::ConfigFile::Parsed

Definition at line 48 of file config-file.hpp.

Constructor & Destructor Documentation

§ ConfigFile()

ndn::ConfigFile::ConfigFile ( )

Locate, open, and parse a library configuration file.

Exceptions
ConfigFile::Erroron parse error

Definition at line 29 of file config-file.cpp.

§ ~ConfigFile()

ndn::ConfigFile::~ConfigFile ( )

Definition at line 39 of file config-file.cpp.

Member Function Documentation

§ getPath()

const boost::filesystem::path & ndn::ConfigFile::getPath ( ) const
inline

Definition at line 105 of file config-file.hpp.

§ getParsedConfiguration()

const ConfigFile::Parsed & ndn::ConfigFile::getParsedConfiguration ( ) const
inline

The documentation for this class was generated from the following files: