Inheritance diagram for std::strstreambuf:

Public Types | |
| typedef char_traits< char > | _Traits |
| typedef basic_streambuf< char, _Traits > | _Base |
Public Member Functions | |
| strstreambuf (streamsize __initial_capacity=0) | |
| strstreambuf (void *(*__alloc)(size_t), void(*__free)(void *)) | |
| strstreambuf (char *__get, streamsize __n, char *__put=0) | |
| strstreambuf (signed char *__get, streamsize __n, signed char *__put=0) | |
| strstreambuf (unsigned char *__get, streamsize __n, unsigned char *__put=0) | |
| strstreambuf (const char *__get, streamsize __n) | |
| strstreambuf (const signed char *__get, streamsize __n) | |
| strstreambuf (const unsigned char *__get, streamsize __n) | |
| virtual | ~strstreambuf () |
| void | freeze (bool=true) |
| char * | str () |
| int | pcount () const |
Protected Member Functions | |
| virtual int_type | overflow (int_type __c=_Traits::eof()) |
| Consumes data from the buffer; writes to the controlled sequence. | |
| virtual int_type | pbackfail (int_type __c=_Traits::eof()) |
| Tries to back up the input sequence. | |
| virtual int_type | underflow () |
| Fetches more data from the controlled sequence. | |
| virtual _Base * | setbuf (char *__buf, streamsize __n) |
| virtual pos_type | seekoff (off_type __off, ios_base::seekdir __dir, ios_base::openmode __mode=ios_base::in|ios_base::out) |
| Alters the stream positions. | |
| virtual pos_type | seekpos (pos_type __pos, ios_base::openmode __mode=ios_base::in|ios_base::out) |
| Alters the stream positions. | |
Private Member Functions | |
| strstreambuf & | operator= (const strstreambuf &) |
| strstreambuf (const strstreambuf &) | |
| char * | _M_alloc (size_t) |
| void | _M_free (char *) |
| void | _M_setup (char *__get, char *__put, streamsize __n) |
Private Attributes | |
| void *(* | _M_alloc_fun )(size_t) |
| void(* | _M_free_fun )(void *) |
| bool | _M_dynamic: 1 |
| bool | _M_frozen: 1 |
| bool | _M_constant: 1 |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Consumes data from the buffer; writes to the controlled sequence.
eof().For a formal definiton of this function, see a good text such as Langer & Kreft, or [27.5.2.4.5]/3-7. A functioning output streambuf can be created by overriding only this function (no buffer area will be used).
Reimplemented from std::basic_streambuf< char, char_traits< char > >. |
|
|
Tries to back up the input sequence.
Reimplemented from std::basic_streambuf< char, char_traits< char > >. |
|
|
|
|
||||||||||||||||
|
Alters the stream positions. Each derived class provides its own appropriate behavior.
Reimplemented from std::basic_streambuf< char, char_traits< char > >. |
|
||||||||||||
|
Alters the stream positions. Each derived class provides its own appropriate behavior.
Reimplemented from std::basic_streambuf< char, char_traits< char > >. |
|
||||||||||||
|
|
|
|
|
|
|
Fetches more data from the controlled sequence.
traits::eof() to indicate a null pending sequence.For a formal definiton of the pending sequence, see a good text such as Langer & Kreft, or [27.5.2.4.3]/7-14. A functioning input streambuf can be created by overriding only this function (no buffer area will be used). For an example, see http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#6
Reimplemented from std::basic_streambuf< char, char_traits< char > >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6