[gmx-developers] XML and std::map?
Vedran Miletić
rivanvx at gmail.com
Tue Sep 22 20:24:30 CEST 2015
2015-09-22 12:32 GMT+02:00 David van der Spoel <spoel at xray.bmc.uu.se>:
> On 22/09/15 11:47, Vedran Miletić wrote:
>>
>>
>> Hello David,
>>
>> would the approach you have in mind imply some kind of nested
>> std::map<std::string, std::map<...> > type?
>
>
> I guess something like that. Any suggestions or experience?
>
Haven't really tried it. My main concern is that you can't predict the
std::map<...> that will come out of readXml(), unless you know the
number of levels of nesting in advance. So it is a bit inflexible.
Regards,
Vedran
--
Vedran Miletić
http://vedranmileti.ch/
More information about the gromacs.org_gmx-developers
mailing list