#include <memstream.hh>
Public Types | |
| typedef _CharT | char_type |
| Character data type. | |
| typedef _Traits | traits_type |
| Trait data type. | |
| typedef traits_type::int_type | int_type |
| Integer data 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 |
| Stream buffer type. | |
|
typedef std::basic_istream < char_type, traits_type > | __istream_type |
| Input stream type. | |
Public Member Functions | |
| basic_imemstream (std::ios_base::openmode __mode=std::ios_base::in) | |
| basic_imemstream (const char_type *__buf, int_type __len, std::ios_base::openmode __mode=std::ios_base::in) | |
| ~basic_imemstream () | |
| Destructor. | |
| __membuf_type * | rdbuf () const |
| Get a streambuf pointer. | |
Input memory stream template using the stream buffer defined above.
| basic_imemstream< _CharT, _Traits >::basic_imemstream | ( | std::ios_base::openmode | __mode = std::ios_base::in |
) | [inline, explicit] |
Construct a closed memory dtream
| basic_imemstream< _CharT, _Traits >::basic_imemstream | ( | const char_type * | __buf, | |
| int_type | __len, | |||
| std::ios_base::openmode | __mode = std::ios_base::in | |||
| ) | [inline] |
Construct a memory input stream and assign a buffer to the stream.
| basic_imemstream< _CharT, _Traits >::~basic_imemstream | ( | ) | [inline] |
Destructor.
Destroy a memory input stream.
| __membuf_type* basic_imemstream< _CharT, _Traits >::rdbuf | ( | ) | const [inline] |
Get a streambuf pointer.
Get the memory stream buffer associated with this stream.
1.5.4