| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419 |
- <!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.13"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>GRPC C++: grpc::internal::GrpcBufferReader Class Reference</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/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">GRPC C++
-  <span id="projectnumber">1.11.0</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.13 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- </script>
- <div id="main-nav"></div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </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="namespacegrpc.html">grpc</a></li><li class="navelem"><a class="el" href="namespacegrpc_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html">GrpcBufferReader</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pro-attribs">Protected Attributes</a> </div>
- <div class="headertitle">
- <div class="title">grpc::internal::GrpcBufferReader Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p><code>#include <<a class="el" href="grpcpp_2impl_2codegen_2proto__utils_8h_source.html">proto_utils.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:a17568350c9ee6a89e0a901cfff8401f6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a17568350c9ee6a89e0a901cfff8401f6">GrpcBufferReader</a> (<a class="el" href="structgrpc__byte__buffer.html">grpc_byte_buffer</a> *buffer)</td></tr>
- <tr class="separator:a17568350c9ee6a89e0a901cfff8401f6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5b8f11869c456df354a87dabfaec97f1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a5b8f11869c456df354a87dabfaec97f1">~GrpcBufferReader</a> () override</td></tr>
- <tr class="separator:a5b8f11869c456df354a87dabfaec97f1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae66351a9aa970bdb225bbba45f279bb2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#ae66351a9aa970bdb225bbba45f279bb2">Next</a> (const void **data, int *size) override</td></tr>
- <tr class="separator:ae66351a9aa970bdb225bbba45f279bb2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a34cf482f798ff91efce00096851f787b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgrpc_1_1_status.html">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a34cf482f798ff91efce00096851f787b">status</a> () const</td></tr>
- <tr class="separator:a34cf482f798ff91efce00096851f787b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a724c133b537616eee22562b3e89885c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a724c133b537616eee22562b3e89885c8">BackUp</a> (int count) override</td></tr>
- <tr class="separator:a724c133b537616eee22562b3e89885c8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7aad5fe555993d8f86380e3b4c65db1c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a7aad5fe555993d8f86380e3b4c65db1c">Skip</a> (int count) override</td></tr>
- <tr class="separator:a7aad5fe555993d8f86380e3b4c65db1c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:acc660ae3172f370d7d2538f9fb9067b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegrpc_1_1protobuf.html#ad614bff24fe4674ca81af74c769a7b32">grpc::protobuf::int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#acc660ae3172f370d7d2538f9fb9067b1">ByteCount</a> () const override</td></tr>
- <tr class="separator:acc660ae3172f370d7d2538f9fb9067b1"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
- Protected Attributes</h2></td></tr>
- <tr class="memitem:a0a6a65ef8eb5b5bb3d39a7b935ba78ab"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a0a6a65ef8eb5b5bb3d39a7b935ba78ab">byte_count_</a></td></tr>
- <tr class="separator:a0a6a65ef8eb5b5bb3d39a7b935ba78ab"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1ea14debdd9fb96f8f94e755aea5904c"><td class="memItemLeft" align="right" valign="top">int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a1ea14debdd9fb96f8f94e755aea5904c">backup_count_</a></td></tr>
- <tr class="separator:a1ea14debdd9fb96f8f94e755aea5904c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a52aae88ebfa452907a74625af1e2975e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgrpc__byte__buffer__reader.html">grpc_byte_buffer_reader</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a52aae88ebfa452907a74625af1e2975e">reader_</a></td></tr>
- <tr class="separator:a52aae88ebfa452907a74625af1e2975e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a74845b264add2937ff253114edb008cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgrpc__slice.html">grpc_slice</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a74845b264add2937ff253114edb008cb">slice_</a></td></tr>
- <tr class="separator:a74845b264add2937ff253114edb008cb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a85a798cb005abf72d2bc0a6a04e4bf92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgrpc_1_1_status.html">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1internal_1_1_grpc_buffer_reader.html#a85a798cb005abf72d2bc0a6a04e4bf92">status_</a></td></tr>
- <tr class="separator:a85a798cb005abf72d2bc0a6a04e4bf92"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a17568350c9ee6a89e0a901cfff8401f6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a17568350c9ee6a89e0a901cfff8401f6">◆ </a></span>GrpcBufferReader()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">grpc::internal::GrpcBufferReader::GrpcBufferReader </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="structgrpc__byte__buffer.html">grpc_byte_buffer</a> * </td>
- <td class="paramname"><em>buffer</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a5b8f11869c456df354a87dabfaec97f1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5b8f11869c456df354a87dabfaec97f1">◆ </a></span>~GrpcBufferReader()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">grpc::internal::GrpcBufferReader::~GrpcBufferReader </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a724c133b537616eee22562b3e89885c8"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a724c133b537616eee22562b3e89885c8">◆ </a></span>BackUp()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void grpc::internal::GrpcBufferReader::BackUp </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>count</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="acc660ae3172f370d7d2538f9fb9067b1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acc660ae3172f370d7d2538f9fb9067b1">◆ </a></span>ByteCount()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespacegrpc_1_1protobuf.html#ad614bff24fe4674ca81af74c769a7b32">grpc::protobuf::int64</a> grpc::internal::GrpcBufferReader::ByteCount </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="ae66351a9aa970bdb225bbba45f279bb2"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae66351a9aa970bdb225bbba45f279bb2">◆ </a></span>Next()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool grpc::internal::GrpcBufferReader::Next </td>
- <td>(</td>
- <td class="paramtype">const void ** </td>
- <td class="paramname"><em>data</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int * </td>
- <td class="paramname"><em>size</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a7aad5fe555993d8f86380e3b4c65db1c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a7aad5fe555993d8f86380e3b4c65db1c">◆ </a></span>Skip()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool grpc::internal::GrpcBufferReader::Skip </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>count</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a34cf482f798ff91efce00096851f787b"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a34cf482f798ff91efce00096851f787b">◆ </a></span>status()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classgrpc_1_1_status.html">Status</a> grpc::internal::GrpcBufferReader::status </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <h2 class="groupheader">Field Documentation</h2>
- <a id="a1ea14debdd9fb96f8f94e755aea5904c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1ea14debdd9fb96f8f94e755aea5904c">◆ </a></span>backup_count_</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int64_t grpc::internal::GrpcBufferReader::backup_count_</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a0a6a65ef8eb5b5bb3d39a7b935ba78ab"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0a6a65ef8eb5b5bb3d39a7b935ba78ab">◆ </a></span>byte_count_</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int64_t grpc::internal::GrpcBufferReader::byte_count_</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a52aae88ebfa452907a74625af1e2975e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a52aae88ebfa452907a74625af1e2975e">◆ </a></span>reader_</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="structgrpc__byte__buffer__reader.html">grpc_byte_buffer_reader</a> grpc::internal::GrpcBufferReader::reader_</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a74845b264add2937ff253114edb008cb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a74845b264add2937ff253114edb008cb">◆ </a></span>slice_</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="structgrpc__slice.html">grpc_slice</a> grpc::internal::GrpcBufferReader::slice_</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a85a798cb005abf72d2bc0a6a04e4bf92"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a85a798cb005abf72d2bc0a6a04e4bf92">◆ </a></span>status_</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classgrpc_1_1_status.html">Status</a> grpc::internal::GrpcBufferReader::status_</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li>include/grpcpp/impl/codegen/<a class="el" href="grpcpp_2impl_2codegen_2proto__utils_8h_source.html">proto_utils.h</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Fri Apr 13 2018 15:03:53 for GRPC C++ by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.13
- </small></address>
- </body>
- </html>
|