aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ref/c++/html/string__ref_8h_source.html
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-09-03 09:45:14 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-09-03 09:45:14 -0700
commit7afa666d2f0bff9e87ab36d2d6945236eabed363 (patch)
treee56e296cc4641bc6bb513981ce8cb252b6d5463f /doc/ref/c++/html/string__ref_8h_source.html
parente0f975bbacf380bc0dfd96747cfafa3bb78312d5 (diff)
Regenerated doxygen after #3227
Diffstat (limited to 'doc/ref/c++/html/string__ref_8h_source.html')
-rw-r--r--doc/ref/c++/html/string__ref_8h_source.html251
1 files changed, 251 insertions, 0 deletions
diff --git a/doc/ref/c++/html/string__ref_8h_source.html b/doc/ref/c++/html/string__ref_8h_source.html
new file mode 100644
index 0000000000..764e0d94ed
--- /dev/null
+++ b/doc/ref/c++/html/string__ref_8h_source.html
@@ -0,0 +1,251 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.6"/>
+<title>GRPC C++: include/grpc++/support/string_ref.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { searchBox.OnSelectItem(0); });
+</script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">GRPC C++
+ &#160;<span id="projectnumber">0.11.0.0</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.6 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File&#160;List</span></a></li>
+ <li><a href="globals.html"><span>Globals</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_f1b2ab2a88927c1e950e43c1cf4b634b.html">grpc++</a></li><li class="navelem"><a class="el" href="dir_b3f05bce718e375cbe64ccd78910fb7d.html">support</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">string_ref.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="string__ref_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * Copyright 2015, Google Inc.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * All rights reserved.</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"> * Redistribution and use in source and binary forms, with or without</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions are</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * met:</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> *</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * * Redistributions of source code must retain the above copyright</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * * Redistributions in binary form must reproduce the above</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * copyright notice, this list of conditions and the following disclaimer</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * in the documentation and/or other materials provided with the</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * distribution.</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * * Neither the name of Google Inc. nor the names of its</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * contributors may be used to endorse or promote products derived from</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * this software without specific prior written permission.</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> *</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment"> *</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment"> */</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#ifndef GRPCXX_SUPPORT_STRING_REF_H</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define GRPCXX_SUPPORT_STRING_REF_H</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &lt;iterator&gt;</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="config_8h.html">grpc++/support/config.h</a>&gt;</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span>grpc {</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html"> 52</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1string__ref.html">string_ref</a> {</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// types</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913"> 55</a></span>&#160; <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913">const_iterator</a>;</div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85"> 56</a></span>&#160; <span class="keyword">typedef</span> std::reverse_iterator&lt;const_iterator&gt; <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a>;</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// constants</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#af30b4be3e59841594b784c537fa68244"> 59</a></span>&#160; <span class="keyword">const</span> <span class="keyword">static</span> <span class="keywordtype">size_t</span> <a class="code" href="classgrpc_1_1string__ref.html#af30b4be3e59841594b784c537fa68244">npos</a> = size_t(-1);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="comment">// construct/copy.</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a76c38b6cbf957f7b90ccff9e53c081b2"> 62</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a76c38b6cbf957f7b90ccff9e53c081b2">string_ref</a>() : data_(nullptr), length_(0) {}</div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#ab929e0c1cff6f7ab4f4d9e4b5734b18c"> 63</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#ab929e0c1cff6f7ab4f4d9e4b5734b18c">string_ref</a>(<span class="keyword">const</span> <a class="code" href="classgrpc_1_1string__ref.html">string_ref</a>&amp; other)</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; : data_(other.data_), length_(other.length_) {}</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classgrpc_1_1string__ref.html">string_ref</a>&amp; <a class="code" href="classgrpc_1_1string__ref.html#a4363e737a77a7b2784ee1e3b915315e3">operator=</a>(<span class="keyword">const</span> <a class="code" href="classgrpc_1_1string__ref.html">string_ref</a>&amp; rhs);</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a76c38b6cbf957f7b90ccff9e53c081b2">string_ref</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s);</div>
+<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a3b6c90d10321a5636a134be68f2f6f18"> 67</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a3b6c90d10321a5636a134be68f2f6f18">string_ref</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s, <span class="keywordtype">size_t</span> l) : data_(s), length_(l) {}</div>
+<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a10c3455e679004ab4c61708ce0403601"> 68</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a10c3455e679004ab4c61708ce0403601">string_ref</a>(<span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>&amp; s) : data_(s.<a class="code" href="classgrpc_1_1string__ref.html#a154cea379c9d7e5635b401a4cc304216">data</a>()), length_(s.<a class="code" href="classgrpc_1_1string__ref.html#aa168f10d77a09a7fe50e3432914bacdd">length</a>()) {}</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">// iterators</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a5a89910308f1fa76147697bffd8b77ba"> 71</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913">const_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#a5a89910308f1fa76147697bffd8b77ba">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_; }</div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a05a9dc01fb7935e0c6de1aff833e6aa6"> 72</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913">const_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#a05a9dc01fb7935e0c6de1aff833e6aa6">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_ + length_; }</div>
+<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#ad194881fb09f599a022f7eaf529fc7bd"> 73</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913">const_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#ad194881fb09f599a022f7eaf529fc7bd">cbegin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_; }</div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#ae9582adbd1ffc14900c44c030da2a1c1"> 74</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913">const_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#ae9582adbd1ffc14900c44c030da2a1c1">cend</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_ + length_; }</div>
+<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a5c61b5d98aedeb8e5f777deb9f039688"> 75</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#a5c61b5d98aedeb8e5f777deb9f039688">rbegin</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a>(<a class="code" href="classgrpc_1_1string__ref.html#a05a9dc01fb7935e0c6de1aff833e6aa6">end</a>());</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; }</div>
+<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#acade09cf1e91b96c094c449b8a5bd126"> 78</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#acade09cf1e91b96c094c449b8a5bd126">rend</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a>(<a class="code" href="classgrpc_1_1string__ref.html#a5a89910308f1fa76147697bffd8b77ba">begin</a>());</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; }</div>
+<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#ac72a8f2a55fe1388f2b3afa83045200b"> 81</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#ac72a8f2a55fe1388f2b3afa83045200b">crbegin</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a>(<a class="code" href="classgrpc_1_1string__ref.html#a05a9dc01fb7935e0c6de1aff833e6aa6">end</a>());</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; }</div>
+<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a0791405cd27fdf491d67cdc57e93d396"> 84</a></span>&#160; <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a> <a class="code" href="classgrpc_1_1string__ref.html#a0791405cd27fdf491d67cdc57e93d396">crend</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">const_reverse_iterator</a>(<a class="code" href="classgrpc_1_1string__ref.html#a5a89910308f1fa76147697bffd8b77ba">begin</a>());</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; }</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">// capacity</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a8073fdd95b162727457efba52efc2a40"> 89</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgrpc_1_1string__ref.html#a8073fdd95b162727457efba52efc2a40">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> length_; }</div>
+<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#aa168f10d77a09a7fe50e3432914bacdd"> 90</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgrpc_1_1string__ref.html#aa168f10d77a09a7fe50e3432914bacdd">length</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> length_; }</div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a962d3317a74a061ace0f46e0798c19f6"> 91</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgrpc_1_1string__ref.html#a962d3317a74a061ace0f46e0798c19f6">max_size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> length_; }</div>
+<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#ad97de998e80c1810741ee7a175c0a350"> 92</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1string__ref.html#ad97de998e80c1810741ee7a175c0a350">empty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> length_ == 0; }</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="comment">// element access</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classgrpc_1_1string__ref.html#a154cea379c9d7e5635b401a4cc304216"> 95</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classgrpc_1_1string__ref.html#a154cea379c9d7e5635b401a4cc304216">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data_; }</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="comment">// string operations</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classgrpc_1_1string__ref.html#a1433b87ef94239897b526e0b35a57f3f">compare</a>(<a class="code" href="classgrpc_1_1string__ref.html">string_ref</a> x) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1string__ref.html#a4d4b90bdcb6634690e989daa4234bdd6">starts_with</a>(<a class="code" href="classgrpc_1_1string__ref.html">string_ref</a> x) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classgrpc_1_1string__ref.html#a07a931b17f1b9f53c48126f38c4a5fb8">ends_with</a>(<a class="code" href="classgrpc_1_1string__ref.html">string_ref</a> x) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgrpc_1_1string__ref.html#a942796eecf03256cb77be3eb65e6366a">find</a>(<a class="code" href="classgrpc_1_1string__ref.html">string_ref</a> s) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classgrpc_1_1string__ref.html#a942796eecf03256cb77be3eb65e6366a">find</a>(<span class="keywordtype">char</span> c) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="classgrpc_1_1string__ref.html">string_ref</a> <a class="code" href="classgrpc_1_1string__ref.html#a09ee02dfcf385769503beae677266a57">substr</a>(<span class="keywordtype">size_t</span> pos, <span class="keywordtype">size_t</span> n = <a class="code" href="classgrpc_1_1string__ref.html#af30b4be3e59841594b784c537fa68244">npos</a>) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* data_;</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordtype">size_t</span> length_;</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;};</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="comment">// Comparison operators</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacegrpc.html#add0b2451b8e272bad6d673bc2ada0f47">operator==</a>(string_ref x, string_ref y);</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacegrpc.html#a48f3e907b6269b7f0f8095fa2db0afe3">operator!=</a>(string_ref x, string_ref y);</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacegrpc.html#a9dc0aa9da43925f6ff5f52895e08ce93">operator&lt;</a>(string_ref x, string_ref y);</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacegrpc.html#a43a91fc985698c2346d3942b6bb64bc3">operator&gt;</a>(string_ref x, string_ref y);</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacegrpc.html#a6ab53d108309107dda6b2a4e13646d96">operator&lt;=</a>(string_ref x, string_ref y);</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacegrpc.html#a068f3ef856653abfa58ddd445a281461">operator&gt;=</a>(string_ref x, string_ref y);</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;std::ostream&amp; <a class="code" href="namespacegrpc.html#a815bfd175cbe8b041832bdad8f57c8e6">operator&lt;&lt;</a>(std::ostream&amp; stream, <span class="keyword">const</span> string_ref&amp; <span class="keywordtype">string</span>);</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;} <span class="comment">// namespace grpc</span></div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="preprocessor">#endif // GRPCXX_SUPPORT_STRING_REF_H</span></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a962d3317a74a061ace0f46e0798c19f6"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a962d3317a74a061ace0f46e0798c19f6">grpc::string_ref::max_size</a></div><div class="ttdeci">size_t max_size() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:91</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_ae9582adbd1ffc14900c44c030da2a1c1"><div class="ttname"><a href="classgrpc_1_1string__ref.html#ae9582adbd1ffc14900c44c030da2a1c1">grpc::string_ref::cend</a></div><div class="ttdeci">const_iterator cend() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:74</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a0791405cd27fdf491d67cdc57e93d396"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a0791405cd27fdf491d67cdc57e93d396">grpc::string_ref::crend</a></div><div class="ttdeci">const_reverse_iterator crend() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:84</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_ad194881fb09f599a022f7eaf529fc7bd"><div class="ttname"><a href="classgrpc_1_1string__ref.html#ad194881fb09f599a022f7eaf529fc7bd">grpc::string_ref::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:73</div></div>
+<div class="ttc" id="namespacegrpc_html_ab04a87625da3bf85cdaf5e7856b00203"><div class="ttname"><a href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a></div><div class="ttdeci">std::string string</div><div class="ttdef"><b>Definition:</b> config.h:112</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a8073fdd95b162727457efba52efc2a40"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a8073fdd95b162727457efba52efc2a40">grpc::string_ref::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:89</div></div>
+<div class="ttc" id="namespacegrpc_html_a815bfd175cbe8b041832bdad8f57c8e6"><div class="ttname"><a href="namespacegrpc.html#a815bfd175cbe8b041832bdad8f57c8e6">grpc::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;stream, const string_ref &amp;string)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_ab929e0c1cff6f7ab4f4d9e4b5734b18c"><div class="ttname"><a href="classgrpc_1_1string__ref.html#ab929e0c1cff6f7ab4f4d9e4b5734b18c">grpc::string_ref::string_ref</a></div><div class="ttdeci">string_ref(const string_ref &amp;other)</div><div class="ttdef"><b>Definition:</b> string_ref.h:63</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a942796eecf03256cb77be3eb65e6366a"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a942796eecf03256cb77be3eb65e6366a">grpc::string_ref::find</a></div><div class="ttdeci">size_t find(string_ref s) const </div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_ac72a8f2a55fe1388f2b3afa83045200b"><div class="ttname"><a href="classgrpc_1_1string__ref.html#ac72a8f2a55fe1388f2b3afa83045200b">grpc::string_ref::crbegin</a></div><div class="ttdeci">const_reverse_iterator crbegin() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:81</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_acd3e9d9734c67f33a87b53c2eefe3913"><div class="ttname"><a href="classgrpc_1_1string__ref.html#acd3e9d9734c67f33a87b53c2eefe3913">grpc::string_ref::const_iterator</a></div><div class="ttdeci">const char * const_iterator</div><div class="ttdef"><b>Definition:</b> string_ref.h:55</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a5c61b5d98aedeb8e5f777deb9f039688"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a5c61b5d98aedeb8e5f777deb9f039688">grpc::string_ref::rbegin</a></div><div class="ttdeci">const_reverse_iterator rbegin() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:75</div></div>
+<div class="ttc" id="config_8h_html"><div class="ttname"><a href="config_8h.html">config.h</a></div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a3b6c90d10321a5636a134be68f2f6f18"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a3b6c90d10321a5636a134be68f2f6f18">grpc::string_ref::string_ref</a></div><div class="ttdeci">string_ref(const char *s, size_t l)</div><div class="ttdef"><b>Definition:</b> string_ref.h:67</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a10c3455e679004ab4c61708ce0403601"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a10c3455e679004ab4c61708ce0403601">grpc::string_ref::string_ref</a></div><div class="ttdeci">string_ref(const grpc::string &amp;s)</div><div class="ttdef"><b>Definition:</b> string_ref.h:68</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a154cea379c9d7e5635b401a4cc304216"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a154cea379c9d7e5635b401a4cc304216">grpc::string_ref::data</a></div><div class="ttdeci">const char * data() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:95</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a05a9dc01fb7935e0c6de1aff833e6aa6"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a05a9dc01fb7935e0c6de1aff833e6aa6">grpc::string_ref::end</a></div><div class="ttdeci">const_iterator end() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:72</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a76c38b6cbf957f7b90ccff9e53c081b2"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a76c38b6cbf957f7b90ccff9e53c081b2">grpc::string_ref::string_ref</a></div><div class="ttdeci">string_ref()</div><div class="ttdef"><b>Definition:</b> string_ref.h:62</div></div>
+<div class="ttc" id="namespacegrpc_html_a9dc0aa9da43925f6ff5f52895e08ce93"><div class="ttname"><a href="namespacegrpc.html#a9dc0aa9da43925f6ff5f52895e08ce93">grpc::operator&lt;</a></div><div class="ttdeci">bool operator&lt;(string_ref x, string_ref y)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a4363e737a77a7b2784ee1e3b915315e3"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a4363e737a77a7b2784ee1e3b915315e3">grpc::string_ref::operator=</a></div><div class="ttdeci">string_ref &amp; operator=(const string_ref &amp;rhs)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_af30b4be3e59841594b784c537fa68244"><div class="ttname"><a href="classgrpc_1_1string__ref.html#af30b4be3e59841594b784c537fa68244">grpc::string_ref::npos</a></div><div class="ttdeci">static const size_t npos</div><div class="ttdef"><b>Definition:</b> string_ref.h:59</div></div>
+<div class="ttc" id="namespacegrpc_html_a6ab53d108309107dda6b2a4e13646d96"><div class="ttname"><a href="namespacegrpc.html#a6ab53d108309107dda6b2a4e13646d96">grpc::operator&lt;=</a></div><div class="ttdeci">bool operator&lt;=(string_ref x, string_ref y)</div></div>
+<div class="ttc" id="namespacegrpc_html_a43a91fc985698c2346d3942b6bb64bc3"><div class="ttname"><a href="namespacegrpc.html#a43a91fc985698c2346d3942b6bb64bc3">grpc::operator&gt;</a></div><div class="ttdeci">bool operator&gt;(string_ref x, string_ref y)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_acade09cf1e91b96c094c449b8a5bd126"><div class="ttname"><a href="classgrpc_1_1string__ref.html#acade09cf1e91b96c094c449b8a5bd126">grpc::string_ref::rend</a></div><div class="ttdeci">const_reverse_iterator rend() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:78</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html"><div class="ttname"><a href="classgrpc_1_1string__ref.html">grpc::string_ref</a></div><div class="ttdoc">This class is a non owning reference to a string. </div><div class="ttdef"><b>Definition:</b> string_ref.h:52</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a4d4b90bdcb6634690e989daa4234bdd6"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a4d4b90bdcb6634690e989daa4234bdd6">grpc::string_ref::starts_with</a></div><div class="ttdeci">bool starts_with(string_ref x) const </div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_ad97de998e80c1810741ee7a175c0a350"><div class="ttname"><a href="classgrpc_1_1string__ref.html#ad97de998e80c1810741ee7a175c0a350">grpc::string_ref::empty</a></div><div class="ttdeci">bool empty() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:92</div></div>
+<div class="ttc" id="namespacegrpc_html_add0b2451b8e272bad6d673bc2ada0f47"><div class="ttname"><a href="namespacegrpc.html#add0b2451b8e272bad6d673bc2ada0f47">grpc::operator==</a></div><div class="ttdeci">bool operator==(string_ref x, string_ref y)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a07a931b17f1b9f53c48126f38c4a5fb8"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a07a931b17f1b9f53c48126f38c4a5fb8">grpc::string_ref::ends_with</a></div><div class="ttdeci">bool ends_with(string_ref x) const </div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a32ec8b9506c598690f211ae5afb47b85"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a32ec8b9506c598690f211ae5afb47b85">grpc::string_ref::const_reverse_iterator</a></div><div class="ttdeci">std::reverse_iterator&lt; const_iterator &gt; const_reverse_iterator</div><div class="ttdef"><b>Definition:</b> string_ref.h:56</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a5a89910308f1fa76147697bffd8b77ba"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a5a89910308f1fa76147697bffd8b77ba">grpc::string_ref::begin</a></div><div class="ttdeci">const_iterator begin() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:71</div></div>
+<div class="ttc" id="namespacegrpc_html_a48f3e907b6269b7f0f8095fa2db0afe3"><div class="ttname"><a href="namespacegrpc.html#a48f3e907b6269b7f0f8095fa2db0afe3">grpc::operator!=</a></div><div class="ttdeci">bool operator!=(string_ref x, string_ref y)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a09ee02dfcf385769503beae677266a57"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a09ee02dfcf385769503beae677266a57">grpc::string_ref::substr</a></div><div class="ttdeci">string_ref substr(size_t pos, size_t n=npos) const </div></div>
+<div class="ttc" id="namespacegrpc_html_a068f3ef856653abfa58ddd445a281461"><div class="ttname"><a href="namespacegrpc.html#a068f3ef856653abfa58ddd445a281461">grpc::operator&gt;=</a></div><div class="ttdeci">bool operator&gt;=(string_ref x, string_ref y)</div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_a1433b87ef94239897b526e0b35a57f3f"><div class="ttname"><a href="classgrpc_1_1string__ref.html#a1433b87ef94239897b526e0b35a57f3f">grpc::string_ref::compare</a></div><div class="ttdeci">int compare(string_ref x) const </div></div>
+<div class="ttc" id="classgrpc_1_1string__ref_html_aa168f10d77a09a7fe50e3432914bacdd"><div class="ttname"><a href="classgrpc_1_1string__ref.html#aa168f10d77a09a7fe50e3432914bacdd">grpc::string_ref::length</a></div><div class="ttdeci">size_t length() const </div><div class="ttdef"><b>Definition:</b> string_ref.h:90</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated on Thu Sep 3 2015 09:44:12 for GRPC C++ by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.6
+</small></address>
+</body>
+</html>