#include <stdio_streambuf.h>
|
| | stdio_streambuf_base (FILE *) |
| |
| | ~stdio_streambuf_base () |
| |
| virtual | ~basic_streambuf () |
| |
| char_type * | _M_eback () const |
| |
| char_type * | _M_gptr () const |
| |
| char_type * | _M_egptr () const |
| |
| void | _M_gbump (int __n) |
| |
| void | _M_setg (char_type *__gbegin, char_type *__gnext, char_type *__gend) |
| |
| basic_streambuf< char, char_traits< char > > * | pubsetbuf (char_type *__s, streamsize __n) |
| |
| pos_type | pubseekoff (off_type __offset, ios_base::seekdir __way, ios_base::openmode __mod=ios_base::in|ios_base::out) |
| |
| pos_type | pubseekpos (pos_type __sp, ios_base::openmode __mod=ios_base::in|ios_base::out) |
| |
| int | pubsync () |
| |
| int_type | sputc (char_type __c) |
| |
| streamsize | sputn (const char_type *__s, streamsize __n) |
| |
| streamsize | _M_sputnc (char_type __c, streamsize __n) |
| |
| streamsize | in_avail () |
| |
| int_type | snextc () |
| |
| int_type | sbumpc () |
| |
| int_type | sgetc () |
| |
| streamsize | sgetn (char_type *__s, streamsize __n) |
| |
| int_type | sputbackc (char_type __c) |
| |
| int_type | sungetc () |
| |
| locale | pubimbue (const locale &) |
| |
| locale | getloc () const |
| |
| void | stossc () |
| |
|
| streambuf * | setbuf (char *, streamsize) |
| |
| pos_type | seekoff (off_type, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out) |
| |
| pos_type | seekpos (pos_type, ios_base::openmode=ios_base::in|ios_base::out) |
| |
| int | sync () |
| |
| | basic_streambuf () |
| |
| char_type * | eback () const |
| |
| char_type * | gptr () const |
| |
| char_type * | egptr () const |
| |
| void | gbump (int __n) |
| |
| void | setg (char_type *__gbegin, char_type *__gnext, char_type *__gend) |
| |
| char_type * | pbase () const |
| |
| char_type * | pptr () const |
| |
| char_type * | epptr () const |
| |
| void | pbump (int __n) |
| |
| void | setp (char_type *__pbegin, char_type *__pend) |
| |
| virtual basic_streambuf< char, char_traits< char > > * | setbuf (char_type *, streamsize) |
| |
| virtual pos_type | seekoff (off_type, ios_base::seekdir, ios_base::openmode=ios_base::in|ios_base::out) |
| |
| virtual pos_type | seekpos (pos_type, ios_base::openmode=ios_base::in|ios_base::out) |
| |
| virtual int | sync () |
| |
| virtual streamsize | showmanyc () |
| |
| virtual streamsize | xsgetn (char_type *__s, streamsize __n) |
| |
| virtual int_type | underflow () |
| |
| virtual int_type | uflow () |
| |
| virtual int_type | pbackfail (int_type=traits_type::eof()) |
| |
| virtual streamsize | xsputn (const char_type *__s, streamsize __n) |
| |
| virtual streamsize | _M_xsputnc (char_type __c, streamsize __n) |
| |
| virtual int_type | overflow (int_type=traits_type::eof()) |
| |
| virtual void | imbue (const locale &) |
| |
Definition at line 49 of file stdio_streambuf.h.
◆ stdio_streambuf_base()
| stdio_streambuf_base::stdio_streambuf_base |
( |
FILE * |
file | ) |
|
◆ ~stdio_streambuf_base()
| stdio_streambuf_base::~stdio_streambuf_base |
( |
| ) |
|
◆ seekoff()
Definition at line 76 of file stdio_streambuf.cpp.
77 {
78 int whence;
80 case ios_base::beg:
82 break;
83 case ios_base::cur:
85 break;
86 case ios_base::end:
88 break;
89 default:
91 }
92
96
97
98#if (defined (__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 2))))
100#elif defined (__ISCPP__) || defined (__MVS__) || defined (__OS400__)
102#elif defined (__EMX__)
104#else
106#endif
107 }
108 else
110}
_Traits::pos_type pos_type
◆ seekpos()
Definition at line 114 of file stdio_streambuf.cpp.
114 {
115
116
117#if (defined(__GLIBC__) && ( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 2) ) ) )
120# ifdef _STLP_USE_UCLIBC
121# ifdef __STDIO_MBSTATE
122 memset( &(
p.__mbstate), 0,
sizeof(
p.__mbstate) );
123# endif
124# ifdef __STDIO_WIDE
126# endif
127# else
128 memset( &(
p.__state), 0,
sizeof(
p.__state) );
129# endif
130#elif defined (__MVS__) || defined (__OS400__)
132 p.__fpos_elem[0] =
pos;
133#elif defined (__EMX__)
136 memset( &(
p._mbstate), 0,
sizeof(
p._mbstate) );
137#else
139#endif
140
142}
◆ setbuf()
| _STLP_STD::streambuf * stdio_streambuf_base::setbuf |
( |
char * |
s, |
|
|
streamsize |
n |
|
) |
| |
|
protected |
Definition at line 64 of file stdio_streambuf.cpp.
64 {
65#ifdef _STLP_WCE
66
67#else
71#endif
72 return this;
73}
#define __STATIC_CAST(__x, __y)
◆ sync()
| int stdio_streambuf_base::sync |
( |
| ) |
|
|
protectedvirtual |
◆ _M_file
| FILE* stdio_streambuf_base::_M_file |
|
protected |
The documentation for this class was generated from the following files: