Project

General

Profile

Task #1120

Updated by Junxiao Shi almost 11 years ago

Develop a [[ConfigFileFormat|configuration file]] parser. 

 Section handlers are registered onto the parser.   
 An The parser uses an existing [INFO parser](http://www.boost.org/doc/libs/1_42_0/doc/html/boost_propertytree/parsers.html#boost_propertytree.parsers.info_parser) is used to parse the configuration file, and dispatches each section is dispatched to the appropriate section handler.   
 If an unknown section name is found, configuration processing should fail. (similarly, section handlers should fail if an unknown option is found) 

 Parser API should support `std::istream` argument type, to facilitate unit testing and usage in ns-3 simulation.

Back