#include <alt_sstream.hpp>
Public Types | |
typedef Alloc | allocator_type |
typedef Ch | char_type |
typedef compat_traits_type::int_type | int_type |
typedef compat_traits_type::off_type | off_type |
typedef compat_traits_type::pos_type | pos_type |
typedef string_type::size_type | size_type |
typedef ::std::streamsize | streamsize |
typedef ::std::basic_string< Ch, Tr, Alloc > | string_type |
typedef Tr | traits_type |
Public Member Functions | |
basic_altstringbuf (std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out) | |
basic_altstringbuf (const string_type &s,::std::ios_base::openmode mode=::std::ios_base::in|::std::ios_base::out) | |
Ch * | begin () const |
void | clear_buffer () |
size_type | cur_size () const |
string_type | cur_str () const |
size_type | pcount () const |
Ch * | pend () const |
size_type | size () const |
void | str (const string_type &s) |
string_type | str () const |
virtual | ~basic_altstringbuf () |
Protected Member Functions | |
basic_altstringbuf (basic_altstringbuf *s,::std::ios_base::openmode mode=::std::ios_base::in|::std::ios_base::out) | |
void | dealloc () |
virtual int_type | overflow (int_type meta=compat_traits_type::eof()) |
virtual int_type | pbackfail (int_type meta=compat_traits_type::eof()) |
virtual pos_type | seekoff (off_type off,::std::ios_base::seekdir way,::std::ios_base::openmode which=::std::ios_base::in|::std::ios_base::out) |
virtual pos_type | seekpos (pos_type pos,::std::ios_base::openmode which=::std::ios_base::in|::std::ios_base::out) |
virtual int_type | underflow () |
Private Types | |
enum | { alloc_min = 256 } |
typedef CompatAlloc< Alloc >::compatible_type | compat_allocator_type |
typedef CompatTraits< Tr >::compatible_type | compat_traits_type |
typedef ::std::basic_streambuf< Ch, Tr > | streambuf_t |
Private Attributes | |
compat_allocator_type | alloc_ |
bool | is_allocated_ |
::std::ios_base::openmode | mode_ |
Ch * | putend_ |
Definition at line 30 of file alt_sstream.hpp.
typedef Alloc boost::io::basic_altstringbuf< Ch, Tr, Alloc >::allocator_type |
Definition at line 50 of file alt_sstream.hpp.
typedef Ch boost::io::basic_altstringbuf< Ch, Tr, Alloc >::char_type |
Definition at line 45 of file alt_sstream.hpp.
|
private |
Definition at line 42 of file alt_sstream.hpp.
|
private |
Definition at line 43 of file alt_sstream.hpp.
typedef compat_traits_type::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::int_type |
Definition at line 47 of file alt_sstream.hpp.
typedef compat_traits_type::off_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::off_type |
Definition at line 49 of file alt_sstream.hpp.
typedef compat_traits_type::pos_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pos_type |
Definition at line 48 of file alt_sstream.hpp.
typedef string_type::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::size_type |
Definition at line 52 of file alt_sstream.hpp.
|
private |
Definition at line 41 of file alt_sstream.hpp.
typedef ::std::streamsize boost::io::basic_altstringbuf< Ch, Tr, Alloc >::streamsize |
Definition at line 54 of file alt_sstream.hpp.
typedef ::std::basic_string<Ch, Tr, Alloc> boost::io::basic_altstringbuf< Ch, Tr, Alloc >::string_type |
Definition at line 51 of file alt_sstream.hpp.
typedef Tr boost::io::basic_altstringbuf< Ch, Tr, Alloc >::traits_type |
Definition at line 46 of file alt_sstream.hpp.
|
private |
Enumerator | |
---|---|
alloc_min |
Definition at line 110 of file alt_sstream.hpp.
|
inlineexplicit |
Definition at line 57 of file alt_sstream.hpp.
|
inlineexplicit |
Definition at line 61 of file alt_sstream.hpp.
|
inlinevirtual |
Definition at line 66 of file alt_sstream.hpp.
|
inlineexplicitprotected |
Definition at line 93 of file alt_sstream.hpp.
Ch * boost::io::basic_altstringbuf< Ch, Tr, Alloc >::begin | ( | void | ) | const |
Definition at line 66 of file alt_sstream_impl.hpp.
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::clear_buffer | ( | ) |
Definition at line 22 of file alt_sstream_impl.hpp.
std::basic_string< Ch, Tr, Alloc >::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::cur_size | ( | ) | const |
Definition at line 89 of file alt_sstream_impl.hpp.
|
inline |
Definition at line 90 of file alt_sstream.hpp.
|
protected |
Definition at line 300 of file alt_sstream_impl.hpp.
|
protectedvirtual |
Definition at line 228 of file alt_sstream_impl.hpp.
|
protectedvirtual |
Definition at line 208 of file alt_sstream_impl.hpp.
|
inline |
Definition at line 84 of file alt_sstream.hpp.
|
inline |
Definition at line 82 of file alt_sstream.hpp.
|
protectedvirtual |
Definition at line 101 of file alt_sstream_impl.hpp.
|
protectedvirtual |
Definition at line 147 of file alt_sstream_impl.hpp.
std::basic_string< Ch, Tr, Alloc >::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::size | ( | void | ) | const |
Definition at line 77 of file alt_sstream_impl.hpp.
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::str | ( | const string_type & | s | ) |
Definition at line 37 of file alt_sstream_impl.hpp.
|
inline |
Definition at line 88 of file alt_sstream.hpp.
|
protectedvirtual |
Definition at line 186 of file alt_sstream_impl.hpp.
|
private |
Definition at line 115 of file alt_sstream.hpp.
|
private |
Definition at line 113 of file alt_sstream.hpp.
|
private |
Definition at line 114 of file alt_sstream.hpp.
|
private |
Definition at line 112 of file alt_sstream.hpp.