qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jr...@apache.org
Subject [11/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
Date Tue, 17 May 2016 12:43:49 GMT
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html
b/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html
index 893b69e..2f6d057 100755
--- a/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html
+++ b/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html
@@ -93,74 +93,78 @@ $(document).ready(function(){initNavTree('message__id_8hpp_source.html','');});
 <div class="title">message_id.hpp</div>  </div>
 </div><!--header-->
 <div class="contents">
-<div class="fragment"><div class="line"><a name="l00001"></a><span
class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef MESSAGE_ID_HPP</span></div>
-<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span
class="preprocessor">#define MESSAGE_ID_HPP</span></div>
+<div class="fragment"><div class="line"><a name="l00001"></a><span
class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef PROTON_MESSAGE_ID_HPP</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span
class="preprocessor">#define PROTON_MESSAGE_ID_HPP</span></div>
 <div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
 <div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span
class="comment">/*</span></div>
-<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span
class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div>
-<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span
class="comment"> * or more contributor license agreements.  See the NOTICE file</span></div>
-<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span
class="comment"> * distributed with this work for additional information</span></div>
-<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span
class="comment"> * regarding copyright ownership.  The ASF licenses this file</span></div>
-<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span
class="comment"> * to you under the Apache License, Version 2.0 (the</span></div>
-<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span
class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div>
-<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span
class="comment"> * with the License.  You may obtain a copy of the License at</span></div>
-<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span
class="comment"> *</span></div>
-<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span
class="comment"> *   http://www.apache.org/licenses/LICENSE-2.0</span></div>
-<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span
class="comment"> *</span></div>
-<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span
class="comment"> * Unless required by applicable law or agreed to in writing,</span></div>
-<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span
class="comment"> * software distributed under the License is distributed on an</span></div>
-<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span
class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
ANY</span></div>
-<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span
class="comment"> * KIND, either express or implied.  See the License for the</span></div>
-<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span
class="comment"> * specific language governing permissions and limitations</span></div>
-<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span
class="comment"> * under the License.</span></div>
-<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span
class="comment"> */</span></div>
-<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
-<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span
class="preprocessor">#include &lt;proton/binary.hpp&gt;</span></div>
-<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span
class="preprocessor">#include &lt;proton/scalar_base.hpp&gt;</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span
class="preprocessor">#include &lt;proton/uuid.hpp&gt;</span></div>
-<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
-<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span
class="preprocessor">#include &lt;string&gt;</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span
class="comment"> *</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span
class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span
class="comment"> * or more contributor license agreements.  See the NOTICE file</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span
class="comment"> * distributed with this work for additional information</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span
class="comment"> * regarding copyright ownership.  The ASF licenses this file</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span
class="comment"> * to you under the Apache License, Version 2.0 (the</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span
class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span
class="comment"> * with the License.  You may obtain a copy of the License at</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span
class="comment"> *</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span
class="comment"> *   http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span
class="comment"> *</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span
class="comment"> * Unless required by applicable law or agreed to in writing,</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span
class="comment"> * software distributed under the License is distributed on an</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span
class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
ANY</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span
class="comment"> * KIND, either express or implied.  See the License for the</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span
class="comment"> * specific language governing permissions and limitations</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span
class="comment"> * under the License.</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span
class="comment"> *</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span
class="comment"> */</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span
class="preprocessor">#include &quot;proton/binary.hpp&quot;</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span
class="preprocessor">#include &quot;proton/internal/scalar_base.hpp&quot;</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span
class="preprocessor">#include &quot;proton/uuid.hpp&quot;</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
-<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span
class="keyword">namespace </span><a class="code" href="namespaceproton.html">proton</a>
{</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span
class="preprocessor">#include &lt;string&gt;</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
-<div class="line"><a name="l00040"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html">   40</a></span>&#160;<span
class="keyword">class </span><a class="code" href="classproton_1_1message__id.html">message_id</a>
: <span class="keyword">public</span> <a class="code" href="classproton_1_1scalar__base.html">scalar_base</a>
{</div>
-<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;
 <span class="keyword">public</span>:</div>
-<div class="line"><a name="l00043"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">
  43</a></span>&#160;    <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>()
{ put_(uint64_t(0)); }</div>
-<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
-<div class="line"><a name="l00046"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a37823024300ef4413ca077df9ddcc4d2">
  46</a></span>&#160;    <span class="keyword">template</span>
&lt;<span class="keyword">class</span> T&gt; <a class="code" href="classproton_1_1message__id.html#a37823024300ef4413ca077df9ddcc4d2">message_id</a>(<span
class="keyword">const</span> T&amp; x) { *<span class="keyword">this</span>
= x; }</div>
-<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
-<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;
   <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
operator=(uint64_t x) { put_(x); <span class="keywordflow">return</span> *<span
class="keyword">this</span>; }</div>
-<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>&amp;
operator=(<span class="keyword">const</span> uuid&amp; x) { put_(x); <span
class="keywordflow">return</span> *<span class="keyword">this</span>;
}</div>
-<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>&amp;
operator=(<span class="keyword">const</span> binary&amp; x) { put_(x); <span
class="keywordflow">return</span> *<span class="keyword">this</span>;
}</div>
-<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>&amp;
operator=(<span class="keyword">const</span> std::string&amp; x) { put_(x);
<span class="keywordflow">return</span> *<span class="keyword">this</span>;
}</div>
-<div class="line"><a name="l00056"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d">
  56</a></span>&#160;    <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
<a class="code" href="classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d">operator=</a>(<span
class="keyword">const</span> <span class="keywordtype">char</span>* x)
{ put_(x); <span class="keywordflow">return</span> *<span class="keyword">this</span>;
} </div>
-<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
-<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;
 <span class="keyword">private</span>:</div>
-<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>(<span
class="keyword">const</span> pn_atom_t&amp; a): <a class="code" href="classproton_1_1scalar__base.html">scalar_base</a>(a)
{}</div>
-<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
-<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;
 <span class="keyword">friend</span> <span class="keyword">class </span>message;</div>
-<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;
 <span class="keyword">friend</span> <span class="keyword">class </span>codec::decoder;</div>
-<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;};</div>
-<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
-<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span
class="keyword">template</span> &lt;<span class="keyword">class</span>
T&gt; T <span class="keyword">get</span>(<span class="keyword">const</span>
message_id&amp; x);</div>
-<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
-<div class="line"><a name="l00073"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a8e96d12c2968550ffea0e57fc6ca2c7d">
  73</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> uint64_t get&lt;uint64_t&gt;(<span
class="keyword">const</span> <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
x) { <span class="keywordflow">return</span> internal::get&lt;uint64_t&gt;(x);
}</div>
-<div class="line"><a name="l00075"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a9df1e3d65a418435d46c08f9cb2948de">
  75</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> <a class="code" href="classproton_1_1uuid.html">uuid</a>
get&lt;uuid&gt;(<span class="keyword">const</span> <a class="code"
href="classproton_1_1message__id.html">message_id</a>&amp; x) { <span class="keywordflow">return</span>
internal::get&lt;uuid&gt;(x); }</div>
-<div class="line"><a name="l00077"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#aad4dad4f21de91016ac93e6df2f4b897">
  77</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> <a class="code" href="classproton_1_1binary.html">binary</a>
get&lt;binary&gt;(<span class="keyword">const</span> <a class="code"
href="classproton_1_1message__id.html">message_id</a>&amp; x) { <span class="keywordflow">return</span>
internal::get&lt;binary&gt;(x); }</div>
-<div class="line"><a name="l00079"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#ad99d2405b26cc9862428f13aac25ddf6">
  79</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> std::string get&lt;std::string&gt;(<span
class="keyword">const</span> <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
x) { <span class="keywordflow">return</span> internal::get&lt;std::string&gt;(x);
}</div>
-<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
-<div class="line"><a name="l00083"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07">
  83</a></span>&#160;<span class="keyword">template</span>&lt;<span
class="keyword">class</span> T&gt; T <a class="code" href="classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07">coerce</a>(<span
class="keyword">const</span> <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
x) { <span class="keywordflow">return</span> internal::coerce&lt;T&gt;(x);
}</div>
-<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;}</div>
-<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span
class="preprocessor">#endif // MESSAGE_ID_HPP</span></div>
-<div class="ttc" id="classproton_1_1message__id_html_a8965a5e1c4122df8aee11e971ceabd07"><div
class="ttname"><a href="classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07">proton::message_id::coerce</a></div><div
class="ttdeci">T coerce(const message_id &amp;x)</div><div class="ttdoc">Coerce
the contained value to type T. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:83</div></div>
-<div class="ttc" id="classproton_1_1uuid_html"><div class="ttname"><a href="classproton_1_1uuid.html">proton::uuid</a></div><div
class="ttdoc">A 16-byte universally unique identifier. </div><div class="ttdef"><b>Definition:</b>
uuid.hpp:31</div></div>
-<div class="ttc" id="classproton_1_1scalar__base_html"><div class="ttname"><a
href="classproton_1_1scalar__base.html">proton::scalar_base</a></div><div
class="ttdoc">Base class for scalar types. </div><div class="ttdef"><b>Definition:</b>
scalar_base.hpp:47</div></div>
-<div class="ttc" id="classproton_1_1message__id_html_a37823024300ef4413ca077df9ddcc4d2"><div
class="ttname"><a href="classproton_1_1message__id.html#a37823024300ef4413ca077df9ddcc4d2">proton::message_id::message_id</a></div><div
class="ttdeci">message_id(const T &amp;x)</div><div class="ttdoc">Construct
from any type that can be assigned. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:46</div></div>
-<div class="ttc" id="classproton_1_1binary_html"><div class="ttname"><a href="classproton_1_1binary.html">proton::binary</a></div><div
class="ttdoc">Arbitrary binary data. </div><div class="ttdef"><b>Definition:</b>
binary.hpp:31</div></div>
-<div class="ttc" id="classproton_1_1message__id_html_a0e4798868734cc90ea4e9ed3ca870d3d"><div
class="ttname"><a href="classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d">proton::message_id::operator=</a></div><div
class="ttdeci">message_id &amp; operator=(const char *x)</div><div class="ttdoc">Treated
as amqp::STRING. </div><div class="ttdef"><b>Definition:</b> message_id.hpp:56</div></div>
-<div class="ttc" id="namespaceproton_html"><div class="ttname"><a href="namespaceproton.html">proton</a></div><div
class="ttdoc">The proton namespace. </div><div class="ttdef"><b>Definition:</b>
acceptor.hpp:31</div></div>
-<div class="ttc" id="classproton_1_1message__id_html"><div class="ttname"><a
href="classproton_1_1message__id.html">proton::message_id</a></div><div
class="ttdoc">An AMQP message ID. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:40</div></div>
-<div class="ttc" id="classproton_1_1message__id_html_afb6e34ccd03d666d3e5cd4312064c4a3"><div
class="ttname"><a href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">proton::message_id::message_id</a></div><div
class="ttdeci">message_id()</div><div class="ttdoc">An empty message_id has
a uint64_t == 0 value. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:43</div></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span
class="keyword">namespace </span><a class="code" href="namespaceproton.html">proton</a>
{</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html">   42</a></span>&#160;<span
class="keyword">class </span><a class="code" href="classproton_1_1message__id.html">message_id</a>
: <span class="keyword">public</span> internal::scalar_base {</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;
 <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00045"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">
  45</a></span>&#160;    <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>()
{ put_(uint64_t(0)); }</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
+<div class="line"><a name="l00048"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a37823024300ef4413ca077df9ddcc4d2">
  48</a></span>&#160;    <span class="keyword">template</span>
&lt;<span class="keyword">class</span> T&gt; <a class="code" href="classproton_1_1message__id.html#a37823024300ef4413ca077df9ddcc4d2">message_id</a>(<span
class="keyword">const</span> T&amp; x) { *<span class="keyword">this</span>
= x; }</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;
   <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
operator=(uint64_t x) { put_(x); <span class="keywordflow">return</span> *<span
class="keyword">this</span>; }</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>&amp;
operator=(<span class="keyword">const</span> uuid&amp; x) { put_(x); <span
class="keywordflow">return</span> *<span class="keyword">this</span>;
}</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>&amp;
operator=(<span class="keyword">const</span> binary&amp; x) { put_(x); <span
class="keywordflow">return</span> *<span class="keyword">this</span>;
}</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>&amp;
operator=(<span class="keyword">const</span> std::string&amp; x) { put_(x);
<span class="keywordflow">return</span> *<span class="keyword">this</span>;
}</div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d">
  58</a></span>&#160;    <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
<a class="code" href="classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d">operator=</a>(<span
class="keyword">const</span> <span class="keywordtype">char</span>* x)
{ put_(x); <span class="keywordflow">return</span> *<span class="keyword">this</span>;
} </div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;
 <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;
   <a class="code" href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">message_id</a>(<span
class="keyword">const</span> pn_atom_t&amp; a): internal::scalar_base(a) {}</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;
 <span class="keyword">friend</span> <span class="keyword">class </span>message;</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;
 <span class="keyword">friend</span> <span class="keyword">class </span>codec::decoder;</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;};</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span
class="comment">// XXX Document this?</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span
class="keyword">template</span> &lt;<span class="keyword">class</span>
T&gt; T <span class="keyword">get</span>(<span class="keyword">const</span>
message_id&amp; x);</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a8e96d12c2968550ffea0e57fc6ca2c7d">
  76</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> uint64_t get&lt;uint64_t&gt;(<span
class="keyword">const</span> <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
x) { <span class="keywordflow">return</span> internal::get&lt;uint64_t&gt;(x);
}</div>
+<div class="line"><a name="l00078"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a9df1e3d65a418435d46c08f9cb2948de">
  78</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> <a class="code" href="classproton_1_1uuid.html">uuid</a>
get&lt;uuid&gt;(<span class="keyword">const</span> <a class="code"
href="classproton_1_1message__id.html">message_id</a>&amp; x) { <span class="keywordflow">return</span>
internal::get&lt;uuid&gt;(x); }</div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#aad4dad4f21de91016ac93e6df2f4b897">
  80</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> <a class="code" href="classproton_1_1binary.html">binary</a>
get&lt;binary&gt;(<span class="keyword">const</span> <a class="code"
href="classproton_1_1message__id.html">message_id</a>&amp; x) { <span class="keywordflow">return</span>
internal::get&lt;binary&gt;(x); }</div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#ad99d2405b26cc9862428f13aac25ddf6">
  82</a></span>&#160;<span class="keyword">template</span>&lt;&gt;
<span class="keyword">inline</span> std::string get&lt;std::string&gt;(<span
class="keyword">const</span> <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
x) { <span class="keywordflow">return</span> internal::get&lt;std::string&gt;(x);
}</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
+<div class="line"><a name="l00086"></a><span class="lineno"><a
class="line" href="classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07">
  86</a></span>&#160;<span class="keyword">template</span>&lt;<span
class="keyword">class</span> T&gt; T <a class="code" href="classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07">coerce</a>(<span
class="keyword">const</span> <a class="code" href="classproton_1_1message__id.html">message_id</a>&amp;
x) { <span class="keywordflow">return</span> internal::coerce&lt;T&gt;(x);
}</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}
<span class="comment">// proton</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span
class="preprocessor">#endif // PROTON_MESSAGE_ID_HPP</span></div>
+<div class="ttc" id="classproton_1_1message__id_html_a8965a5e1c4122df8aee11e971ceabd07"><div
class="ttname"><a href="classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07">proton::message_id::coerce</a></div><div
class="ttdeci">T coerce(const message_id &amp;x)</div><div class="ttdoc">Coerce
the contained value to type T. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:86</div></div>
+<div class="ttc" id="classproton_1_1uuid_html"><div class="ttname"><a href="classproton_1_1uuid.html">proton::uuid</a></div><div
class="ttdoc">A 16-byte universally unique identifier. </div><div class="ttdef"><b>Definition:</b>
uuid.hpp:34</div></div>
+<div class="ttc" id="classproton_1_1message__id_html_a37823024300ef4413ca077df9ddcc4d2"><div
class="ttname"><a href="classproton_1_1message__id.html#a37823024300ef4413ca077df9ddcc4d2">proton::message_id::message_id</a></div><div
class="ttdeci">message_id(const T &amp;x)</div><div class="ttdoc">Construct
from any type that can be assigned. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:48</div></div>
+<div class="ttc" id="classproton_1_1binary_html"><div class="ttname"><a href="classproton_1_1binary.html">proton::binary</a></div><div
class="ttdoc">Arbitrary binary data. </div><div class="ttdef"><b>Definition:</b>
binary.hpp:34</div></div>
+<div class="ttc" id="classproton_1_1message__id_html_a0e4798868734cc90ea4e9ed3ca870d3d"><div
class="ttname"><a href="classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d">proton::message_id::operator=</a></div><div
class="ttdeci">message_id &amp; operator=(const char *x)</div><div class="ttdoc">Treated
as amqp::STRING. </div><div class="ttdef"><b>Definition:</b> message_id.hpp:58</div></div>
+<div class="ttc" id="namespaceproton_html"><div class="ttname"><a href="namespaceproton.html">proton</a></div><div
class="ttdoc">The main Proton namespace. </div><div class="ttdef"><b>Definition:</b>
annotation_key.hpp:28</div></div>
+<div class="ttc" id="classproton_1_1message__id_html"><div class="ttname"><a
href="classproton_1_1message__id.html">proton::message_id</a></div><div
class="ttdoc">An AMQP message ID. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:42</div></div>
+<div class="ttc" id="classproton_1_1message__id_html_afb6e34ccd03d666d3e5cd4312064c4a3"><div
class="ttname"><a href="classproton_1_1message__id.html#afb6e34ccd03d666d3e5cd4312064c4a3">proton::message_id::message_id</a></div><div
class="ttdeci">message_id()</div><div class="ttdoc">An empty message_id has
a uint64_t value set to 0. </div><div class="ttdef"><b>Definition:</b>
message_id.hpp:45</div></div>
 </div><!-- fragment --></div><!-- contents -->
 </div><!-- doc-content -->
 <!-- start footer part -->


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message