diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:30:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:32:57 +0900 |
commit | 71d216b90256936a9638f325af9bc69d720e75de (patch) | |
tree | 9c5f682d341c7c88ad0c8e3d4b262e00b6fb691a /doc/html/property_tree | |
parent | 733b5d5ae2c5d625211e2985ac25728ac3f54883 (diff) | |
download | boost-71d216b90256936a9638f325af9bc69d720e75de.tar.gz boost-71d216b90256936a9638f325af9bc69d720e75de.tar.bz2 boost-71d216b90256936a9638f325af9bc69d720e75de.zip |
Imported Upstream version 1.59.0
Change-Id: I2dde00f4eca71df3eea9d251dcaecde18a6c90a5
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/html/property_tree')
-rw-r--r-- | doc/html/property_tree/accessing.html | 85 | ||||
-rw-r--r-- | doc/html/property_tree/appendices.html | 3 | ||||
-rw-r--r-- | doc/html/property_tree/container.html | 1 | ||||
-rw-r--r-- | doc/html/property_tree/parsers.html | 5 | ||||
-rw-r--r-- | doc/html/property_tree/reference.html | 69 | ||||
-rw-r--r-- | doc/html/property_tree/synopsis.html | 11 | ||||
-rw-r--r-- | doc/html/property_tree/tutorial.html | 1 |
7 files changed, 91 insertions, 84 deletions
diff --git a/doc/html/property_tree/accessing.html b/doc/html/property_tree/accessing.html index 7df4a1ec4f..14bdce4ff7 100644 --- a/doc/html/property_tree/accessing.html +++ b/doc/html/property_tree/accessing.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -30,23 +31,23 @@ <p> Property tree resembles (almost is) a standard container with value type of <code class="computeroutput"><span class="identifier">pair</span><span class="special"><</span><span class="identifier">string</span><span class="special">,</span> <span class="identifier">ptree</span><span class="special">></span></code>. - It has the usual member functions, such as <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143060864-bb">insert</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp146708976-bb">push_back</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp212732848-bb">find</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp147626160-bb">erase</a></code>, + It has the usual member functions, such as <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp157463536-bb">insert</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp225901984-bb">push_back</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp229168416-bb">find</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp227996368-bb">erase</a></code>, etc. These can of course be used to populate and access the tree. For example the following code adds key <code class="computeroutput"><span class="string">"pi"</span></code> with data (almost) equal to mathematical <span class="emphasis"><em>pi</em></span> value: </p> <pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code> <span class="identifier">pt</span><span class="special">;</span> -<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp146708976-bb">push_back</a></code><span class="special">(</span><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code><span class="special">::</span><code class="computeroutput">value_type</code><span class="special">(</span><span class="string">"pi"</span><span class="special">,</span> <code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code><span class="special">(</span><span class="string">"3.14159"</span><span class="special">)));</span> +<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp225901984-bb">push_back</a></code><span class="special">(</span><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code><span class="special">::</span><code class="computeroutput">value_type</code><span class="special">(</span><span class="string">"pi"</span><span class="special">,</span> <code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code><span class="special">(</span><span class="string">"3.14159"</span><span class="special">)));</span> </pre> <p> To find the value of <code class="computeroutput"><span class="identifier">pi</span></code> we might do the following: </p> -<pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code><span class="special">::</span><code class="computeroutput">const_iterator</code> <span class="identifier">it</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp212732848-bb">find</a></code><span class="special">(</span><span class="string">"pi"</span><span class="special">);</span> -<span class="keyword">double</span> <span class="identifier">pi</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lexical_cast</span><span class="special"><</span><span class="keyword">double</span><span class="special">>(</span><span class="identifier">it</span><span class="special">-></span><span class="identifier">second</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143289504-bb">data</a></code><span class="special">());</span> +<pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code><span class="special">::</span><code class="computeroutput">const_iterator</code> <span class="identifier">it</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp229168416-bb">find</a></code><span class="special">(</span><span class="string">"pi"</span><span class="special">);</span> +<span class="keyword">double</span> <span class="identifier">pi</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lexical_cast</span><span class="special"><</span><span class="keyword">double</span><span class="special">>(</span><span class="identifier">it</span><span class="special">-></span><span class="identifier">second</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221239824-bb">data</a></code><span class="special">());</span> </pre> <p> This looks quite cumbersome, and would be even more so if <code class="computeroutput"><span class="identifier">pi</span></code> @@ -55,13 +56,13 @@ it: </p> <pre class="programlisting"><span class="identifier">ptree</span> <span class="identifier">pt</span><span class="special">;</span> -<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code><span class="special">(</span><span class="string">"pi"</span><span class="special">,</span> <span class="number">3.14159</span><span class="special">);</span> <span class="comment">// put double</span> -<span class="keyword">double</span> <span class="identifier">pi</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code><span class="special"><</span><span class="keyword">double</span><span class="special">>(</span><span class="string">"pi"</span><span class="special">);</span> <span class="comment">// get double</span> +<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code><span class="special">(</span><span class="string">"pi"</span><span class="special">,</span> <span class="number">3.14159</span><span class="special">);</span> <span class="comment">// put double</span> +<span class="keyword">double</span> <span class="identifier">pi</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code><span class="special"><</span><span class="keyword">double</span><span class="special">>(</span><span class="string">"pi"</span><span class="special">);</span> <span class="comment">// get double</span> </pre> <p> It doesn't get simpler than that. Basically, there are 2 families of member - functions, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code> - and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code>, + functions, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code> + and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code>, which allow intuitive access to data stored in the tree (direct children or not). </p> @@ -81,11 +82,11 @@ <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> <p class="simpara"> - The throwing version (<code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code>): + The throwing version (<code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code>): </p> <pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code> <span class="identifier">pt</span><span class="special">;</span> <span class="comment">/* ... */</span> -<span class="keyword">float</span> <span class="identifier">v</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code><span class="special"><</span><span class="keyword">float</span><span class="special">>(</span><span class="string">"a.path.to.float.value"</span><span class="special">);</span> +<span class="keyword">float</span> <span class="identifier">v</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code><span class="special"><</span><span class="keyword">float</span><span class="special">>(</span><span class="string">"a.path.to.float.value"</span><span class="special">);</span> </pre> <p class="simpara"> This call locates the proper node in the tree and tries to translate its @@ -98,11 +99,11 @@ </li> <li class="listitem"> <p class="simpara"> - The default-value version (<code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code>): + The default-value version (<code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code>): </p> <pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code> <span class="identifier">pt</span><span class="special">;</span> <span class="comment">/* ... */</span> -<span class="keyword">float</span> <span class="identifier">v</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="special">-</span><span class="number">1.f</span><span class="special">);</span> +<span class="keyword">float</span> <span class="identifier">v</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="special">-</span><span class="number">1.f</span><span class="special">);</span> </pre> <p class="simpara"> It will do the same as above, but if it fails, it will return the default @@ -114,11 +115,11 @@ </li> <li class="listitem"> <p class="simpara"> - The optional version (<code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143036160-bb">get_optional</a></code>): + The optional version (<code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp207205232-bb">get_optional</a></code>): </p> <pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code> <span class="identifier">pt</span><span class="special">;</span> <span class="comment">/* ... */</span> -<span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special"><</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">v</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143036160-bb">get_optional</a></code><span class="special"><</span><span class="keyword">float</span><span class="special">>(</span><span class="string">"a.path.to.float.value"</span><span class="special">);</span> +<span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special"><</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">v</span> <span class="special">=</span> <span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp207205232-bb">get_optional</a></code><span class="special"><</span><span class="keyword">float</span><span class="special">>(</span><span class="string">"a.path.to.float.value"</span><span class="special">);</span> </pre> <p class="simpara"> This version uses boost::optional class to handle extraction failure. On @@ -128,12 +129,12 @@ </li> </ol></div> <p> - To retrieve a value from this tree (not some subkey), use <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp151044608-bb">get_value</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp151044608-bb">get_value</a></code> - (default-value version), and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp91800192-bb">get_value_optional</a></code>. - They have identical semantics to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code> + To retrieve a value from this tree (not some subkey), use <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221092800-bb">get_value</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221092800-bb">get_value</a></code> + (default-value version), and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221150880-bb">get_value_optional</a></code>. + They have identical semantics to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code> functions, except they don't take the <code class="computeroutput">path</code> - parameter. Don't call <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code> + parameter. Don't call <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code> with and empty <code class="computeroutput">path</code> to do this as it will try to extract contents of subkey with empty name. </p> @@ -149,8 +150,8 @@ <span class="identifier">pt</span><span class="special">.</span><span class="identifier">get_optional</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">>(</span><span class="identifier">path</span><span class="special">(</span><span class="string">"p.a.t.h/t.o/v.a.l.u.e"</span><span class="special">,</span> <span class="char">'/'</span><span class="special">));</span> </pre> <p> - Note: the special overloads of <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code> - and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143036160-bb">get_optional</a></code> + Note: the special overloads of <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code> + and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp207205232-bb">get_optional</a></code> taking a separator character that existed in pre-release versions of PropertyTree have been removed. This is because the overloads conflicted with using per-call data translators. @@ -161,46 +162,46 @@ Ways of Putting Data</a> </h4> <p> - To complement <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code>, - there are <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code> - and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp202436560-bb">add</a></code>. - Contrary to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code>, + To complement <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code>, + there are <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code> + and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp220970192-bb">add</a></code>. + Contrary to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code>, they have only one variant each. This is because there is no need to deal with missing values when adding data. If the supplied value cannot be converted to the tree's data type, the functions will throw <code class="computeroutput"><a class="link" href="../boost/property_tree/ptree_bad_data.html" title="Class ptree_bad_data">ptree_bad_data</a></code>. </p> <pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code> <span class="identifier">pt</span><span class="special">;</span> -<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="number">3.14f</span><span class="special">);</span> +<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="number">3.14f</span><span class="special">);</span> <span class="comment">// Overwrites the value</span> -<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="number">2.72f</span><span class="special">);</span> +<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="number">2.72f</span><span class="special">);</span> <span class="comment">// Adds a second node with the new value.</span> -<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp202436560-bb">add</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="number">3.14f</span><span class="special">);</span> +<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp220970192-bb">add</a></code><span class="special">(</span><span class="string">"a.path.to.float.value"</span><span class="special">,</span> <span class="number">3.14f</span><span class="special">);</span> </pre> <p> - Calling <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code> - will insert a new value at specified path, so that a call to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code> - specifying the same path will retrieve it. Further, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code> + Calling <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code> + will insert a new value at specified path, so that a call to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code> + specifying the same path will retrieve it. Further, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code> will insert any missing path elements during path traversal. For example, calling - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a><span class="special">(</span><span class="string">"key1.key2.key3"</span><span class="special">,</span> <span class="number">3.14f</span><span class="special">)</span></code> + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a><span class="special">(</span><span class="string">"key1.key2.key3"</span><span class="special">,</span> <span class="number">3.14f</span><span class="special">)</span></code> on an empty tree will insert three new children: <code class="computeroutput"><span class="identifier">key1</span></code>, <code class="computeroutput"><span class="identifier">key1</span><span class="special">.</span><span class="identifier">key2</span></code> and <code class="computeroutput"><span class="identifier">key1</span><span class="special">.</span><span class="identifier">key2</span><span class="special">.</span><span class="identifier">key3</span></code>. The last one will receive a string <code class="computeroutput"><span class="string">"3.14"</span></code> as data, while - the two former ones will have empty data strings. <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code> + the two former ones will have empty data strings. <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code> always inserts new keys at the back of the existing sequences. The difference - between <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code> - and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp202436560-bb">add</a></code> + between <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code> + and <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp220970192-bb">add</a></code> is that put will overwrite existing values if there are any, while add will create a new node to hold the value even if the specified path references an existing node. </p> <p> - Similar to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp151044608-bb">get_value</a></code>, - there is also a <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp202185296-bb">put_value</a></code> - function. It does the same for this property tree what <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code> + Similar to <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221092800-bb">get_value</a></code>, + there is also a <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp214268752-bb">put_value</a></code> + function. It does the same for this property tree what <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code> does for its children. Thus, it does not receive a <code class="computeroutput">path</code>: </p> <pre class="programlisting"><code class="computeroutput"><a class="link" href="../boost/property_tree/ptree.html" title="Type definition ptree">ptree</a></code> <span class="identifier">pt</span><span class="special">;</span> -<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp202185296-bb">put_value</a></code><span class="special">(</span><span class="number">3.14f</span><span class="special">);</span> +<span class="identifier">pt</span><span class="special">.</span><code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp214268752-bb">put_value</a></code><span class="special">(</span><span class="number">3.14f</span><span class="special">);</span> </pre> <p> There is no add_value function. diff --git a/doc/html/property_tree/appendices.html b/doc/html/property_tree/appendices.html index ffbe105316..ddcc864300 100644 --- a/doc/html/property_tree/appendices.html +++ b/doc/html/property_tree/appendices.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -64,7 +65,7 @@ <span class="phrase"><a name="property_tree.appendices.rationale"></a></span><a class="link" href="appendices.html#property_tree.appendices.rationale">Rationale</a> </h4> <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> - <span class="bold"><strong>Why are there 3 versions of <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code>? + <span class="bold"><strong>Why are there 3 versions of <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code>? Couldn't there be just one?</strong></span> The three versions reflect experience gathered during several of years of using property tree in several different applications. During that time I tried hard to come up with one, proper diff --git a/doc/html/property_tree/container.html b/doc/html/property_tree/container.html index c3d9f642bd..3fa4c96688 100644 --- a/doc/html/property_tree/container.html +++ b/doc/html/property_tree/container.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> diff --git a/doc/html/property_tree/parsers.html b/doc/html/property_tree/parsers.html index 1f899cda25..7241deddeb 100644 --- a/doc/html/property_tree/parsers.html +++ b/doc/html/property_tree/parsers.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -63,8 +64,8 @@ the global one. </p> <p> - XML / property tree conversion schema (<code class="computeroutput"><a class="link" href="../boost/property_tree/xml_parser/read_xml_idp209304704.html" title="Function template read_xml">read_xml</a></code> - and <code class="computeroutput"><a class="link" href="../boost/property_tree/xml_parser/write_xml_idp222722464.html" title="Function template write_xml">write_xml</a></code>): + XML / property tree conversion schema (<code class="computeroutput"><a class="link" href="../boost/property_tree/xml_parser/read_xml_idp150019456.html" title="Function template read_xml">read_xml</a></code> + and <code class="computeroutput"><a class="link" href="../boost/property_tree/xml_parser/write_xml_idp157243712.html" title="Function template write_xml">write_xml</a></code>): </p> <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> diff --git a/doc/html/property_tree/reference.html b/doc/html/property_tree/reference.html index 76f3ff58a8..dc4ab4bde1 100644 --- a/doc/html/property_tree/reference.html +++ b/doc/html/property_tree/reference.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -57,8 +58,8 @@ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/id_translator.html" title="Struct template id_translator">id_translator</a><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">,</span> <span class="keyword">typename</span> Alloc<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/translator_be_idp143296016.html" title="Struct template translator_between<std::basic_string< Ch, Traits, Alloc >, std::basic_string< Ch, Traits, Alloc >>">translator_between</a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">></span><span class="special">;</span> - <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/translator_bet_idp93097312.html" title="Struct template translator_between<T, T>">translator_between</a><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/translator_be_idp215878496.html" title="Struct template translator_between<std::basic_string< Ch, Traits, Alloc >, std::basic_string< Ch, Traits, Alloc >>">translator_between</a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">></span><span class="special">;</span> + <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/translator_be_idp207680880.html" title="Struct template translator_between<T, T>">translator_between</a><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span></pre> </div> @@ -69,20 +70,20 @@ <span class="keyword">namespace</span> <span class="identifier">property_tree</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">info_parser</span> <span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">,</span> <span class="keyword">typename</span> Ch<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp33886608.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp104306320.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">,</span> <span class="keyword">typename</span> Ch<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp32209488.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp99726240.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp204005936.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp212307632.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp210593648.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/read_info_idp156124912.html" title="Function template read_info"><span class="identifier">read_info</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">,</span> <span class="keyword">typename</span> Ch<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/write_info_idp201841792.html" title="Function template write_info"><span class="identifier">write_info</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/write_info_idp205409920.html" title="Function template write_info"><span class="identifier">write_info</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">info_writer_settings</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">info_writer_settings</span><span class="special"><</span> <span class="identifier">Ch</span> <span class="special">></span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/write_info_idp203626720.html" title="Function template write_info"><span class="identifier">write_info</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/info_parser/write_info_idp217672016.html" title="Function template write_info"><span class="identifier">write_info</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">info_writer_settings</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">info_writer_make_settings</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> @@ -98,16 +99,16 @@ <span class="keyword">class</span> <a class="link" href="../boost/property_tree/ini_parser/ini_parser_error.html" title="Class ini_parser_error">ini_parser_error</a><span class="special">;</span> <span class="keyword">bool</span> <a class="link" href="../boost/property_tree/ini_parser/validate_flags.html" title="Function validate_flags"><span class="identifier">validate_flags</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/read_ini_idp85172112.html" title="Function template read_ini"><span class="identifier">read_ini</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/read_ini_idp101407088.html" title="Function template read_ini"><span class="identifier">read_ini</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/read_ini_idp215863344.html" title="Function template read_ini"><span class="identifier">read_ini</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/read_ini_idp230717168.html" title="Function template read_ini"><span class="identifier">read_ini</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/write_ini_idp203655632.html" title="Function template write_ini"><span class="identifier">write_ini</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/write_ini_idp155201728.html" title="Function template write_ini"><span class="identifier">write_ini</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">int</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/write_ini_idp214241296.html" title="Function template write_ini"><span class="identifier">write_ini</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">int</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/ini_parser/write_ini_idp205666256.html" title="Function template write_ini"><span class="identifier">write_ini</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">int</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span> @@ -120,16 +121,16 @@ <span class="keyword">namespace</span> <span class="identifier">property_tree</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">json_parser</span> <span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/read_json_idp101821920.html" title="Function template read_json"><span class="identifier">read_json</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/read_json_idp110658880.html" title="Function template read_json"><span class="identifier">read_json</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/read_json_idp212725680.html" title="Function template read_json"><span class="identifier">read_json</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/read_json_idp205445056.html" title="Function template read_json"><span class="identifier">read_json</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/write_json_idp194275808.html" title="Function template write_json"><span class="identifier">write_json</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/write_json_idp214458256.html" title="Function template write_json"><span class="identifier">write_json</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">bool</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/write_json_idp89861376.html" title="Function template write_json"><span class="identifier">write_json</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/json_parser/write_json_idp106721152.html" title="Function template write_json"><span class="identifier">write_json</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">,</span> <span class="keyword">bool</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span> @@ -154,7 +155,7 @@ <span class="keyword">typedef</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <span class="special">></span> <a class="link" href="../boost/property_tree/wptree.html" title="Type definition wptree"><span class="identifier">wptree</span></a><span class="special">;</span> <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/property_tree/wiptree.html" title="Type definition wiptree"><span class="identifier">wiptree</span></a><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> K<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">,</span> <span class="keyword">typename</span> C<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/swap_idp156037824.html" title="Function template swap"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/swap_idp92371152.html" title="Function template swap"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span></pre> </div> @@ -164,11 +165,11 @@ <pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">property_tree</span> <span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Archive<span class="special">,</span> <span class="keyword">typename</span> K<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">,</span> <span class="keyword">typename</span> C<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/save_idp206781952.html" title="Function template save"><span class="identifier">save</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/save_idp154187280.html" title="Function template save"><span class="identifier">save</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Archive<span class="special">,</span> <span class="keyword">typename</span> K<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">,</span> <span class="keyword">typename</span> C<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/load_idp150025600.html" title="Function template load"><span class="identifier">load</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/load_idp205463792.html" title="Function template load"><span class="identifier">load</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Archive<span class="special">,</span> <span class="keyword">typename</span> K<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">,</span> <span class="keyword">typename</span> C<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/serialize_idp149074064.html" title="Function template serialize"><span class="identifier">serialize</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/serialize_idp98162352.html" title="Function template serialize"><span class="identifier">serialize</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/property_tree/basic_ptree.html" title="Class template basic_ptree">basic_ptree</a><span class="special"><</span> <span class="identifier">K</span><span class="special">,</span> <span class="identifier">D</span><span class="special">,</span> <span class="identifier">C</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span></pre> </div> @@ -182,21 +183,21 @@ <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_stream.html" title="Struct template customize_stream">customize_stream</a><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp223904144.html" title="Struct template customize_stream<Ch, Traits, bool, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp224460896.html" title="Struct template customize_stream<Ch, Traits, bool, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp106726464.html" title="Struct template customize_stream<Ch, Traits, Ch, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp160898256.html" title="Struct template customize_stream<Ch, Traits, Ch, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">,</span> <span class="keyword">typename</span> F<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp209121872.html" title="Struct template customize_stream<Ch, Traits, F, typename boost::enable_if< detail::is_inexact< F > >::type>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special"><</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">is_inexact</span><span class="special"><</span> <span class="identifier">F</span> <span class="special">></span> <span class="special">></span><span class="special">::</span><span class="identifier">type</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_stre_idp95731648.html" title="Struct template customize_stream<Ch, Traits, F, typename boost::enable_if< detail::is_inexact< F > >::type>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special"><</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">is_inexact</span><span class="special"><</span> <span class="identifier">F</span> <span class="special">></span> <span class="special">></span><span class="special">::</span><span class="identifier">type</span><span class="special">></span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp104622000.html" title="Struct template customize_stream<Ch, Traits, signed char, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="keyword">signed</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp158967040.html" title="Struct template customize_stream<Ch, Traits, signed char, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="keyword">signed</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp212641280.html" title="Struct template customize_stream<Ch, Traits, unsigned char, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/customize_str_idp229460720.html" title="Struct template customize_stream<Ch, Traits, unsigned char, void>">customize_stream</a><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">void</span><span class="special">></span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">,</span> <span class="keyword">typename</span> Alloc<span class="special">,</span> <span class="keyword">typename</span> E<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/property_tree/stream_translator.html" title="Class template stream_translator">stream_translator</a><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">,</span> <span class="keyword">typename</span> Alloc<span class="special">,</span> <span class="keyword">typename</span> E<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/translator_be_idp212571824.html" title="Struct template translator_between<std::basic_string< Ch, Traits, Alloc >, E>">translator_between</a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">,</span> <span class="identifier">E</span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/translator_be_idp205820704.html" title="Struct template translator_between<std::basic_string< Ch, Traits, Alloc >, E>">translator_between</a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">,</span> <span class="identifier">E</span><span class="special">></span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span></pre> </div> @@ -206,18 +207,18 @@ <pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">property_tree</span> <span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ch<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">,</span> <span class="keyword">typename</span> Alloc<span class="special">></span> - <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/path_of_std_ba_idp88638624.html" title="Struct template path_of<std::basic_string< Ch, Traits, Alloc >>">path_of</a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">></span><span class="special">;</span> + <span class="keyword">struct</span> <a class="link" href="../boost/property_tree/path_of_std_b_idp106753552.html" title="Struct template path_of<std::basic_string< Ch, Traits, Alloc >>">path_of</a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">></span><span class="special">></span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> String<span class="special">,</span> <span class="keyword">typename</span> Translator<span class="special">></span> string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> - <a name="boost.property_tree.operator/_idp143188448"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span>string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> p1<span class="special">,</span> + <a name="boost.property_tree.operator/_idp164398656"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span>string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> p1<span class="special">,</span> <span class="keyword">const</span> string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> <span class="special">&</span> p2<span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> String<span class="special">,</span> <span class="keyword">typename</span> Translator<span class="special">></span> string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> - <a name="boost.property_tree.operator/_idp84909328"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span>string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> p1<span class="special">,</span> + <a name="boost.property_tree.operator/_idp205532592"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span>string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> p1<span class="special">,</span> <span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">String</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">*</span> p2<span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> String<span class="special">,</span> <span class="keyword">typename</span> Translator<span class="special">></span> string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> - <a name="boost.property_tree.operator/_idp202217216"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">String</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">*</span> p1<span class="special">,</span> + <a name="boost.property_tree.operator/_idp72374752"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">String</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">*</span> p1<span class="special">,</span> <span class="keyword">const</span> string_path<span class="special"><</span> <span class="identifier">String</span><span class="special">,</span> <span class="identifier">Translator</span> <span class="special">></span> <span class="special">&</span> p2<span class="special">)</span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span></pre> @@ -229,17 +230,17 @@ <span class="keyword">namespace</span> <span class="identifier">property_tree</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">xml_parser</span> <span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/read_xml_idp209304704.html" title="Function template read_xml"><span class="identifier">read_xml</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/read_xml_idp150019456.html" title="Function template read_xml"><span class="identifier">read_xml</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">int</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/read_xml_idp97121920.html" title="Function template read_xml"><span class="identifier">read_xml</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">int</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/read_xml_idp205787136.html" title="Function template read_xml"><span class="identifier">read_xml</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">int</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/write_xml_idp222722464.html" title="Function template write_xml"><span class="identifier">write_xml</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/write_xml_idp157243712.html" title="Function template write_xml"><span class="identifier">write_xml</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">xml_writer_settings</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span> <span class="special">></span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">xml_writer_settings</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span> <span class="special">></span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Ptree<span class="special">></span> - <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/write_xml_idp145657552.html" title="Function template write_xml"><span class="identifier">write_xml</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> + <span class="keyword">void</span> <a class="link" href="../boost/property_tree/xml_parser/write_xml_idp163670112.html" title="Function template write_xml"><span class="identifier">write_xml</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Ptree</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">xml_writer_settings</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span> <span class="special">></span> <span class="special">&</span> <span class="special">=</span> <span class="identifier">xml_writer_settings</span><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">Ptree</span><span class="special">::</span><span class="identifier">key_type</span> <span class="special">></span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> diff --git a/doc/html/property_tree/synopsis.html b/doc/html/property_tree/synopsis.html index 2543ff4ca7..b361376ed6 100644 --- a/doc/html/property_tree/synopsis.html +++ b/doc/html/property_tree/synopsis.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -35,11 +36,11 @@ using predefined combinations of template parameters. Property tree is basically a somewhat simplified standard container (the closest being std::list), plus a bunch of extra member functions. These functions allow easy and effective - access to the data stored in property tree. They are various variants of <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp106432144-bb">get</a></code>, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp97090864-bb">put</a></code>, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp151044608-bb">get_value</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp202185296-bb">put_value</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143293472-bb">get_child</a></code>, - <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp222554080-bb">put_child</a></code>. - Additionally, there is a <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp143289504-bb">data</a></code> + access to the data stored in property tree. They are various variants of <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208971888-bb">get</a></code>, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221175120-bb">put</a></code>, <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221092800-bb">get_value</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp214268752-bb">put_value</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp208779616-bb">get_child</a></code>, + <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp220958992-bb">put_child</a></code>. + Additionally, there is a <code class="computeroutput"><a class="link" href="../boost/property_tree/basic_ptree.html#idp221239824-bb">data</a></code> function to access node data directly. </p> <p> diff --git a/doc/html/property_tree/tutorial.html b/doc/html/property_tree/tutorial.html index 554238184c..9e3a39939d 100644 --- a/doc/html/property_tree/tutorial.html +++ b/doc/html/property_tree/tutorial.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |