Property tree main structure. More...
#include <ptree_fwd.hpp>
Public Types | |
typedef Key | key_type |
typedef Data | data_type |
typedef KeyCompare | key_compare |
typedef std::pair< const Key, self_type > | value_type |
typedef std::size_t | size_type |
typedef path_of< Key >::type | path_type |
Public Member Functions | |
basic_ptree () | |
Creates a node with no children and default-constructed data. More... | |
basic_ptree (const data_type &data) | |
Creates a node with no children and a copy of the given data. More... | |
basic_ptree (const self_type &rhs) | |
~basic_ptree () | |
self_type & | operator= (const self_type &rhs) |
Basic guarantee only. More... | |
void | swap (self_type &rhs) |
Swap with other tree. More... | |
size_type | size () const |
The number of direct children of this node. More... | |
size_type | max_size () const |
bool | empty () const |
Whether there are any direct children. More... | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
value_type & | front () |
const value_type & | front () const |
value_type & | back () |
const value_type & | back () const |
iterator | insert (iterator where, const value_type &value) |
Insert a copy of the given tree with its key just before the given position in this node. More... | |
template<class It > | |
void | insert (iterator where, It first, It last) |
Range insert. More... | |
iterator | erase (iterator where) |
Erase the child pointed at by the iterator. More... | |
iterator | erase (iterator first, iterator last) |
Range erase. More... | |
iterator | push_front (const value_type &value) |
Equivalent to insert(begin(), value). More... | |
iterator | push_back (const value_type &value) |
Equivalent to insert(end(), value). More... | |
void | pop_front () |
Equivalent to erase(begin()). More... | |
void | pop_back () |
Equivalent to erase(boost::prior(end())). More... | |
void | reverse () |
Reverses the order of direct children in the property tree. More... | |
template<class Compare > | |
void | sort (Compare comp) |
Sorts the direct children of this node according to the predicate. More... | |
void | sort () |
Sorts the direct children of this node according to key order. More... | |
bool | operator== (const self_type &rhs) const |
Two property trees are the same if they have the same data, the keys and order of their children are the same, and the children compare equal, recursively. More... | |
bool | operator!= (const self_type &rhs) const |
assoc_iterator | ordered_begin () |
Returns an iterator to the first child, in key order. More... | |
const_assoc_iterator | ordered_begin () const |
Returns an iterator to the first child, in key order. More... | |
assoc_iterator | not_found () |
Returns the not-found iterator. More... | |
const_assoc_iterator | not_found () const |
Returns the not-found iterator. More... | |
assoc_iterator | find (const key_type &key) |
Find a child with the given key, or not_found() if there is none. More... | |
const_assoc_iterator | find (const key_type &key) const |
Find a child with the given key, or not_found() if there is none. More... | |
std::pair< assoc_iterator, assoc_iterator > | equal_range (const key_type &key) |
Find the range of children that have the given key. More... | |
std::pair < const_assoc_iterator, const_assoc_iterator > | equal_range (const key_type &key) const |
Find the range of children that have the given key. More... | |
size_type | count (const key_type &key) const |
Count the number of direct children with the given key. More... | |
size_type | erase (const key_type &key) |
Erase all direct children with the given key and return the count. More... | |
iterator | to_iterator (assoc_iterator it) |
Get the iterator that points to the same element as the argument. More... | |
const_iterator | to_iterator (const_assoc_iterator it) const |
Get the iterator that points to the same element as the argument. More... | |
data_type & | data () |
Reference to the actual data in this node. More... | |
const data_type & | data () const |
Reference to the actual data in this node. More... | |
void | clear () |
Clear this tree completely, of both data and children. More... | |
self_type & | get_child (const path_type &path) |
Get the child at the given path, or throw ptree_bad_path . More... | |
const self_type & | get_child (const path_type &path) const |
Get the child at the given path, or throw ptree_bad_path . More... | |
self_type & | get_child (const path_type &path, self_type &default_value) |
Get the child at the given path, or return default_value . More... | |
const self_type & | get_child (const path_type &path, const self_type &default_value) const |
Get the child at the given path, or return default_value . More... | |
optional< self_type & > | get_child_optional (const path_type &path) |
Get the child at the given path, or return boost::null. More... | |
optional< const self_type & > | get_child_optional (const path_type &path) const |
Get the child at the given path, or return boost::null. More... | |
self_type & | put_child (const path_type &path, const self_type &value) |
Set the node at the given path to the given value. More... | |
self_type & | add_child (const path_type &path, const self_type &value) |
Add the node at the given path. More... | |
template<class Type , class Translator > | |
boost::enable_if < detail::is_translator < Translator >, Type >::type | get_value (Translator tr) const |
Take the value of this node and attempt to translate it to a Type object using the supplied translator. More... | |
template<class Type > | |
Type | get_value () const |
Take the value of this node and attempt to translate it to a Type object using the default translator. More... | |
template<class Type , class Translator > | |
Type | get_value (const Type &default_value, Translator tr) const |
Take the value of this node and attempt to translate it to a Type object using the supplied translator. More... | |
template<class Ch , class Translator > | |
boost::enable_if < detail::is_character< Ch > , std::basic_string< Ch > >::type | get_value (const Ch *default_value, Translator tr) const |
Make get_value do the right thing for string literals. More... | |
template<class Type > | |
boost::disable_if < detail::is_translator< Type > , Type >::type | get_value (const Type &default_value) const |
Take the value of this node and attempt to translate it to a Type object using the default translator. More... | |
template<class Ch > | |
boost::enable_if < detail::is_character< Ch > , std::basic_string< Ch > >::type | get_value (const Ch *default_value) const |
Make get_value do the right thing for string literals. More... | |
template<class Type , class Translator > | |
optional< Type > | get_value_optional (Translator tr) const |
Take the value of this node and attempt to translate it to a Type object using the supplied translator. More... | |
template<class Type > | |
optional< Type > | get_value_optional () const |
Take the value of this node and attempt to translate it to a Type object using the default translator. More... | |
template<class Type , class Translator > | |
void | put_value (const Type &value, Translator tr) |
Replace the value at this node with the given value, translated to the tree's data type using the supplied translator. More... | |
template<class Type > | |
void | put_value (const Type &value) |
Replace the value at this node with the given value, translated to the tree's data type using the default translator. More... | |
template<class Type , class Translator > | |
boost::enable_if < detail::is_translator < Translator >, Type >::type | get (const path_type &path, Translator tr) const |
Shorthand for get_child(path).get_value(tr). More... | |
template<class Type > | |
Type | get (const path_type &path) const |
Shorthand for get_child(path).get_value<Type>(). More... | |
template<class Type , class Translator > | |
Type | get (const path_type &path, const Type &default_value, Translator tr) const |
Shorthand for get_child(path, empty_ptree()) .get_value(default_value, tr). More... | |
template<class Ch , class Translator > | |
boost::enable_if < detail::is_character< Ch > , std::basic_string< Ch > >::type | get (const path_type &path, const Ch *default_value, Translator tr) const |
Make get do the right thing for string literals. More... | |
template<class Type > | |
boost::disable_if < detail::is_translator< Type > , Type >::type | get (const path_type &path, const Type &default_value) const |
Shorthand for get_child(path, empty_ptree()) .get_value(default_value). More... | |
template<class Ch > | |
boost::enable_if < detail::is_character< Ch > , std::basic_string< Ch > >::type | get (const path_type &path, const Ch *default_value) const |
Make get do the right thing for string literals. More... | |
template<class Type , class Translator > | |
optional< Type > | get_optional (const path_type &path, Translator tr) const |
Shorthand for: More... | |
template<class Type > | |
optional< Type > | get_optional (const path_type &path) const |
Shorthand for: More... | |
template<class Type , class Translator > | |
self_type & | put (const path_type &path, const Type &value, Translator tr) |
Set the value of the node at the given path to the supplied value, translated to the tree's data type. More... | |
template<class Type > | |
self_type & | put (const path_type &path, const Type &value) |
Set the value of the node at the given path to the supplied value, translated to the tree's data type. More... | |
template<class Type , class Translator > | |
self_type & | add (const path_type &path, const Type &value, Translator tr) |
If the node identified by the path does not exist, create it, including all its missing parents. More... | |
template<class Type > | |
self_type & | add (const path_type &path, const Type &value) |
If the node identified by the path does not exist, create it, including all its missing parents. More... | |
Friends | |
struct | subs |
class | iterator |
class | const_iterator |
class | reverse_iterator |
class | const_reverse_iterator |
Property tree main structure.
A property tree is a hierarchical data structure which has one element of type Data
in each node, as well as an ordered sequence of sub-nodes, which are additionally identified by a non-unique key of type Key
.
Key equivalency is defined by KeyCompare
, a predicate defining a strict weak ordering.
Property tree defines a Container-like interface to the (key-node) pairs of its direct sub-nodes. The iterators are bidirectional. The sequence of nodes is held in insertion order, not key order.
typedef Data boost::property_tree::basic_ptree< Key, Data, KeyCompare >::data_type |
typedef KeyCompare boost::property_tree::basic_ptree< Key, Data, KeyCompare >::key_compare |
typedef Key boost::property_tree::basic_ptree< Key, Data, KeyCompare >::key_type |
typedef path_of<Key>::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::path_type |
typedef std::size_t boost::property_tree::basic_ptree< Key, Data, KeyCompare >::size_type |
typedef std::pair<const Key, self_type> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::value_type |
boost::property_tree::basic_ptree< Key, Data, KeyCompare >::basic_ptree | ( | ) |
Creates a node with no children and default-constructed data.
|
explicit |
Creates a node with no children and a copy of the given data.
boost::property_tree::basic_ptree< Key, Data, KeyCompare >::basic_ptree | ( | const self_type & | rhs | ) |
boost::property_tree::basic_ptree< Key, Data, KeyCompare >::~basic_ptree | ( | ) |
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::add | ( | const path_type & | path, |
const Type & | value, | ||
Translator | tr | ||
) |
If the node identified by the path does not exist, create it, including all its missing parents.
If the node already exists, add a sibling with the same key. Set the newly created node's value to the given paremeter, translated with the supplied translator.
path | Path to the child. The last fragment must not have an index. |
value | The value to add. |
tr | The translator to use. |
ptree_bad_data | if the conversion fails. |
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::add | ( | const path_type & | path, |
const Type & | value | ||
) |
If the node identified by the path does not exist, create it, including all its missing parents.
If the node already exists, add a sibling with the same key. Set the newly created node's value to the given paremeter, translated with the supplied translator.
path | Path to the child. The last fragment must not have an index. |
value | The value to add. |
ptree_bad_data | if the conversion fails. |
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::add_child | ( | const path_type & | path, |
const self_type & | value | ||
) |
Add the node at the given path.
Create any missing parents. If there already is a node at the path, add another one with the same key.
path | Path to the child. The last fragment must not have an index. |
value_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::back | ( | ) |
const value_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::back | ( | ) | const |
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::begin | ( | ) |
Referenced by boost::basic_settings_section< CharT >::begin().
const_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::begin | ( | ) | const |
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::clear | ( | ) |
Clear this tree completely, of both data and children.
size_type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::count | ( | const key_type & | key | ) | const |
Count the number of direct children with the given key.
data_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::data | ( | ) |
Reference to the actual data in this node.
Referenced by boost::property_tree::load(), and boost::property_tree::save().
const data_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::data | ( | ) | const |
Reference to the actual data in this node.
bool boost::property_tree::basic_ptree< Key, Data, KeyCompare >::empty | ( | ) | const |
Whether there are any direct children.
Referenced by boost::basic_settings_section< CharT >::empty().
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::end | ( | ) |
Referenced by boost::basic_settings_section< CharT >::end().
const_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::end | ( | ) | const |
std::pair<assoc_iterator, assoc_iterator> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::equal_range | ( | const key_type & | key | ) |
Find the range of children that have the given key.
std::pair<const_assoc_iterator, const_assoc_iterator> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::equal_range | ( | const key_type & | key | ) | const |
Find the range of children that have the given key.
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::erase | ( | iterator | where | ) |
Erase the child pointed at by the iterator.
This operation invalidates the given iterator, as well as its equivalent assoc_iterator.
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::erase | ( | iterator | first, |
iterator | last | ||
) |
size_type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::erase | ( | const key_type & | key | ) |
Erase all direct children with the given key and return the count.
assoc_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::find | ( | const key_type & | key | ) |
Find a child with the given key, or not_found() if there is none.
There is no guarantee about which child is returned if multiple have the same key.
const_assoc_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::find | ( | const key_type & | key | ) | const |
Find a child with the given key, or not_found() if there is none.
There is no guarantee about which child is returned if multiple have the same key.
value_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::front | ( | ) |
const value_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::front | ( | ) | const |
boost::enable_if<detail::is_translator<Translator>, Type>::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get | ( | const path_type & | path, |
Translator | tr | ||
) | const |
Shorthand for get_child(path).get_value(tr).
Type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get | ( | const path_type & | path | ) | const |
Shorthand for get_child(path).get_value<Type>().
Type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get | ( | const path_type & | path, |
const Type & | default_value, | ||
Translator | tr | ||
) | const |
Shorthand for get_child(path, empty_ptree()) .get_value(default_value, tr).
That is, return the translated value if possible, and the default value if the node doesn't exist or conversion fails.
boost::enable_if< detail::is_character<Ch>, std::basic_string<Ch> >::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get | ( | const path_type & | path, |
const Ch * | default_value, | ||
Translator | tr | ||
) | const |
Make get do the right thing for string literals.
boost::disable_if<detail::is_translator<Type>, Type>::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get | ( | const path_type & | path, |
const Type & | default_value | ||
) | const |
Shorthand for get_child(path, empty_ptree()) .get_value(default_value).
That is, return the translated value if possible, and the default value if the node doesn't exist or conversion fails.
boost::enable_if< detail::is_character<Ch>, std::basic_string<Ch> >::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get | ( | const path_type & | path, |
const Ch * | default_value | ||
) | const |
Make get do the right thing for string literals.
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child | ( | const path_type & | path | ) |
Get the child at the given path, or throw ptree_bad_path
.
const self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child | ( | const path_type & | path | ) | const |
Get the child at the given path, or throw ptree_bad_path
.
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child | ( | const path_type & | path, |
self_type & | default_value | ||
) |
Get the child at the given path, or return default_value
.
const self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child | ( | const path_type & | path, |
const self_type & | default_value | ||
) | const |
Get the child at the given path, or return default_value
.
optional<self_type &> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child_optional | ( | const path_type & | path | ) |
Get the child at the given path, or return boost::null.
Referenced by boost::basic_settings_section< CharT >::has_parameter(), and boost::basic_settings_section< CharT >::has_section().
optional<const self_type &> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child_optional | ( | const path_type & | path | ) | const |
Get the child at the given path, or return boost::null.
optional<Type> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_optional | ( | const path_type & | path, |
Translator | tr | ||
) | const |
Shorthand for:
That is, return the value if it exists and can be converted, or nil.
optional<Type> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_optional | ( | const path_type & | path | ) | const |
Shorthand for:
That is, return the value if it exists and can be converted, or nil.
boost::enable_if<detail::is_translator<Translator>, Type>::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value | ( | Translator | tr | ) | const |
Take the value of this node and attempt to translate it to a Type
object using the supplied translator.
ptree_bad_data | if the conversion fails. |
Type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value | ( | ) | const |
Take the value of this node and attempt to translate it to a Type
object using the default translator.
ptree_bad_data | if the conversion fails. |
Type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value | ( | const Type & | default_value, |
Translator | tr | ||
) | const |
Take the value of this node and attempt to translate it to a Type
object using the supplied translator.
Return default_value
if this fails.
boost::enable_if< detail::is_character<Ch>, std::basic_string<Ch> >::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value | ( | const Ch * | default_value, |
Translator | tr | ||
) | const |
Make get_value do the right thing for string literals.
boost::disable_if<detail::is_translator<Type>, Type>::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value | ( | const Type & | default_value | ) | const |
Take the value of this node and attempt to translate it to a Type
object using the default translator.
Return default_value
if this fails.
boost::enable_if< detail::is_character<Ch>, std::basic_string<Ch> >::type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value | ( | const Ch * | default_value | ) | const |
Make get_value do the right thing for string literals.
optional<Type> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value_optional | ( | Translator | tr | ) | const |
Take the value of this node and attempt to translate it to a Type
object using the supplied translator.
Return boost::null if this fails.
optional<Type> boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_value_optional | ( | ) | const |
Take the value of this node and attempt to translate it to a Type
object using the default translator.
Return boost::null if this fails.
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::insert | ( | iterator | where, |
const value_type & | value | ||
) |
Insert a copy of the given tree with its key just before the given position in this node.
This operation invalidates no iterators.
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::insert | ( | iterator | where, |
It | first, | ||
It | last | ||
) |
size_type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::max_size | ( | ) | const |
assoc_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::not_found | ( | ) |
Returns the not-found iterator.
Equivalent to end() in a real associative container.
const_assoc_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::not_found | ( | ) | const |
Returns the not-found iterator.
Equivalent to end() in a real associative container.
bool boost::property_tree::basic_ptree< Key, Data, KeyCompare >::operator!= | ( | const self_type & | rhs | ) | const |
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::operator= | ( | const self_type & | rhs | ) |
Basic guarantee only.
bool boost::property_tree::basic_ptree< Key, Data, KeyCompare >::operator== | ( | const self_type & | rhs | ) | const |
Two property trees are the same if they have the same data, the keys and order of their children are the same, and the children compare equal, recursively.
assoc_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::ordered_begin | ( | ) |
Returns an iterator to the first child, in key order.
const_assoc_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::ordered_begin | ( | ) | const |
Returns an iterator to the first child, in key order.
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::pop_back | ( | ) |
Equivalent to erase(boost::prior(end())).
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::pop_front | ( | ) |
Equivalent to erase(begin()).
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::push_back | ( | const value_type & | value | ) |
Equivalent to insert(end(), value).
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::push_front | ( | const value_type & | value | ) |
Equivalent to insert(begin(), value).
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::put | ( | const path_type & | path, |
const Type & | value, | ||
Translator | tr | ||
) |
Set the value of the node at the given path to the supplied value, translated to the tree's data type.
If the node doesn't exist, it is created, including all its missing parents.
ptree_bad_data | if the conversion fails. |
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::put | ( | const path_type & | path, |
const Type & | value | ||
) |
Set the value of the node at the given path to the supplied value, translated to the tree's data type.
If the node doesn't exist, it is created, including all its missing parents.
ptree_bad_data | if the conversion fails. |
self_type& boost::property_tree::basic_ptree< Key, Data, KeyCompare >::put_child | ( | const path_type & | path, |
const self_type & | value | ||
) |
Set the node at the given path to the given value.
Create any missing parents. If the node at the path already exists, replace it.
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::put_value | ( | const Type & | value, |
Translator | tr | ||
) |
Replace the value at this node with the given value, translated to the tree's data type using the supplied translator.
ptree_bad_data | if the conversion fails. |
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::put_value | ( | const Type & | value | ) |
Replace the value at this node with the given value, translated to the tree's data type using the default translator.
ptree_bad_data | if the conversion fails. |
reverse_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::rbegin | ( | ) |
const_reverse_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::rbegin | ( | ) | const |
reverse_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::rend | ( | ) |
const_reverse_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::rend | ( | ) | const |
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::reverse | ( | ) |
Reverses the order of direct children in the property tree.
size_type boost::property_tree::basic_ptree< Key, Data, KeyCompare >::size | ( | ) | const |
The number of direct children of this node.
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::sort | ( | Compare | comp | ) |
Sorts the direct children of this node according to the predicate.
The predicate is passed the whole pair of key and child.
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::sort | ( | ) |
Sorts the direct children of this node according to key order.
void boost::property_tree::basic_ptree< Key, Data, KeyCompare >::swap | ( | self_type & | rhs | ) |
Swap with other tree.
Only constant-time and nothrow if the data type's swap is.
iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::to_iterator | ( | assoc_iterator | it | ) |
Get the iterator that points to the same element as the argument.
const_iterator boost::property_tree::basic_ptree< Key, Data, KeyCompare >::to_iterator | ( | const_assoc_iterator | it | ) | const |
Get the iterator that points to the same element as the argument.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |