Boost logo

Boost Users :

Subject: Re: [Boost-users] XML optional field
From: Emanuele Rocci (rocciemanuele_at_[hidden])
Date: 2008-09-26 03:53:45


Thanks!
Mn
> Date: Tue, 23 Sep 2008 09:56:27 -0400> From: me22.ca+boost_at_[hidden]> To: boost-users_at_[hidden]> Subject: Re: [Boost-users] XML optional field> > On Tue, Sep 23, 2008 at 02:56, Emanuele Rocci <rocciemanuele_at_[hidden]> wrote:> >> > I would like to build a configuration file for my application in XML.> > The Configuration files includes also optional sections> > i.e. there might be properties that are not required to be> > defined by the user.> >> > If I use BOOST serialization to load this file, the XML format seems to me> > that forces every field of the XML field to be REQUIRED.> >> > Do you know if with Boost serialization for XML there is some mechanism> > allowing or handling optional Xml field?> >> > For something that a user is supposed to be able to edit,> Boost.Serialization is usually not the correct choice (afaik).> > Have you considered the boost.program_options library?> http://www.boost.org/libs/program_options> > HTH,> ~ Scott> _______________________________________________> Boost-users mailing list> Boost-users_at_[hidden]> http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________
Comunica, gioca e divertiti con i tuoi amici su Messenger!
http://www.messenger.it



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