Boost logo

Boost Users :

Subject: [Boost-users] retrieving section names from a boost::proper_tree
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2012-02-09 06:34:07


Hi All:
I have parsed a .ini file in to a boost::property_tree. I now would like to retrieve all the section names and place them in a vector.
Am I needing the key_type or the value_type. I am suspecting the former! Also is there a quick way of outputting the section names without having to use a boost_foreach or similar loop construct?
Any herlp appreciated.
Regards
Sean.



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