Project

General

Profile

Actions

Task #1120

closed

Configuration file parser

Added by Alex Afanasyev almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Management
Target version:
Start date:
01/21/2014
Due date:
% Done:

90%

Estimated time:
3.00 h

Description

Develop a configuration file parser.

Section handlers are registered onto the parser.

An existing INFO parser is used to parse the configuration file, and 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.


Files

yaml_support.png (12.5 KB) yaml_support.png Anonymous, 02/07/2014 02:21 PM
config_example.xml (2.36 KB) config_example.xml Anonymous, 02/08/2014 05:17 PM
config_example.info (1.86 KB) config_example.info Anonymous, 02/09/2014 08:21 AM

Related issues 1 (0 open1 closed)

Blocks NFD - Task #1227: Command authentication and authorizationClosed

Actions
Actions

Also available in: Atom PDF