|
Boost Users : |
From: Jason Stewart (jstewart_at_[hidden])
Date: 2005-04-28 15:12:13
At 02:42 PM 4/28/2005, you wrote:
>"Jason Stewart" <jstewart_at_[hidden]> wrote in message
>news:6.2.1.2.2.20050427143238.04174a08_at_pobox.com...
> > Has anyone implemented an XML parser for boost::program_options? ...
>
>Sounds interesting. Would this let you specify the program options as either
>commandline flags or as in XML input file?
That's my plan. I've got something working but it's somewhat of a hack. I
used the response file example that's included with program_options and an
internal library to parse the XML. Using this I build a vector of strings
that I then pass to the command_line_parser. So, yes, with this scheme you
can override config file settings on the command line.
>And, I think that boost.serialize has XML as one of it's formats, would you
>be able to use that as your XML parser?
I haven't looked at boost::serialize. I'll try to do that soon.
Jason
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net