I usually use serialization w/program options, and I find it to be a clean solution.  

such as exe -i cfg_file.xml

where the input is a .xml serialization archive.

Otherwise you may want to checkout the link below:
http://www.boost.org/doc/libs/1_35_0/doc/html/program_options/howto.html#id1253208

Cheers,
Tim

On Fri, Jul 25, 2008 at 1:50 PM, HTT-Bird <tbird-contact@cox.net> wrote:
Alright, my problem is that in my configuration file, I need to carry data that
maps names to a set of permissions (represented as strings when in the file, of
course).  There are two basic solutions that I can think of: the
one-line-per-name approach and the entire-mapping-in-one-configuration-line
approach.  Is it possible to do the former with ProgramOptions and if so, how?
Also, what would be a good syntax for the latter?

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
Regards,
Timothy St. Clair
[timothysc@gmail.com]