]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/property_tree/doc/synopsis.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / property_tree / doc / synopsis.qbk
CommitLineData
7c673cae
FG
1[/
2 / Copyright (c) 2008 Marcin Kalicinski (kalita <at> poczta dot onet dot pl)
3 / Copyright (c) 2009 Sebastian Redl (sebastian dot redl <at> getdesigned dot at)
4 /
5 / Distributed under the Boost Software License, Version 1.0. (See accompanying
6 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 /]
8[section:synopsis Property Tree Synopsis]
9[def __basic_ptree__ [classref boost::property_tree::basic_ptree basic_ptree]]
10[def __ptree__ [classref boost::property_tree::ptree ptree]]
11[def __wptree__ [classref boost::property_tree::wptree wptree]]
12[def __iptree__ [classref boost::property_tree::iptree iptree]]
13[def __wiptree__ [classref boost::property_tree::wiptree wiptree]]
14[/ basic_ptree members]
15[def __ptree_get__ [memberref boost::property_tree::basic_ptree::get get]]
16[def __ptree_put__ [memberref boost::property_tree::basic_ptree::put put]]
17[def __ptree_get_value__ [memberref boost::property_tree::basic_ptree::get_value get_value]]
18[def __ptree_put_value__ [memberref boost::property_tree::basic_ptree::put_value put_value]]
19[def __ptree_get_child__ [memberref boost::property_tree::basic_ptree::get_child get_child]]
20[def __ptree_put_child__ [memberref boost::property_tree::basic_ptree::put_child put_child]]
21[def __ptree_data__ [memberref boost::property_tree::basic_ptree::data data]]
22The central component of the library is the __basic_ptree__ class template.
23Instances of this class are property trees. It is parametrized on key and data
24type, and key comparison policy; __ptree__, __wptree__, __iptree__ and
25__wiptree__ are typedefs of __basic_ptree__ using predefined combinations of
26template parameters. Property tree is basically a somewhat simplified standard
27container (the closest being std::list), plus a bunch of extra member
28functions. These functions allow easy and effective access to the data stored
29in property tree. They are various variants of __ptree_get__, __ptree_put__,
30__ptree_get_value__, __ptree_put_value__, __ptree_get_child__,
31__ptree_put_child__. Additionally, there is a __ptree_data__ function to access
32node data directly.
33
34See the [classref boost::property_tree::basic_ptree basic_ptree class template synopsis] for more information.
35[endsect]