Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::io::basic_altstringbuf< Ch, Tr, Alloc > Class Template Reference

#include <alt_sstream.hpp>

Inheritance diagram for boost::io::basic_altstringbuf< Ch, Tr, Alloc >:
Collaboration diagram for boost::io::basic_altstringbuf< Ch, Tr, Alloc >:

Public Types

typedef Ch char_type
 
typedef Tr traits_type
 
typedef
compat_traits_type::int_type 
int_type
 
typedef
compat_traits_type::pos_type 
pos_type
 
typedef
compat_traits_type::off_type 
off_type
 
typedef Alloc allocator_type
 
typedef ::std::basic_string
< Ch, Tr, Alloc > 
string_type
 
typedef string_type::size_type size_type
 
typedef ::std::streamsize streamsize
 

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)
 
virtual ~basic_altstringbuf ()
 
void clear_buffer ()
 
void str (const string_type &s)
 
Ch * begin () const
 
size_type size () const
 
size_type cur_size () const
 
Ch * pend () const
 
size_type pcount () const
 
string_type str () const
 
string_type cur_str () const
 

Protected Member Functions

 basic_altstringbuf (basic_altstringbuf *s,::std::ios_base::openmode mode=::std::ios_base::in|::std::ios_base::out)
 
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 ()
 
virtual int_type pbackfail (int_type meta=compat_traits_type::eof())
 
virtual int_type overflow (int_type meta=compat_traits_type::eof())
 
void dealloc ()
 

Member Typedef Documentation

template<class Ch, class Tr, class Alloc>
typedef Alloc boost::io::basic_altstringbuf< Ch, Tr, Alloc >::allocator_type
template<class Ch, class Tr, class Alloc>
typedef Ch boost::io::basic_altstringbuf< Ch, Tr, Alloc >::char_type
template<class Ch, class Tr, class Alloc>
typedef compat_traits_type::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::int_type
template<class Ch, class Tr, class Alloc>
typedef compat_traits_type::off_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::off_type
template<class Ch, class Tr, class Alloc>
typedef compat_traits_type::pos_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pos_type
template<class Ch, class Tr, class Alloc>
typedef string_type::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::size_type
template<class Ch, class Tr, class Alloc>
typedef ::std::streamsize boost::io::basic_altstringbuf< Ch, Tr, Alloc >::streamsize
template<class Ch, class Tr, class Alloc>
typedef ::std::basic_string<Ch, Tr, Alloc> boost::io::basic_altstringbuf< Ch, Tr, Alloc >::string_type
template<class Ch, class Tr, class Alloc>
typedef Tr boost::io::basic_altstringbuf< Ch, Tr, Alloc >::traits_type

Constructor & Destructor Documentation

template<class Ch, class Tr, class Alloc>
boost::io::basic_altstringbuf< Ch, Tr, Alloc >::basic_altstringbuf ( std::ios_base::openmode  mode = std::ios_base::in | std::ios_base::out)
inlineexplicit
template<class Ch, class Tr, class Alloc>
boost::io::basic_altstringbuf< Ch, Tr, Alloc >::basic_altstringbuf ( const string_type s,
::std::ios_base::openmode  mode = ::std::ios_base::in | ::std::ios_base::out 
)
inlineexplicit
template<class Ch, class Tr, class Alloc>
virtual boost::io::basic_altstringbuf< Ch, Tr, Alloc >::~basic_altstringbuf ( )
inlinevirtual
template<class Ch, class Tr, class Alloc>
boost::io::basic_altstringbuf< Ch, Tr, Alloc >::basic_altstringbuf ( basic_altstringbuf< Ch, Tr, Alloc > *  s,
::std::ios_base::openmode  mode = ::std::ios_base::in | ::std::ios_base::out 
)
inlineexplicitprotected

Member Function Documentation

template<class Ch , class Tr , class Alloc >
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::clear_buffer ( )
template<class Ch , class Tr , class Alloc >
std::basic_string< Ch, Tr, Alloc >::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::cur_size ( ) const
template<class Ch , class Tr , class Alloc >
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::dealloc ( )
protected
template<class Ch , class Tr , class Alloc >
basic_altstringbuf< Ch, Tr, Alloc >::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::overflow ( int_type  meta = compat_traits_type::eof())
protectedvirtual
template<class Ch , class Tr , class Alloc >
basic_altstringbuf< Ch, Tr, Alloc >::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pbackfail ( int_type  meta = compat_traits_type::eof())
protectedvirtual
template<class Ch, class Tr, class Alloc>
size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pcount ( ) const
inline

Referenced by boost::io::detail::put().

template<class Ch, class Tr, class Alloc>
Ch* boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pend ( ) const
inline
template<class Ch , class Tr , class Alloc >
basic_altstringbuf< Ch, Tr, Alloc >::pos_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::seekoff ( off_type  off,
::std::ios_base::seekdir  way,
::std::ios_base::openmode  which = ::std::ios_base::in | ::std::ios_base::out 
)
protectedvirtual
template<class Ch , class Tr , class Alloc >
basic_altstringbuf< Ch, Tr, Alloc >::pos_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::seekpos ( pos_type  pos,
::std::ios_base::openmode  which = ::std::ios_base::in | ::std::ios_base::out 
)
protectedvirtual
template<class Ch , class Tr , class Alloc >
std::basic_string< Ch, Tr, Alloc >::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::size ( ) const
template<class Ch , class Tr , class Alloc >
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::str ( const string_type s)
template<class Ch , class Tr , class Alloc >
basic_altstringbuf< Ch, Tr, Alloc >::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::underflow ( )
protectedvirtual

The documentation for this class was generated from the following files: