Boost logo

Boost :

Subject: Re: [boost] Library for configuration file parsing
From: Denis Shevchenko (for.dshevchenko_at_[hidden])
Date: 2010-11-29 02:42:27


In future plans to add:

1. Support of multi-sections with one name at one level of nesting(for
some programs this is a useful feature).

2. Reparsing with ability of using initial default values of options.

Example:
configurator.in( "Server" ).add_here( "Host" ).default_value( "127.0.0.1" );

Config:
Host 12.56.78.44

std::string host = configurator.from( "Server" ).get_from_here( "Host" );

In this case host's value is 12.56.78.44. But what if we reparse config
(during program execution)? If before reparsing we change Host to
"34.77.88.05", value and thus will. But if we comment out Host:
// Host 12.56.78.44
value of host will be again "127.0.0.1", as has been set at the beginning.

Adding support for Unicode is not planned yet, although probably will.

- Denis


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk