Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
boost::io::basic_altstringbuf< Ch, Tr, Alloc > Class Template Reference

#include <alt_sstream.hpp>

Inheritance diagram for boost::io::basic_altstringbuf< Ch, Tr, Alloc >:
Inheritance graph
[legend]

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_
 

Detailed Description

template<class Ch, class Tr, class Alloc>
class boost::io::basic_altstringbuf< Ch, Tr, Alloc >

Definition at line 30 of file alt_sstream.hpp.

Member Typedef Documentation

template<class Ch, class Tr, class Alloc>
typedef Alloc boost::io::basic_altstringbuf< Ch, Tr, Alloc >::allocator_type

Definition at line 50 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef Ch boost::io::basic_altstringbuf< Ch, Tr, Alloc >::char_type

Definition at line 45 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef CompatAlloc<Alloc>::compatible_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::compat_allocator_type
private

Definition at line 42 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef CompatTraits<Tr>::compatible_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::compat_traits_type
private

Definition at line 43 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef compat_traits_type::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::int_type

Definition at line 47 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef compat_traits_type::off_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::off_type

Definition at line 49 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef compat_traits_type::pos_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pos_type

Definition at line 48 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef string_type::size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::size_type

Definition at line 52 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef ::std::basic_streambuf<Ch, Tr> boost::io::basic_altstringbuf< Ch, Tr, Alloc >::streambuf_t
private

Definition at line 41 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
typedef ::std::streamsize boost::io::basic_altstringbuf< Ch, Tr, Alloc >::streamsize

Definition at line 54 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
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.

template<class Ch, class Tr, class Alloc>
typedef Tr boost::io::basic_altstringbuf< Ch, Tr, Alloc >::traits_type

Definition at line 46 of file alt_sstream.hpp.

Member Enumeration Documentation

template<class Ch, class Tr, class Alloc>
anonymous enum
private
Enumerator
alloc_min 

Definition at line 110 of file alt_sstream.hpp.

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

Definition at line 57 of file alt_sstream.hpp.

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

Definition at line 61 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
virtual boost::io::basic_altstringbuf< Ch, Tr, Alloc >::~basic_altstringbuf ( )
inlinevirtual

Definition at line 66 of file alt_sstream.hpp.

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

Definition at line 93 of file alt_sstream.hpp.

Member Function Documentation

template<class Ch , class Tr , class Alloc >
Ch * boost::io::basic_altstringbuf< Ch, Tr, Alloc >::begin ( void  ) const

Definition at line 66 of file alt_sstream_impl.hpp.

template<class Ch , class Tr , class Alloc >
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::clear_buffer ( )

Definition at line 22 of file alt_sstream_impl.hpp.

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

Definition at line 89 of file alt_sstream_impl.hpp.

template<class Ch, class Tr, class Alloc>
string_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::cur_str ( ) const
inline

Definition at line 90 of file alt_sstream.hpp.

template<class Ch , class Tr , class Alloc >
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::dealloc ( )
protected

Definition at line 300 of file alt_sstream_impl.hpp.

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

Definition at line 228 of file alt_sstream_impl.hpp.

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

Definition at line 208 of file alt_sstream_impl.hpp.

template<class Ch, class Tr, class Alloc>
size_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pcount ( ) const
inline

Definition at line 84 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
Ch* boost::io::basic_altstringbuf< Ch, Tr, Alloc >::pend ( ) const
inline

Definition at line 82 of file alt_sstream.hpp.

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

Definition at line 101 of file alt_sstream_impl.hpp.

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

Definition at line 147 of file alt_sstream_impl.hpp.

template<class Ch , class Tr , class Alloc >
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.

template<class Ch , class Tr , class Alloc >
void boost::io::basic_altstringbuf< Ch, Tr, Alloc >::str ( const string_type s)

Definition at line 37 of file alt_sstream_impl.hpp.

template<class Ch, class Tr, class Alloc>
string_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::str ( ) const
inline

Definition at line 88 of file alt_sstream.hpp.

template<class Ch , class Tr , class Alloc >
basic_altstringbuf< Ch, Tr, Alloc >::int_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::underflow ( )
protectedvirtual

Definition at line 186 of file alt_sstream_impl.hpp.

Member Data Documentation

template<class Ch, class Tr, class Alloc>
compat_allocator_type boost::io::basic_altstringbuf< Ch, Tr, Alloc >::alloc_
private

Definition at line 115 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
bool boost::io::basic_altstringbuf< Ch, Tr, Alloc >::is_allocated_
private

Definition at line 113 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
::std::ios_base::openmode boost::io::basic_altstringbuf< Ch, Tr, Alloc >::mode_
private

Definition at line 114 of file alt_sstream.hpp.

template<class Ch, class Tr, class Alloc>
Ch* boost::io::basic_altstringbuf< Ch, Tr, Alloc >::putend_
private

Definition at line 112 of file alt_sstream.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:34