<!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"/> <title>libstdc++: __gnu_cxx::stdio_sync_filebuf< _CharT, _Traits > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libstdc++</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00069.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">__gnu_cxx::stdio_sync_filebuf< _CharT, _Traits > Class Template Reference<div class="ingroups"><a class="el" href="a01169.html">I/O</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="__gnu_cxx::stdio_sync_filebuf" --><!-- doxytag: inherits="std::basic_streambuf" --> <p>Provides a layer of compatibility for C.This GNU extension provides extensions for working with standard C FILE*'s. It must be instantiated by the user with the type of character used in the file stream, e.g., stdio_filebuf<char>. <a href="a00069.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for __gnu_cxx::stdio_sync_filebuf< _CharT, _Traits >:</div> <div class="dyncontent"> <div class="center"><img src="a01482.png" border="0" usemap="#____gnu__cxx_1_1stdio__sync__filebuf_3_01___char_t_00_01___traits_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="____gnu__cxx_1_1stdio__sync__filebuf_3_01___char_t_00_01___traits_01_4_inherit__map" id="____gnu__cxx_1_1stdio__sync__filebuf_3_01___char_t_00_01___traits_01_4_inherit__map"> <area shape="rect" id="node2" href="a00252.html" title="The actual work of input and output (interface).This is a base class. Derived stream buffers each con..." alt="" coords="32,5,269,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a01483.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li>typedef _CharT <a class="el" href="a00069.html#abafc3510c3ad670688ea0f8a74b8ba9d">char_type</a> <li>typedef traits_type::int_type <a class="el" href="a00069.html#a7f7e560d9c65666a5b34e39ea9ce1447">int_type</a> <li>typedef traits_type::off_type <a class="el" href="a00069.html#a68be02d6c53a07d76047ceca3d53d7ae">off_type</a> <li>typedef traits_type::pos_type <a class="el" href="a00069.html#af3f6b0fe6a2f04c8ee056b2a02c4d180">pos_type</a> <li>typedef _Traits <a class="el" href="a00069.html#a6227f2a336e9847967f502113656db82">traits_type</a> </ul> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <ul> <li>typedef basic_streambuf<br class="typebreak"/> < <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>, <a class="el" href="a00252.html#ab3220592ca0efc72cf87e58cdc696bd6">traits_type</a> > <a class="el" href="a00252.html#a20adcc1bccab9fa3678b34e078e59e8c">__streambuf_type</a> </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="a18360ac6b774b24fc39d1ba6dc599799"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::stdio_sync_filebuf" ref="a18360ac6b774b24fc39d1ba6dc599799" args="(std::__c_file *__f)" --> <b>stdio_sync_filebuf</b> (std::__c_file *__f) <li>std::__c_file *const <a class="el" href="a00069.html#aa250067fc8f952c119a4918dba5a1386">file</a> () <li>streamsize <a class="el" href="a00252.html#a924a684fe2a6844d766e25f4051b705c">in_avail</a> () <li><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html#a72d8037e21ad370e3643ff3c865f91f9">sbumpc</a> () <li><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html#ac773fb2c87cf938fb6eb89c987f8e04e">sgetc</a> () <li>streamsize <a class="el" href="a00252.html#a7cfb11ce1eb1a31cf82d7a876c35351b">sgetn</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, streamsize __n) <li><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html#a6d281db46069df3043b566f10e5397b2">snextc</a> () <li><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html#ae77ef8a76529317abdc2e6a66336e3ec">sputbackc</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> __c) <li><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html#af3504dac5b4cd940dbce97ddc5ed0c25">sputc</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> __c) <li>streamsize <a class="el" href="a00252.html#a5d2917460a0283e7e2ff51940704ca95">sputn</a> (const <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, streamsize __n) <li><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html#a8d42bd5b22d246f15a8dd0a8614c0e3f">sungetc</a> () </ul> <h2><a name="pro-methods"></a> Protected Member Functions</h2> <ul> <li><a class="anchor" id="a08e47bff97f75d3e8ac1030a749d8050"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::__safe_gbump" ref="a08e47bff97f75d3e8ac1030a749d8050" args="(streamsize __n)" --> void <b>__safe_gbump</b> (streamsize __n) <li><a class="anchor" id="acf38c5ab3e2b5b2bf91ad67f255e45bf"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::__safe_pbump" ref="acf38c5ab3e2b5b2bf91ad67f255e45bf" args="(streamsize __n)" --> void <b>__safe_pbump</b> (streamsize __n) <li>void <a class="el" href="a00252.html#a9d130ff289d2617954156378a79dbdc0">gbump</a> (int __n) <li>virtual void <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1">imbue</a> (const locale &) <li>virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html#a8670cb3d15c3775bef8f03d92758bf71">overflow</a> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c=traits_type::eof()) <li>virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html#a2c6b12a6af22e590e5daa1f7ce6e07e2">pbackfail</a> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c=traits_type::eof()) <li>void <a class="el" href="a00252.html#abd017296cfc054910ca7de102e6a6998">pbump</a> (int __n) <li><a class="anchor" id="aa775a4ed4c5e693dc19c45fb3fc027b2"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::seekoff" ref="aa775a4ed4c5e693dc19c45fb3fc027b2" args="(std::streamoff __off, std::ios_base::seekdir __dir, std::ios_base::openmode=std::ios_base::in|std::ios_base::out)" --> virtual <a class="el" href="a00476.html">std::streampos</a> <b>seekoff</b> (<a class="el" href="a01137.html#a48649c5c32f0251572b366063ee93032">std::streamoff</a> __off, <a class="el" href="a00528.html#ac19bbe98949795f6038952b6c7759a0a">std::ios_base::seekdir</a> __dir, <a class="el" href="a00528.html#aa7e2408680d83e0bac8979774aeecdad">std::ios_base::openmode</a>=<a class="el" href="a00528.html#a652e2323949eea3d906e1c81bd8ce8f7">std::ios_base::in</a>|<a class="el" href="a00528.html#a7187e216e5d16ec820ea1791002f85e0">std::ios_base::out</a>) <li>virtual <a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html#ad6d5177e376efdb0dccf62890eebc9b0">seekoff</a> (<a class="el" href="a00252.html#ae0d813da6c3d39659299a6e7831ae265">off_type</a>, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out) <li><a class="anchor" id="a19a5cd77fac8ba3c32536b6c9301b9d7"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::seekpos" ref="a19a5cd77fac8ba3c32536b6c9301b9d7" args="(std::streampos __pos, std::ios_base::openmode __mode=std::ios_base::in|std::ios_base::out)" --> virtual <a class="el" href="a00476.html">std::streampos</a> <b>seekpos</b> (<a class="el" href="a00476.html">std::streampos</a> __pos, <a class="el" href="a00528.html#aa7e2408680d83e0bac8979774aeecdad">std::ios_base::openmode</a> __mode=<a class="el" href="a00528.html#a652e2323949eea3d906e1c81bd8ce8f7">std::ios_base::in</a>|<a class="el" href="a00528.html#a7187e216e5d16ec820ea1791002f85e0">std::ios_base::out</a>) <li>virtual <a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html#a008405d586f640e109c7ab7bf424aa39">seekpos</a> (<a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a>, ios_base::openmode=ios_base::in|ios_base::out) <li>virtual basic_streambuf<br class="typebreak"/> < <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>, _Traits > * <a class="el" href="a00252.html#aad2e731291673229100bde1f24ce828f">setbuf</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *, streamsize) <li>void <a class="el" href="a00252.html#a38c9b562c20b30bf9d21cf0e4dc90356">setg</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__gbeg, <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__gnext, <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__gend) <li>void <a class="el" href="a00252.html#ab0f1b49870f87d288a737cd9f8f9ec00">setp</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__pbeg, <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__pend) <li>virtual streamsize <a class="el" href="a00252.html#a85e9299b4d91188c1c0070111604ece8">showmanyc</a> () <li>virtual int <a class="el" href="a00069.html#aaf870a6b01d27af87ca27c16e601d1df">sync</a> () <li><a class="anchor" id="a02209527492ca1f11a1e94e6a0fa1c25"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncgetc" ref="a02209527492ca1f11a1e94e6a0fa1c25" args="()" --> template<> <a class="el" href="a00069.html">stdio_sync_filebuf</a>< wchar_t ><br class="typebreak"/> ::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncgetc</b> () <li><a class="anchor" id="a18e89d462c379639acf32cfd9cd6af0d"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncgetc" ref="a18e89d462c379639acf32cfd9cd6af0d" args="()" --> <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncgetc</b> () <li><a class="anchor" id="a94f9b0bee219918cdeb11dd300dec8e1"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncgetc" ref="a94f9b0bee219918cdeb11dd300dec8e1" args="()" --> template<> <a class="el" href="a00069.html">stdio_sync_filebuf</a>< char ><br class="typebreak"/> ::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncgetc</b> () <li><a class="anchor" id="ae8635dac64fcbcea721b4aa69383a3e0"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncputc" ref="ae8635dac64fcbcea721b4aa69383a3e0" args="(int_type __c)" --> template<> <a class="el" href="a00069.html">stdio_sync_filebuf</a>< wchar_t ><br class="typebreak"/> ::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncputc</b> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c) <li><a class="anchor" id="a4249e6182bebbaf36b2a072d7d28b372"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncputc" ref="a4249e6182bebbaf36b2a072d7d28b372" args="(int_type __c)" --> template<> <a class="el" href="a00069.html">stdio_sync_filebuf</a>< char ><br class="typebreak"/> ::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncputc</b> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c) <li><a class="anchor" id="ad9e895c66aad0edd3a742dba56e877b1"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncputc" ref="ad9e895c66aad0edd3a742dba56e877b1" args="(int_type __c)" --> <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncputc</b> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c) <li><a class="anchor" id="aaea83d5bee013f7950f53900119abc0c"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncungetc" ref="aaea83d5bee013f7950f53900119abc0c" args="(int_type __c)" --> <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncungetc</b> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c) <li><a class="anchor" id="a40aa439b5c1b864e1fd6cf51a837c2d6"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncungetc" ref="a40aa439b5c1b864e1fd6cf51a837c2d6" args="(int_type __c)" --> template<> <a class="el" href="a00069.html">stdio_sync_filebuf</a>< wchar_t ><br class="typebreak"/> ::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncungetc</b> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c) <li><a class="anchor" id="a68325fa4ed47acfcc2d98eb23f163641"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::syncungetc" ref="a68325fa4ed47acfcc2d98eb23f163641" args="(int_type __c)" --> template<> <a class="el" href="a00069.html">stdio_sync_filebuf</a>< char ><br class="typebreak"/> ::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <b>syncungetc</b> (<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> __c) <li>virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html#ad8647cc09ffa804cfe6b903b8415c9aa">uflow</a> () <li>virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html#a4789b9e8139b3884909949d7ce9b15cd">underflow</a> () <li><a class="anchor" id="aa4c33d2468449641255fda71e8ca8aac"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsgetn" ref="aa4c33d2468449641255fda71e8ca8aac" args="(char *__s, std::streamsize __n)" --> template<> <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> <b>xsgetn</b> (char *__s, <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> __n) <li><a class="anchor" id="a011009e68f7e94d0104a359524457933"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsgetn" ref="a011009e68f7e94d0104a359524457933" args="(char_type *__s, std::streamsize __n)" --> virtual <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> <b>xsgetn</b> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> __n) <li><a class="anchor" id="aca6824304861719550a4f62b8c2c60be"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsgetn" ref="aca6824304861719550a4f62b8c2c60be" args="(wchar_t *__s, std::streamsize __n)" --> template<> <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> <b>xsgetn</b> (wchar_t *__s, <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> __n) <li>virtual streamsize <a class="el" href="a00252.html#a5eaa7fbc16e49b8105d6387fcbbfad61">xsgetn</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, streamsize __n) <li><a class="anchor" id="a6373534150ed9f7d569185118da926d3"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsputn" ref="a6373534150ed9f7d569185118da926d3" args="(const wchar_t *__s, std::streamsize __n)" --> template<> <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> <b>xsputn</b> (const wchar_t *__s, <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> __n) <li><a class="anchor" id="a030917ce1fc114d5da2e05844a932a25"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsputn" ref="a030917ce1fc114d5da2e05844a932a25" args="(const char *__s, std::streamsize __n)" --> template<> <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> <b>xsputn</b> (const char *__s, <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> __n) <li><a class="anchor" id="ad8a7817dc2c37ca501c55d6b08ce5c91"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsputn" ref="ad8a7817dc2c37ca501c55d6b08ce5c91" args="(const char_type *__s, std::streamsize __n)" --> virtual <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> <b>xsputn</b> (const <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, <a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">std::streamsize</a> __n) <li>virtual streamsize <a class="el" href="a00252.html#a23e843afc42e2875d1f2fc945821499a">xsputn</a> (const <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, streamsize __n) </ul> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <ul> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a8a98bb10a958b9f1ad62e5444ff614ba">eback</a> () const <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#ad631f06db33ec1d3888302ec244a6ae9">gptr</a> () const <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a271d085f48ab53194825e04e7caab94c">egptr</a> () const </ul> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <ul> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a3ea4ba600f85337465d093a30519ad91">pbase</a> () const <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a40fb7ed23cd6414206fc5616ab651275">pptr</a> () const <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a74a6d83368391e53d884e714c65e43e5">epptr</a> () const </ul> <h2><a name="friends"></a> Friends</h2> <ul> <li><a class="anchor" id="af5f84d7cfc2ae07f7a52453eb6ed0626"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::__copy_move_a2" ref="af5f84d7cfc2ae07f7a52453eb6ed0626" args="(istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, _CharT2 *)" --> template<bool _IsMove, typename _CharT2 > __gnu_cxx::__enable_if<br class="typebreak"/> < __is_char< _CharT2 ><br class="typebreak"/> ::__value, _CharT2 * >::__type <b>__copy_move_a2</b> (istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, _CharT2 *) <li><a class="anchor" id="ab31195a97187cff90d2c7fac4391725e"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::__copy_streambufs_eof" ref="ab31195a97187cff90d2c7fac4391725e" args="(__streambuf_type *, __streambuf_type *, bool &)" --> streamsize <b>__copy_streambufs_eof</b> (<a class="el" href="a00252.html">__streambuf_type</a> *, <a class="el" href="a00252.html">__streambuf_type</a> *, bool &) <li><a class="anchor" id="a12e09cd22a6cbff67aebd63e55dad3ee"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::basic_ios< char_type, traits_type >" ref="a12e09cd22a6cbff67aebd63e55dad3ee" args="" --> class <b>basic_ios< char_type, traits_type ></b> <li><a class="anchor" id="a21edad2ce79435c762031272d6877d63"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::basic_istream< char_type, traits_type >" ref="a21edad2ce79435c762031272d6877d63" args="" --> class <b>basic_istream< char_type, traits_type ></b> <li><a class="anchor" id="a4887fc11197605c3ef70fa42d1dd633e"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::basic_ostream< char_type, traits_type >" ref="a4887fc11197605c3ef70fa42d1dd633e" args="" --> class <b>basic_ostream< char_type, traits_type ></b> <li><a class="anchor" id="a8cd5a5ce7224b6b1e8a2bb0abe67ffb2"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::find" ref="a8cd5a5ce7224b6b1e8a2bb0abe67ffb2" args="(istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, const _CharT2 &)" --> template<typename _CharT2 > __gnu_cxx::__enable_if<br class="typebreak"/> < __is_char< _CharT2 ><br class="typebreak"/> ::__value, istreambuf_iterator<br class="typebreak"/> < _CharT2 > >::__type <b>find</b> (istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, const _CharT2 &) <li><a class="anchor" id="aef71ded8a4ac6f3abd8fbb848c99ff87"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::getline" ref="aef71ded8a4ac6f3abd8fbb848c99ff87" args="(basic_istream< _CharT2, _Traits2 > &, basic_string< _CharT2, _Traits2, _Alloc > &, _CharT2)" --> template<typename _CharT2 , typename _Traits2 , typename _Alloc > basic_istream< _CharT2, <br class="typebreak"/> _Traits2 > & <b>getline</b> (basic_istream< _CharT2, _Traits2 > &, basic_string< _CharT2, _Traits2, _Alloc > &, _CharT2) <li><a class="anchor" id="a5e445ab8cd4557229e92a7cf2194b776"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::istreambuf_iterator< char_type, traits_type >" ref="a5e445ab8cd4557229e92a7cf2194b776" args="" --> class <b>istreambuf_iterator< char_type, traits_type ></b> <li><a class="anchor" id="a0e957cf253b0e272b6f82c35e478a65c"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::operator>>" ref="a0e957cf253b0e272b6f82c35e478a65c" args="(basic_istream< _CharT2, _Traits2 > &, basic_string< _CharT2, _Traits2, _Alloc > &)" --> template<typename _CharT2 , typename _Traits2 , typename _Alloc > basic_istream< _CharT2, <br class="typebreak"/> _Traits2 > & <b>operator>></b> (basic_istream< _CharT2, _Traits2 > &, basic_string< _CharT2, _Traits2, _Alloc > &) <li><a class="anchor" id="a04b1b43291bbe086e769b9a77e271624"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::operator>>" ref="a04b1b43291bbe086e769b9a77e271624" args="(basic_istream< _CharT2, _Traits2 > &, _CharT2 *)" --> template<typename _CharT2 , typename _Traits2 > basic_istream< _CharT2, <br class="typebreak"/> _Traits2 > & <b>operator>></b> (basic_istream< _CharT2, _Traits2 > &, _CharT2 *) <li><a class="anchor" id="ad274e0163d00ce8c473351e669b053a2"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::ostreambuf_iterator< char_type, traits_type >" ref="ad274e0163d00ce8c473351e669b053a2" args="" --> class <b>ostreambuf_iterator< char_type, traits_type ></b> </ul> <ul> <li>locale <a class="el" href="a00252.html#a8e7a46a08c85184d8b6ea1e5d87b7736">pubimbue</a> (const locale &__loc) <li>locale <a class="el" href="a00252.html#a1ff453933888b07683a6cc3766684465">getloc</a> () const <li><a class="el" href="a00252.html">__streambuf_type</a> * <a class="el" href="a00252.html#a0e3c7c3e736a215b1e05b68fa1b5aec7">pubsetbuf</a> (<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> *__s, streamsize __n) <li><a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html#abaa4b2714067328ce4b91a503b17fa73">pubseekoff</a> (<a class="el" href="a00252.html#ae0d813da6c3d39659299a6e7831ae265">off_type</a> __off, ios_base::seekdir __way, ios_base::openmode __mode=ios_base::in|ios_base::out) <li><a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html#a3138ab00e52afd7a538cdffa25e21937">pubseekpos</a> (<a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> __sp, ios_base::openmode __mode=ios_base::in|ios_base::out) <li>int <a class="el" href="a00252.html#ac81d2dad6dac4c185c31937ee10077ce">pubsync</a> () <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a08c7afbf0ec4df6f6d8e29a46484197d">_M_in_beg</a> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a7b4e50d872ecb80867eaab9e7897b625">_M_in_cur</a> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#adf0f7b58227c057d018ab6a8b0a123d4">_M_in_end</a> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a66b958241a34e8b7da6ade8f3434ce61">_M_out_beg</a> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#a83c368ebeed6b39269fd45d38b9a8b53">_M_out_cur</a> <li><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * <a class="el" href="a00252.html#af2973fa34894190ce5885749fa148bbe">_M_out_end</a> <li>locale <a class="el" href="a00252.html#aef4d5a82b6a51fa750fa43d80b4a8564">_M_buf_locale</a> </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _CharT, typename _Traits = std::char_traits<_CharT>><br/> class __gnu_cxx::stdio_sync_filebuf< _CharT, _Traits ></h3> <p>Provides a layer of compatibility for C.</p> <p>This GNU extension provides extensions for working with standard C FILE*'s. It must be instantiated by the user with the type of character used in the file stream, e.g., stdio_filebuf<char>. </p> <p>Definition at line <a class="el" href="a01043_source.html#l00057">57</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div><hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a20adcc1bccab9fa3678b34e078e59e8c"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::__streambuf_type" ref="a20adcc1bccab9fa3678b34e078e59e8c" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">typedef basic_streambuf<<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>, <a class="el" href="a00252.html#ab3220592ca0efc72cf87e58cdc696bd6">traits_type</a>> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html">__streambuf_type</a><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is a non-standard type. </p> <p>Reimplemented in <a class="el" href="a00247.html#a7cf11cc06504dfc70a54a78a204412be">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00403.html#ab1de2edf73bb2eb71224f339da8e70b7">std::basic_stringbuf< _CharT, _Traits, _Alloc ></a>, <a class="el" href="a00247.html#a7cf11cc06504dfc70a54a78a204412be">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a7cf11cc06504dfc70a54a78a204412be">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01071_source.html#l00135">135</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="abafc3510c3ad670688ea0f8a74b8ba9d"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::char_type" ref="abafc3510c3ad670688ea0f8a74b8ba9d" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">typedef _CharT <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. </p> <p>Reimplemented from <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00061">61</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a7f7e560d9c65666a5b34e39ea9ce1447"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::int_type" ref="a7f7e560d9c65666a5b34e39ea9ce1447" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">typedef traits_type::int_type <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. </p> <p>Reimplemented from <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00063">63</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a68be02d6c53a07d76047ceca3d53d7ae"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::off_type" ref="a68be02d6c53a07d76047ceca3d53d7ae" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">typedef traits_type::off_type <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#ae0d813da6c3d39659299a6e7831ae265">off_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. </p> <p>Reimplemented from <a class="el" href="a00252.html#ae0d813da6c3d39659299a6e7831ae265">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00065">65</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="af3f6b0fe6a2f04c8ee056b2a02c4d180"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pos_type" ref="af3f6b0fe6a2f04c8ee056b2a02c4d180" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">typedef traits_type::pos_type <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. </p> <p>Reimplemented from <a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00064">64</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a6227f2a336e9847967f502113656db82"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::traits_type" ref="a6227f2a336e9847967f502113656db82" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">typedef _Traits <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#ab3220592ca0efc72cf87e58cdc696bd6">traits_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. </p> <p>Reimplemented from <a class="el" href="a00252.html#ab3220592ca0efc72cf87e58cdc696bd6">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00062">62</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a8a98bb10a958b9f1ad62e5444ff614ba"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::eback" ref="a8a98bb10a958b9f1ad62e5444ff614ba" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::eback </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Access to the get area. </p> <p>These functions are only available to other protected functions, including derived classes.</p> <ul> <li><a class="el" href="a00252.html#a8a98bb10a958b9f1ad62e5444ff614ba" title="Access to the get area.">eback()</a> returns the beginning pointer for the input sequence</li> <li><a class="el" href="a00252.html#ad631f06db33ec1d3888302ec244a6ae9" title="Access to the get area.">gptr()</a> returns the next pointer for the input sequence</li> <li><a class="el" href="a00252.html#a271d085f48ab53194825e04e7caab94c" title="Access to the get area.">egptr()</a> returns the end pointer for the input sequence </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00462">462</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00881_source.html#l00191">std::basic_filebuf< char_type, traits_type >::_M_destroy_pback()</a>, <a class="el" href="a01071_source.html#l00352">std::basic_streambuf< char_type, traits_type >::sputbackc()</a>, and <a class="el" href="a01071_source.html#l00377">std::basic_streambuf< char_type, traits_type >::sungetc()</a>.</p> </div> </div> <a class="anchor" id="a271d085f48ab53194825e04e7caab94c"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::egptr" ref="a271d085f48ab53194825e04e7caab94c" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::egptr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Access to the get area. </p> <p>These functions are only available to other protected functions, including derived classes.</p> <ul> <li><a class="el" href="a00252.html#a8a98bb10a958b9f1ad62e5444ff614ba" title="Access to the get area.">eback()</a> returns the beginning pointer for the input sequence</li> <li><a class="el" href="a00252.html#ad631f06db33ec1d3888302ec244a6ae9" title="Access to the get area.">gptr()</a> returns the next pointer for the input sequence</li> <li><a class="el" href="a00252.html#a271d085f48ab53194825e04e7caab94c" title="Access to the get area.">egptr()</a> returns the end pointer for the input sequence </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00468">468</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00881_source.html#l00174">std::basic_filebuf< char_type, traits_type >::_M_create_pback()</a>, <a class="el" href="a01071_source.html#l00264">std::basic_streambuf< char_type, traits_type >::in_avail()</a>, <a class="el" href="a01071_source.html#l00296">std::basic_streambuf< char_type, traits_type >::sbumpc()</a>, <a class="el" href="a01071_source.html#l00318">std::basic_streambuf< char_type, traits_type >::sgetc()</a>, <a class="el" href="a01036_source.html#l00166">std::basic_stringbuf< _CharT, _Traits, _Alloc >::showmanyc()</a>, and <a class="el" href="a01036_source.html#l00122">std::basic_stringbuf< _CharT, _Traits, _Alloc >::str()</a>.</p> </div> </div> <a class="anchor" id="a74a6d83368391e53d884e714c65e43e5"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::epptr" ref="a74a6d83368391e53d884e714c65e43e5" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::epptr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Access to the put area. </p> <p>These functions are only available to other protected functions, including derived classes.</p> <ul> <li><a class="el" href="a00252.html#a3ea4ba600f85337465d093a30519ad91" title="Access to the put area.">pbase()</a> returns the beginning pointer for the output sequence</li> <li><a class="el" href="a00252.html#a40fb7ed23cd6414206fc5616ab651275" title="Access to the put area.">pptr()</a> returns the next pointer for the output sequence</li> <li><a class="el" href="a00252.html#a74a6d83368391e53d884e714c65e43e5" title="Access to the put area.">epptr()</a> returns the end pointer for the output sequence </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00515">515</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00404">std::basic_streambuf< char_type, traits_type >::sputc()</a>.</p> </div> </div> <a class="anchor" id="aa250067fc8f952c119a4918dba5a1386"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::file" ref="aa250067fc8f952c119a4918dba5a1386" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">std::__c_file* const <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::file </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>The underlying FILE*.</dd></dl> <p>This function can be used to access the underlying C file pointer. Note that there is no way for the library to track what you do with the file, so be careful. </p> <p>Definition at line <a class="el" href="a01043_source.html#l00089">89</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a9d130ff289d2617954156378a79dbdc0"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::gbump" ref="a9d130ff289d2617954156378a79dbdc0" args="(int __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::gbump </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>__n</em></td><td>)</td> <td><code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Moving the read position. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">n</td><td>The delta by which to move.</td></tr> </table> </dd> </dl> <p>This just advances the read position without returning any data. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00478">478</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00296">std::basic_streambuf< char_type, traits_type >::sbumpc()</a>, <a class="el" href="a01071_source.html#l00352">std::basic_streambuf< char_type, traits_type >::sputbackc()</a>, <a class="el" href="a01071_source.html#l00377">std::basic_streambuf< char_type, traits_type >::sungetc()</a>, and <a class="el" href="a01071_source.html#l00680">std::basic_streambuf< char_type, traits_type >::uflow()</a>.</p> </div> </div> <a class="anchor" id="a1ff453933888b07683a6cc3766684465"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::getloc" ref="a1ff453933888b07683a6cc3766684465" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">locale <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::getloc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Locale access. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The current locale in effect.</dd></dl> <p>If pubimbue(loc) has been called, then the most recent <code>loc</code> is returned. Otherwise the global locale in effect at the time of construction is returned. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00224">224</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00207">std::basic_streambuf< char_type, traits_type >::pubimbue()</a>.</p> </div> </div> <a class="anchor" id="ad631f06db33ec1d3888302ec244a6ae9"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::gptr" ref="ad631f06db33ec1d3888302ec244a6ae9" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::gptr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Access to the get area. </p> <p>These functions are only available to other protected functions, including derived classes.</p> <ul> <li><a class="el" href="a00252.html#a8a98bb10a958b9f1ad62e5444ff614ba" title="Access to the get area.">eback()</a> returns the beginning pointer for the input sequence</li> <li><a class="el" href="a00252.html#ad631f06db33ec1d3888302ec244a6ae9" title="Access to the get area.">gptr()</a> returns the next pointer for the input sequence</li> <li><a class="el" href="a00252.html#a271d085f48ab53194825e04e7caab94c" title="Access to the get area.">egptr()</a> returns the end pointer for the input sequence </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00465">465</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00881_source.html#l00174">std::basic_filebuf< char_type, traits_type >::_M_create_pback()</a>, <a class="el" href="a00881_source.html#l00191">std::basic_filebuf< char_type, traits_type >::_M_destroy_pback()</a>, <a class="el" href="a01071_source.html#l00264">std::basic_streambuf< char_type, traits_type >::in_avail()</a>, <a class="el" href="a01071_source.html#l00296">std::basic_streambuf< char_type, traits_type >::sbumpc()</a>, <a class="el" href="a01071_source.html#l00318">std::basic_streambuf< char_type, traits_type >::sgetc()</a>, <a class="el" href="a01036_source.html#l00166">std::basic_stringbuf< _CharT, _Traits, _Alloc >::showmanyc()</a>, <a class="el" href="a01071_source.html#l00352">std::basic_streambuf< char_type, traits_type >::sputbackc()</a>, <a class="el" href="a01071_source.html#l00377">std::basic_streambuf< char_type, traits_type >::sungetc()</a>, and <a class="el" href="a01071_source.html#l00680">std::basic_streambuf< char_type, traits_type >::uflow()</a>.</p> </div> </div> <a class="anchor" id="a4dc359df438b8eee79d0a997c39e0ef1"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::imbue" ref="a4dc359df438b8eee79d0a997c39e0ef1" args="(const locale &)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">virtual void <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::imbue </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00581.html">locale</a> & </td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Changes translations. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>A new locale.</td></tr> </table> </dd> </dl> <p>Translations done during I/O which depend on the current locale are changed by this call. The standard adds, <em>Between invocations of this function a class derived from streambuf can safely cache results of calls to locale functions and to members of facets so obtained.</em></p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing. </dd></dl> <p>Reimplemented in <a class="el" href="a00247.html#a4e8214d23c9895a180231de6cf463449">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00247.html#a4e8214d23c9895a180231de6cf463449">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a4e8214d23c9895a180231de6cf463449">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01071_source.html#l00556">556</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00207">std::basic_streambuf< char_type, traits_type >::pubimbue()</a>.</p> </div> </div> <a class="anchor" id="a924a684fe2a6844d766e25f4051b705c"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::in_avail" ref="a924a684fe2a6844d766e25f4051b705c" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">streamsize <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::in_avail </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Looking ahead into the stream. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters available.</dd></dl> <p>If a read position is available, returns the number of characters available for reading before the buffer must be refilled. Otherwise returns the derived <code><a class="el" href="a00252.html#a85e9299b4d91188c1c0070111604ece8" title="Investigating the data available.">showmanyc()</a></code>. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00264">264</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="a8670cb3d15c3775bef8f03d92758bf71"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::overflow" ref="a8670cb3d15c3775bef8f03d92758bf71" args="(int_type __c=traits_type::eof())" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::overflow </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> </td> <td class="paramname"> = <code>traits_type::eof()</code></td><td>)</td> <td><code> [inline, protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Consumes data from the buffer; writes to the controlled sequence. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">c</td><td>An additional character to consume. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>eof() to indicate failure, something else (usually <em>c</em>, or not_eof())</dd></dl> <p>Informally, this function is called when the output buffer is full (or does not exist, as buffering need not actually be done). If a buffer exists, it is <em>consumed</em>, with <em>some effect</em> on the controlled sequence. (Typically, the buffer is written out to the sequence verbatim.) In either case, the character <em>c</em> is also written out, if <em>c</em> is not <code>eof()</code>.</p> <p>For a formal definition of this function, see a good text such as Langer & Kreft, or [27.5.2.4.5]/3-7.</p> <p>A functioning output streambuf can be created by overriding only this function (no buffer area will be used).</p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns eof(). </dd></dl> <p>Reimplemented from <a class="el" href="a00252.html#ab3eb8947473029e4a29af93b31c43d52">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00142">142</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a2c6b12a6af22e590e5daa1f7ce6e07e2"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pbackfail" ref="a2c6b12a6af22e590e5daa1f7ce6e07e2" args="(int_type __c=traits_type::eof())" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::pbackfail </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> </td> <td class="paramname"> = <code>traits_type::eof()</code></td><td>)</td> <td><code> [inline, protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Tries to back up the input sequence. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">c</td><td>The character to be inserted back into the sequence. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>eof() on failure, <em>some other value</em> on success </dd></dl> <dl class="post"><dt><b>Postcondition:</b></dt><dd>The constraints of <code><a class="el" href="a00252.html#ad631f06db33ec1d3888302ec244a6ae9" title="Access to the get area.">gptr()</a></code>, <code><a class="el" href="a00252.html#a8a98bb10a958b9f1ad62e5444ff614ba" title="Access to the get area.">eback()</a></code>, and <code><a class="el" href="a00252.html#a40fb7ed23cd6414206fc5616ab651275" title="Access to the put area.">pptr()</a></code> are the same as for <code><a class="el" href="a00069.html#a4789b9e8139b3884909949d7ce9b15cd" title="Fetches more data from the controlled sequence.">underflow()</a></code>.</dd></dl> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns eof(). </dd></dl> <p>Reimplemented from <a class="el" href="a00252.html#a2063fd65676151a146381d196a4cb2bc">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00117">117</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a3ea4ba600f85337465d093a30519ad91"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pbase" ref="a3ea4ba600f85337465d093a30519ad91" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pbase </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Access to the put area. </p> <p>These functions are only available to other protected functions, including derived classes.</p> <ul> <li><a class="el" href="a00252.html#a3ea4ba600f85337465d093a30519ad91" title="Access to the put area.">pbase()</a> returns the beginning pointer for the output sequence</li> <li><a class="el" href="a00252.html#a40fb7ed23cd6414206fc5616ab651275" title="Access to the put area.">pptr()</a> returns the next pointer for the output sequence</li> <li><a class="el" href="a00252.html#a74a6d83368391e53d884e714c65e43e5" title="Access to the put area.">epptr()</a> returns the end pointer for the output sequence </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00509">509</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01036_source.html#l00122">std::basic_stringbuf< _CharT, _Traits, _Alloc >::str()</a>.</p> </div> </div> <a class="anchor" id="abd017296cfc054910ca7de102e6a6998"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pbump" ref="abd017296cfc054910ca7de102e6a6998" args="(int __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pbump </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>__n</em></td><td>)</td> <td><code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Moving the write position. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">n</td><td>The delta by which to move.</td></tr> </table> </dd> </dl> <p>This just advances the write position without returning any data. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00525">525</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00404">std::basic_streambuf< char_type, traits_type >::sputc()</a>.</p> </div> </div> <a class="anchor" id="a40fb7ed23cd6414206fc5616ab651275"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pptr" ref="a40fb7ed23cd6414206fc5616ab651275" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pptr </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Access to the put area. </p> <p>These functions are only available to other protected functions, including derived classes.</p> <ul> <li><a class="el" href="a00252.html#a3ea4ba600f85337465d093a30519ad91" title="Access to the put area.">pbase()</a> returns the beginning pointer for the output sequence</li> <li><a class="el" href="a00252.html#a40fb7ed23cd6414206fc5616ab651275" title="Access to the put area.">pptr()</a> returns the next pointer for the output sequence</li> <li><a class="el" href="a00252.html#a74a6d83368391e53d884e714c65e43e5" title="Access to the put area.">epptr()</a> returns the end pointer for the output sequence </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00512">512</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00404">std::basic_streambuf< char_type, traits_type >::sputc()</a>, and <a class="el" href="a01036_source.html#l00122">std::basic_stringbuf< _CharT, _Traits, _Alloc >::str()</a>.</p> </div> </div> <a class="anchor" id="a8e7a46a08c85184d8b6ea1e5d87b7736"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pubimbue" ref="a8e7a46a08c85184d8b6ea1e5d87b7736" args="(const locale &__loc)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">locale <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pubimbue </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00581.html">locale</a> & </td> <td class="paramname"><em>__loc</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00207">207</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="abaa4b2714067328ce4b91a503b17fa73"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pubseekoff" ref="abaa4b2714067328ce4b91a503b17fa73" args="(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode=ios_base::in|ios_base::out)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pubseekoff </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#ae0d813da6c3d39659299a6e7831ae265">off_type</a> </td> <td class="paramname"><em>__off</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00528.html#ac19bbe98949795f6038952b6c7759a0a">ios_base::seekdir</a> </td> <td class="paramname"><em>__way</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00528.html#aa7e2408680d83e0bac8979774aeecdad">ios_base::openmode</a> </td> <td class="paramname"><em>__mode</em> = <code><a class="el" href="a00528.html#a652e2323949eea3d906e1c81bd8ce8f7">ios_base::in</a> | <a class="el" href="a00528.html#a7187e216e5d16ec820ea1791002f85e0">ios_base::out</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00241">241</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="a3138ab00e52afd7a538cdffa25e21937"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pubseekpos" ref="a3138ab00e52afd7a538cdffa25e21937" args="(pos_type __sp, ios_base::openmode __mode=ios_base::in|ios_base::out)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pubseekpos </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> </td> <td class="paramname"><em>__sp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00528.html#aa7e2408680d83e0bac8979774aeecdad">ios_base::openmode</a> </td> <td class="paramname"><em>__mode</em> = <code><a class="el" href="a00528.html#a652e2323949eea3d906e1c81bd8ce8f7">ios_base::in</a> | <a class="el" href="a00528.html#a7187e216e5d16ec820ea1791002f85e0">ios_base::out</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00246">246</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="a0e3c7c3e736a215b1e05b68fa1b5aec7"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pubsetbuf" ref="a0e3c7c3e736a215b1e05b68fa1b5aec7" args="(char_type *__s, streamsize __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html">__streambuf_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pubsetbuf </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">streamsize</a> </td> <td class="paramname"><em>__n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry points for derived buffer functions. </p> <p>The public versions of <code>pubfoo</code> dispatch to the protected derived <code>foo</code> member functions, passing the arguments (if any) and returning the result unchanged. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00237">237</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="ac81d2dad6dac4c185c31937ee10077ce"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::pubsync" ref="ac81d2dad6dac4c185c31937ee10077ce" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::pubsync </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00251">251</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00783">std::basic_istream< _CharT, _Traits >::sync()</a>.</p> </div> </div> <a class="anchor" id="a72d8037e21ad370e3643ff3c865f91f9"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sbumpc" ref="a72d8037e21ad370e3643ff3c865f91f9" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sbumpc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Getting the next character. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The next character, or eof.</dd></dl> <p>If the input read position is available, returns that character and increments the read pointer, otherwise calls and returns <code><a class="el" href="a00252.html#a4e0c932f41122eaec83e7008ece5e207" title="Fetches more data from the controlled sequence.">uflow()</a></code>. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00296">296</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00402">std::basic_istream< _CharT, _Traits >::getline()</a>, <a class="el" href="a00913_source.html#l00462">std::basic_istream< _CharT, _Traits >::ignore()</a>, <a class="el" href="a01073_source.html#l00127">std::istreambuf_iterator< _CharT, _Traits >::operator++()</a>, and <a class="el" href="a01071_source.html#l00278">std::basic_streambuf< char_type, traits_type >::snextc()</a>.</p> </div> </div> <a class="anchor" id="ad6d5177e376efdb0dccf62890eebc9b0"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::seekoff" ref="ad6d5177e376efdb0dccf62890eebc9b0" args="(off_type, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::seekoff </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#ae0d813da6c3d39659299a6e7831ae265">off_type</a> </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00528.html#ac19bbe98949795f6038952b6c7759a0a">ios_base::seekdir</a> </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00528.html#aa7e2408680d83e0bac8979774aeecdad">ios_base::openmode</a> </td> <td class="paramname"> = <code><a class="el" href="a00528.html#a652e2323949eea3d906e1c81bd8ce8f7">ios_base::in</a> | <a class="el" href="a00528.html#a7187e216e5d16ec820ea1791002f85e0">ios_base::out</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Alters the stream positions. </p> <p>Each derived class provides its own appropriate behavior. </p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns a <code>pos_type</code> that represents an invalid stream position. </dd></dl> <p>Reimplemented in <a class="el" href="a00247.html#a0152beebcac8c9542b6b0efe3de5bbfb">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00403.html#a87ffed7ed9940e5952303b31be0b6a11">std::basic_stringbuf< _CharT, _Traits, _Alloc ></a>, <a class="el" href="a00247.html#a0152beebcac8c9542b6b0efe3de5bbfb">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a0152beebcac8c9542b6b0efe3de5bbfb">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01071_source.html#l00582">582</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00241">std::basic_streambuf< char_type, traits_type >::pubseekoff()</a>.</p> </div> </div> <a class="anchor" id="a008405d586f640e109c7ab7bf424aa39"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::seekpos" ref="a008405d586f640e109c7ab7bf424aa39" args="(pos_type, ios_base::openmode=ios_base::in|ios_base::out)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::seekpos </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a5bc758d8b84fa134386d3ab683b880aa">pos_type</a> </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00528.html#aa7e2408680d83e0bac8979774aeecdad">ios_base::openmode</a> </td> <td class="paramname"> = <code><a class="el" href="a00528.html#a652e2323949eea3d906e1c81bd8ce8f7">ios_base::in</a> | <a class="el" href="a00528.html#a7187e216e5d16ec820ea1791002f85e0">ios_base::out</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Alters the stream positions. </p> <p>Each derived class provides its own appropriate behavior. </p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns a <code>pos_type</code> that represents an invalid stream position. </dd></dl> <p>Reimplemented in <a class="el" href="a00247.html#a91365d684bb298cb7ad42e3c73cd0252">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00403.html#a763bee40dfc04e2ee2816e322c3af297">std::basic_stringbuf< _CharT, _Traits, _Alloc ></a>, <a class="el" href="a00247.html#a91365d684bb298cb7ad42e3c73cd0252">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a91365d684bb298cb7ad42e3c73cd0252">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01071_source.html#l00594">594</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00246">std::basic_streambuf< char_type, traits_type >::pubseekpos()</a>.</p> </div> </div> <a class="anchor" id="aad2e731291673229100bde1f24ce828f"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::setbuf" ref="aad2e731291673229100bde1f24ce828f" args="(char_type *, streamsize)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">virtual basic_streambuf<<a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>,_Traits>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::setbuf </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">streamsize</a> </td> <td class="paramname"> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Manipulates the buffer. </p> <p>Each derived class provides its own appropriate behavior. See the next-to-last paragraph of <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html">http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html</a> for more on this function.</p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns <code>this</code>. </dd></dl> <p>Reimplemented in <a class="el" href="a00247.html#afdc468aedafb80e43f14569d09485e6b">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00403.html#a3ecbb2133b5c6b598b0344b7cbbe1757">std::basic_stringbuf< _CharT, _Traits, _Alloc ></a>, <a class="el" href="a00247.html#afdc468aedafb80e43f14569d09485e6b">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#afdc468aedafb80e43f14569d09485e6b">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01071_source.html#l00571">571</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00237">std::basic_streambuf< char_type, traits_type >::pubsetbuf()</a>.</p> </div> </div> <a class="anchor" id="a38c9b562c20b30bf9d21cf0e4dc90356"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::setg" ref="a38c9b562c20b30bf9d21cf0e4dc90356" args="(char_type *__gbeg, char_type *__gnext, char_type *__gend)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::setg </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__gbeg</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__gnext</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__gend</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Setting the three read area pointers. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">gbeg</td><td>A pointer. </td></tr> <tr><td class="paramname">gnext</td><td>A pointer. </td></tr> <tr><td class="paramname">gend</td><td>A pointer. </td></tr> </table> </dd> </dl> <dl class="post"><dt><b>Postcondition:</b></dt><dd><em>gbeg</em> == <code><a class="el" href="a00252.html#a8a98bb10a958b9f1ad62e5444ff614ba" title="Access to the get area.">eback()</a></code>, <em>gnext</em> == <code><a class="el" href="a00252.html#ad631f06db33ec1d3888302ec244a6ae9" title="Access to the get area.">gptr()</a></code>, and <em>gend</em> == <code><a class="el" href="a00252.html#a271d085f48ab53194825e04e7caab94c" title="Access to the get area.">egptr()</a></code> </dd></dl> <p>Definition at line <a class="el" href="a01071_source.html#l00489">489</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00881_source.html#l00174">std::basic_filebuf< char_type, traits_type >::_M_create_pback()</a>, <a class="el" href="a00881_source.html#l00191">std::basic_filebuf< char_type, traits_type >::_M_destroy_pback()</a>, and <a class="el" href="a00881_source.html#l00392">std::basic_filebuf< char_type, traits_type >::_M_set_buffer()</a>.</p> </div> </div> <a class="anchor" id="ab0f1b49870f87d288a737cd9f8f9ec00"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::setp" ref="ab0f1b49870f87d288a737cd9f8f9ec00" args="(char_type *__pbeg, char_type *__pend)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::setp </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__pbeg</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__pend</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Setting the three write area pointers. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pbeg</td><td>A pointer. </td></tr> <tr><td class="paramname">pend</td><td>A pointer. </td></tr> </table> </dd> </dl> <dl class="post"><dt><b>Postcondition:</b></dt><dd><em>pbeg</em> == <code><a class="el" href="a00252.html#a3ea4ba600f85337465d093a30519ad91" title="Access to the put area.">pbase()</a></code>, <em>pbeg</em> == <code><a class="el" href="a00252.html#a40fb7ed23cd6414206fc5616ab651275" title="Access to the put area.">pptr()</a></code>, and <em>pend</em> == <code><a class="el" href="a00252.html#a74a6d83368391e53d884e714c65e43e5" title="Access to the put area.">epptr()</a></code> </dd></dl> <p>Definition at line <a class="el" href="a01071_source.html#l00535">535</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00881_source.html#l00392">std::basic_filebuf< char_type, traits_type >::_M_set_buffer()</a>.</p> </div> </div> <a class="anchor" id="ac773fb2c87cf938fb6eb89c987f8e04e"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sgetc" ref="ac773fb2c87cf938fb6eb89c987f8e04e" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sgetc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Getting the next character. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The next character, or eof.</dd></dl> <p>If the input read position is available, returns that character, otherwise calls and returns <code><a class="el" href="a00252.html#aab4011ac7751c858f121b887f124529d" title="Fetches more data from the controlled sequence.">underflow()</a></code>. Does not move the read position after fetching the character. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00318">318</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00311">std::basic_istream< _CharT, _Traits >::get()</a>, <a class="el" href="a00913_source.html#l00402">std::basic_istream< _CharT, _Traits >::getline()</a>, <a class="el" href="a00913_source.html#l00495">std::basic_istream< _CharT, _Traits >::ignore()</a>, <a class="el" href="a00913_source.html#l00049">std::basic_istream< _CharT, _Traits >::sentry::sentry()</a>, and <a class="el" href="a01071_source.html#l00278">std::basic_streambuf< char_type, traits_type >::snextc()</a>.</p> </div> </div> <a class="anchor" id="a7cfb11ce1eb1a31cf82d7a876c35351b"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sgetn" ref="a7cfb11ce1eb1a31cf82d7a876c35351b" args="(char_type *__s, streamsize __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">streamsize <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sgetn </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">streamsize</a> </td> <td class="paramname"><em>__n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for xsgetn. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>A buffer area. </td></tr> <tr><td class="paramname">n</td><td>A count.</td></tr> </table> </dd> </dl> <p>Returns xsgetn(s,n). The effect is to fill <em>s</em>[0] through <em>s</em>[n-1] with characters from the input sequence, if possible. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00337">337</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="a85e9299b4d91188c1c0070111604ece8"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::showmanyc" ref="a85e9299b4d91188c1c0070111604ece8" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">virtual streamsize <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::showmanyc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Investigating the data available. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>An estimate of the number of characters available in the input sequence, or -1.</dd></dl> <p><em>If it returns a positive value, then successive calls to <code><a class="el" href="a00252.html#aab4011ac7751c858f121b887f124529d" title="Fetches more data from the controlled sequence.">underflow()</a></code> will not return <code>traits::eof()</code> until at least that number of characters have been supplied. If <code><a class="el" href="a00252.html#a85e9299b4d91188c1c0070111604ece8" title="Investigating the data available.">showmanyc()</a></code> returns -1, then calls to <code><a class="el" href="a00252.html#aab4011ac7751c858f121b887f124529d" title="Fetches more data from the controlled sequence.">underflow()</a></code> or <code><a class="el" href="a00252.html#a4e0c932f41122eaec83e7008ece5e207" title="Fetches more data from the controlled sequence.">uflow()</a></code> will fail.</em> [27.5.2.4.3]/1</p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns zero. </dd> <dd> The standard adds that <em>the intention is not only that the calls [to underflow or uflow] will not return <code>eof()</code> but that they will return immediately.</em> </dd> <dd> The standard adds that <em>the morphemes of <code>showmanyc</code> are <b>es-how-many-see</b>, not <b>show-manic</b>.</em> </dd></dl> <p>Reimplemented in <a class="el" href="a00247.html#a0e8e4218ba9766e34b74e69b17fb28b3">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00403.html#a24490a3224662a3c57cbb8f591b2acbc">std::basic_stringbuf< _CharT, _Traits, _Alloc ></a>, <a class="el" href="a00247.html#a0e8e4218ba9766e34b74e69b17fb28b3">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a0e8e4218ba9766e34b74e69b17fb28b3">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01071_source.html#l00629">629</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00264">std::basic_streambuf< char_type, traits_type >::in_avail()</a>.</p> </div> </div> <a class="anchor" id="a6d281db46069df3043b566f10e5397b2"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::snextc" ref="a6d281db46069df3043b566f10e5397b2" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::snextc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Getting the next character. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The next character, or eof.</dd></dl> <p>Calls <code><a class="el" href="a00252.html#a72d8037e21ad370e3643ff3c865f91f9" title="Getting the next character.">sbumpc()</a></code>, and if that function returns <code>traits::eof()</code>, so does this function. Otherwise, <code><a class="el" href="a00252.html#ac773fb2c87cf938fb6eb89c987f8e04e" title="Getting the next character.">sgetc()</a></code>. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00278">278</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00311">std::basic_istream< _CharT, _Traits >::get()</a>, <a class="el" href="a00913_source.html#l00402">std::basic_istream< _CharT, _Traits >::getline()</a>, <a class="el" href="a00913_source.html#l00495">std::basic_istream< _CharT, _Traits >::ignore()</a>, and <a class="el" href="a00913_source.html#l00049">std::basic_istream< _CharT, _Traits >::sentry::sentry()</a>.</p> </div> </div> <a class="anchor" id="ae77ef8a76529317abdc2e6a66336e3ec"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sputbackc" ref="ae77ef8a76529317abdc2e6a66336e3ec" args="(char_type __c)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sputbackc </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> </td> <td class="paramname"><em>__c</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Pushing characters back into the input stream. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">c</td><td>The character to push back. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous character, if possible.</dd></dl> <p>Similar to <a class="el" href="a00252.html#a8d42bd5b22d246f15a8dd0a8614c0e3f" title="Moving backwards in the input stream.">sungetc()</a>, but <em>c</em> is pushed onto the stream instead of <em>the previous character.</em> If successful, the next character fetched from the input stream will be <em>c</em>. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00352">352</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00713">std::basic_istream< _CharT, _Traits >::putback()</a>.</p> </div> </div> <a class="anchor" id="af3504dac5b4cd940dbce97ddc5ed0c25"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sputc" ref="af3504dac5b4cd940dbce97ddc5ed0c25" args="(char_type __c)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sputc </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> </td> <td class="paramname"><em>__c</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for all single-character output functions. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">c</td><td>A character to output. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><em>c</em>, if possible.</dd></dl> <p>One of two public output functions.</p> <p>If a write position is available for the output sequence (i.e., the buffer is not full), stores <em>c</em> in that position, increments the position, and returns <code>traits::to_int_type(c)</code>. If a write position is not available, returns <code>overflow(c)</code>. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00404">404</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00358">std::basic_istream< _CharT, _Traits >::get()</a>, and <a class="el" href="a01073_source.html#l00240">std::ostreambuf_iterator< _CharT, _Traits >::operator=()</a>.</p> </div> </div> <a class="anchor" id="a5d2917460a0283e7e2ff51940704ca95"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sputn" ref="a5d2917460a0283e7e2ff51940704ca95" args="(const char_type *__s, streamsize __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">streamsize <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sputn </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">streamsize</a> </td> <td class="paramname"><em>__n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for all single-character output functions. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>A buffer read area. </td></tr> <tr><td class="paramname">n</td><td>A count.</td></tr> </table> </dd> </dl> <p>One of two public output functions.</p> <p>Returns xsputn(s,n). The effect is to write <em>s</em>[0] through <em>s</em>[n-1] to the output sequence, if possible. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00430">430</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> </div> </div> <a class="anchor" id="a8d42bd5b22d246f15a8dd0a8614c0e3f"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sungetc" ref="a8d42bd5b22d246f15a8dd0a8614c0e3f" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::sungetc </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Moving backwards in the input stream. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous character, if possible.</dd></dl> <p>If a putback position is available, this function decrements the input pointer and returns that character. Otherwise, calls and returns <a class="el" href="a00252.html#a2063fd65676151a146381d196a4cb2bc" title="Tries to back up the input sequence.">pbackfail()</a>. The effect is to <em>unget</em> the last character <em>gotten</em>. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00377">377</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00913_source.html#l00748">std::basic_istream< _CharT, _Traits >::unget()</a>.</p> </div> </div> <a class="anchor" id="aaf870a6b01d27af87ca27c16e601d1df"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::sync" ref="aaf870a6b01d27af87ca27c16e601d1df" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">virtual int <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::sync </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Synchronizes the buffer arrays with the controlled sequences. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>-1 on failure.</dd></dl> <p>Each derived class provides its own appropriate behavior, including the definition of <em>failure</em>. </p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns zero. </dd></dl> <p>Reimplemented from <a class="el" href="a00252.html#a407510ac810a42b173f3bd553959bfb5">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00161">161</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="ad8647cc09ffa804cfe6b903b8415c9aa"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::uflow" ref="ad8647cc09ffa804cfe6b903b8415c9aa" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::uflow </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Fetches more data from the controlled sequence. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The first character from the <em>pending sequence</em>.</dd></dl> <p>Informally, this function does the same thing as <code><a class="el" href="a00069.html#a4789b9e8139b3884909949d7ce9b15cd" title="Fetches more data from the controlled sequence.">underflow()</a></code>, and in fact is required to call that function. It also returns the new character, like <code><a class="el" href="a00069.html#a4789b9e8139b3884909949d7ce9b15cd" title="Fetches more data from the controlled sequence.">underflow()</a></code> does. However, this function also moves the read position forward by one. </p> <p>Reimplemented from <a class="el" href="a00252.html#a4e0c932f41122eaec83e7008ece5e207">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00109">109</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a4789b9e8139b3884909949d7ce9b15cd"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::underflow" ref="a4789b9e8139b3884909949d7ce9b15cd" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits = std::char_traits<_CharT>> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00252.html#a1c1565d5b66e703de4d9a8aef4957a8b">int_type</a> <a class="el" href="a00069.html">__gnu_cxx::stdio_sync_filebuf</a>< _CharT, _Traits >::underflow </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Fetches more data from the controlled sequence. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The first character from the <em>pending sequence</em>.</dd></dl> <p>Informally, this function is called when the input buffer is exhausted (or does not exist, as buffering need not actually be done). If a buffer exists, it is <em>refilled</em>. In either case, the next available character is returned, or <code>traits::eof()</code> to indicate a null pending sequence.</p> <p>For a formal definition of the pending sequence, see a good text such as Langer & Kreft, or [27.5.2.4.3]/7-14.</p> <p>A functioning input streambuf can be created by overriding only this function (no buffer area will be used). For an example, see <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25.html">http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25.html</a></p> <dl class="note"><dt><b>Note:</b></dt><dd>Base class version does nothing, returns eof(). </dd></dl> <p>Reimplemented from <a class="el" href="a00252.html#aab4011ac7751c858f121b887f124529d">std::basic_streambuf< _CharT, _Traits ></a>.</p> <p>Definition at line <a class="el" href="a01043_source.html#l00102">102</a> of file <a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a>.</p> </div> </div> <a class="anchor" id="a5eaa7fbc16e49b8105d6387fcbbfad61"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsgetn" ref="a5eaa7fbc16e49b8105d6387fcbbfad61" args="(char_type *__s, streamsize __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits > </div> <table class="memname"> <tr> <td class="memname">streamsize <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::xsgetn </td> <td>(</td> <td class="paramtype"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">streamsize</a> </td> <td class="paramname"><em>__n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Multiple character extraction. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>A buffer area. </td></tr> <tr><td class="paramname">n</td><td>Maximum number of characters to assign. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters assigned.</dd></dl> <p>Fills <em>s</em>[0] through <em>s</em>[n-1] with characters from the input sequence, as if by <code><a class="el" href="a00252.html#a72d8037e21ad370e3643ff3c865f91f9" title="Getting the next character.">sbumpc()</a></code>. Stops when either <em>n</em> characters have been copied, or when <code>traits::eof()</code> would be copied.</p> <p>It is expected that derived classes provide a more efficient implementation by overriding this definition. </p> <p>Reimplemented in <a class="el" href="a00247.html#a4fb6d662a8351a9c790be9fbe78be8b4">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00247.html#a4fb6d662a8351a9c790be9fbe78be8b4">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a4fb6d662a8351a9c790be9fbe78be8b4">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01072_source.html#l00047">47</a> of file <a class="el" href="a01072_source.html">streambuf.tcc</a>.</p> <p>References <a class="el" href="a01046_source.html#l00187">std::min()</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00337">std::basic_streambuf< char_type, traits_type >::sgetn()</a>.</p> </div> </div> <a class="anchor" id="a23e843afc42e2875d1f2fc945821499a"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::xsputn" ref="a23e843afc42e2875d1f2fc945821499a" args="(const char_type *__s, streamsize __n)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT , typename _Traits > </div> <table class="memname"> <tr> <td class="memname">streamsize <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::xsputn </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a> * </td> <td class="paramname"><em>__s</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01137.html#a05eef5582eb5de62b76db4916f7adb84">streamsize</a> </td> <td class="paramname"><em>__n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [protected, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Multiple character insertion. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>A buffer area. </td></tr> <tr><td class="paramname">n</td><td>Maximum number of characters to write. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters written.</dd></dl> <p>Writes <em>s</em>[0] through <em>s</em>[n-1] to the output sequence, as if by <code><a class="el" href="a00252.html#af3504dac5b4cd940dbce97ddc5ed0c25" title="Entry point for all single-character output functions.">sputc()</a></code>. Stops when either <em>n</em> characters have been copied, or when <code><a class="el" href="a00252.html#af3504dac5b4cd940dbce97ddc5ed0c25" title="Entry point for all single-character output functions.">sputc()</a></code> would return <code>traits::eof()</code>.</p> <p>It is expected that derived classes provide a more efficient implementation by overriding this definition. </p> <p>Reimplemented in <a class="el" href="a00247.html#a9e78a1d5dec2c7eea816ada4e43d7576">std::basic_filebuf< _CharT, _Traits ></a>, <a class="el" href="a00247.html#a9e78a1d5dec2c7eea816ada4e43d7576">std::basic_filebuf< _CharT, encoding_char_traits< _CharT > ></a>, and <a class="el" href="a00247.html#a9e78a1d5dec2c7eea816ada4e43d7576">std::basic_filebuf< char_type, traits_type ></a>.</p> <p>Definition at line <a class="el" href="a01072_source.html#l00081">81</a> of file <a class="el" href="a01072_source.html">streambuf.tcc</a>.</p> <p>References <a class="el" href="a01046_source.html#l00187">std::min()</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00430">std::basic_streambuf< char_type, traits_type >::sputn()</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="aef4d5a82b6a51fa750fa43d80b4a8564"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_buf_locale" ref="aef4d5a82b6a51fa750fa43d80b4a8564" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname">locale <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#aef4d5a82b6a51fa750fa43d80b4a8564">_M_buf_locale</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Current locale setting. </p> <p>Definition at line <a class="el" href="a01071_source.html#l00190">190</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a00882_source.html#l00081">std::basic_filebuf< _CharT, _Traits >::basic_filebuf()</a>, <a class="el" href="a01071_source.html#l00224">std::basic_streambuf< char_type, traits_type >::getloc()</a>, and <a class="el" href="a01071_source.html#l00207">std::basic_streambuf< char_type, traits_type >::pubimbue()</a>.</p> </div> </div> <a class="anchor" id="a08c7afbf0ec4df6f6d8e29a46484197d"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_in_beg" ref="a08c7afbf0ec4df6f6d8e29a46484197d" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a08c7afbf0ec4df6f6d8e29a46484197d">_M_in_beg</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This is based on _IO_FILE, just reordered to be more consistent, and is intended to be the most minimal abstraction for an internal buffer.</p> <ul> <li>get == input == read</li> <li>put == output == write </li> </ul> <p>Definition at line <a class="el" href="a01071_source.html#l00182">182</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00462">std::basic_streambuf< char_type, traits_type >::eback()</a>, and <a class="el" href="a01071_source.html#l00489">std::basic_streambuf< char_type, traits_type >::setg()</a>.</p> </div> </div> <a class="anchor" id="a7b4e50d872ecb80867eaab9e7897b625"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_in_cur" ref="a7b4e50d872ecb80867eaab9e7897b625" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a7b4e50d872ecb80867eaab9e7897b625">_M_in_cur</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00183">183</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00478">std::basic_streambuf< char_type, traits_type >::gbump()</a>, <a class="el" href="a01071_source.html#l00465">std::basic_streambuf< char_type, traits_type >::gptr()</a>, and <a class="el" href="a01071_source.html#l00489">std::basic_streambuf< char_type, traits_type >::setg()</a>.</p> </div> </div> <a class="anchor" id="adf0f7b58227c057d018ab6a8b0a123d4"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_in_end" ref="adf0f7b58227c057d018ab6a8b0a123d4" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#adf0f7b58227c057d018ab6a8b0a123d4">_M_in_end</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00184">184</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00468">std::basic_streambuf< char_type, traits_type >::egptr()</a>, and <a class="el" href="a01071_source.html#l00489">std::basic_streambuf< char_type, traits_type >::setg()</a>.</p> </div> </div> <a class="anchor" id="a66b958241a34e8b7da6ade8f3434ce61"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_out_beg" ref="a66b958241a34e8b7da6ade8f3434ce61" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a66b958241a34e8b7da6ade8f3434ce61">_M_out_beg</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00185">185</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00509">std::basic_streambuf< char_type, traits_type >::pbase()</a>, and <a class="el" href="a01071_source.html#l00535">std::basic_streambuf< char_type, traits_type >::setp()</a>.</p> </div> </div> <a class="anchor" id="a83c368ebeed6b39269fd45d38b9a8b53"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_out_cur" ref="a83c368ebeed6b39269fd45d38b9a8b53" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#a83c368ebeed6b39269fd45d38b9a8b53">_M_out_cur</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00186">186</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00525">std::basic_streambuf< char_type, traits_type >::pbump()</a>, <a class="el" href="a01071_source.html#l00512">std::basic_streambuf< char_type, traits_type >::pptr()</a>, and <a class="el" href="a01071_source.html#l00535">std::basic_streambuf< char_type, traits_type >::setp()</a>.</p> </div> </div> <a class="anchor" id="af2973fa34894190ce5885749fa148bbe"></a><!-- doxytag: member="__gnu_cxx::stdio_sync_filebuf::_M_out_end" ref="af2973fa34894190ce5885749fa148bbe" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _CharT, typename _Traits> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00252.html#a38ad1721a50a96c7d37d51a3f858a0cf">char_type</a>* <a class="el" href="a00252.html">std::basic_streambuf</a>< _CharT, _Traits >::<a class="el" href="a00252.html#af2973fa34894190ce5885749fa148bbe">_M_out_end</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Entry point for <a class="el" href="a00252.html#a4dc359df438b8eee79d0a997c39e0ef1" title="Changes translations.">imbue()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">loc</td><td>The new locale. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The previous locale.</dd></dl> <p>Calls the derived imbue(loc). </p> <p>Definition at line <a class="el" href="a01071_source.html#l00187">187</a> of file <a class="el" href="a01071_source.html">streambuf</a>.</p> <p>Referenced by <a class="el" href="a01071_source.html#l00515">std::basic_streambuf< char_type, traits_type >::epptr()</a>, and <a class="el" href="a01071_source.html#l00535">std::basic_streambuf< char_type, traits_type >::setp()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a01043_source.html">stdio_sync_filebuf.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01125.html">__gnu_cxx</a> </li> <li class="navelem"><a class="el" href="a00069.html">stdio_sync_filebuf</a> </li> <li class="footer">Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li> </ul> </div> </body> </html>