#include <memstream.hh>
Public Types | |
| typedef _CharT | char_type |
| Character type. | |
| typedef _Traits | traits_type |
| Traits type. | |
| typedef traits_type::int_type | int_type |
| Integer type. | |
| typedef traits_type::pos_type | pos_type |
| Position type. | |
| typedef traits_type::off_type | off_type |
| Offset type. | |
|
typedef basic_membuf< _CharT, _Traits > | __membuf_type |
| Memory stream buffer data type. | |
|
typedef std::basic_ostream < char_type, traits_type > | __ostream_type |
| Output memory stream data type. | |
Public Member Functions | |
| basic_omemstream (std::ios_base::openmode __mode=std::ios_base::out) | |
| basic_omemstream (char_type *__buf, int_type __len, std::ios_base::openmode __mode=std::ios_base::out) | |
| ~basic_omemstream () | |
| __membuf_type * | rdbuf () const |
| Get a streambuf pointer. | |
Output memory stream template using the stream buffer defined above.
| basic_omemstream< _CharT, _Traits >::basic_omemstream | ( | std::ios_base::openmode | __mode = std::ios_base::out |
) | [inline, explicit] |
Construct an output memory stream with no associated buffer.
| basic_omemstream< _CharT, _Traits >::basic_omemstream | ( | char_type * | __buf, | |
| int_type | __len, | |||
| std::ios_base::openmode | __mode = std::ios_base::out | |||
| ) | [inline] |
Construct an output memory stream and associate a buffer with the specified length.
| basic_omemstream< _CharT, _Traits >::~basic_omemstream | ( | ) | [inline] |
Destroy an output memory stream.
| __membuf_type* basic_omemstream< _CharT, _Traits >::rdbuf | ( | ) | const [inline] |
Get a streambuf pointer.
Get the memory stream buffer associated with this stream.
1.5.4