basic_stringbuf Class Reference

#include <stdapis/stlportv5/stl/_sstream.h>

Link against: libstdcppv5.lib

class basic_stringbuf : public basic_streambuf

Inherits from

Public Member Type Definitions
typedef basic_streambuf< _CharT, _Traits > _Base
typedef basic_stringbuf< _CharT, _Traits, _Alloc > _Self
typedef basic_string< _CharT, _Traits, _Alloc > _String
typedef_CharT char_type
typedef_Traits::int_type int_type
typedef_Traits::off_type off_type
typedef_Traits::pos_type pos_type
typedef_Traits traits_type
Public Member Functions
basic_stringbuf(ios_base::openmode)
basic_stringbuf(const _String &, ios_base::openmode)
virtual ~basic_stringbuf()
_String str()
voidstr(const _String &)
Protected Member Functions
virtual streamsize _M_xsputnc(char_type, streamsize)
virtual int_type overflow(int_type)
int_type overflow()
virtual int_type pbackfail(int_type)
int_type pbackfail()
virtual pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode)
virtual pos_type seekpos(pos_type, ios_base::openmode)
virtual _Base *setbuf(_CharT *, streamsize)
virtual int_type uflow()
virtual int_type underflow()
virtual streamsize xsputn(const char_type *, streamsize)
Inherited Functions
basic_streambuf::_M_eback()const
basic_streambuf::_M_egptr()const
basic_streambuf::_M_gbump(int)
basic_streambuf::_M_gptr()const
basic_streambuf::_M_setg(char_type *,char_type *,char_type *)
basic_streambuf::_M_sputnc(char_type,streamsize)
basic_streambuf::basic_streambuf()
basic_streambuf::eback()const
basic_streambuf::egptr()const
basic_streambuf::epptr()const
basic_streambuf::gbump(int)
basic_streambuf::getloc()const
basic_streambuf::gptr()const
basic_streambuf::imbue(const locale &)
basic_streambuf::in_avail()
basic_streambuf::pbase()const
basic_streambuf::pbump(int)
basic_streambuf::pptr()const
basic_streambuf::pubimbue(const locale &)
basic_streambuf::pubseekoff(off_type,ios_base::seekdir,ios_base::openmode)
basic_streambuf::pubseekpos(pos_type,ios_base::openmode)
basic_streambuf::pubsetbuf(char_type *,streamsize)
basic_streambuf::pubsync()
basic_streambuf::sbumpc()
basic_streambuf::setg(char_type *,char_type *,char_type *)
basic_streambuf::setp(char_type *,char_type *)
basic_streambuf::sgetc()
basic_streambuf::sgetn(char_type *,streamsize)
basic_streambuf::showmanyc()
basic_streambuf::snextc()
basic_streambuf::sputbackc(char_type)
basic_streambuf::sputc(char_type)
basic_streambuf::sputn(const char_type *,streamsize)
basic_streambuf::stossc()
basic_streambuf::sungetc()
basic_streambuf::sync()
basic_streambuf::xsgetn(char_type *,streamsize)
basic_streambuf::~basic_streambuf()

Member Type Definition Documentation

Typedef _Base

typedef basic_streambuf< _CharT, _Traits >_Base

Typedef _Self

typedef basic_stringbuf< _CharT, _Traits, _Alloc >_Self

Typedef _String

typedef basic_string< _CharT, _Traits, _Alloc >_String

Typedef char_type

typedef _CharTchar_type

Typedef int_type

typedef _Traits::int_typeint_type

Typedef off_type

typedef _Traits::off_typeoff_type

Typedef pos_type

typedef _Traits::pos_typepos_type

Typedef traits_type

typedef _Traitstraits_type

Constructor & Destructor Documentation

basic_stringbuf ( ios_base::openmode )

basic_stringbuf(ios_base::openmode__mode =  ios_base::in|ios_base::out)[explicit]

basic_stringbuf ( const _String &, ios_base::openmode )

basic_stringbuf(const _String &__s,
ios_base::openmode__mode =  ios_base::in|ios_base::out
)[explicit]

~basic_stringbuf ( )

~basic_stringbuf()[inline, virtual]

Member Function Documentation

_M_xsputnc ( char_type, streamsize )

streamsize _M_xsputnc(char_type__c,
streamsize__n
)[protected, inline, virtual]

overflow ( int_type )

int_type overflow(int_type__c)[protected, inline, virtual]

overflow ( )

int_type overflow()[protected, inline]

pbackfail ( int_type )

int_type pbackfail(int_type__c)[protected, inline, virtual]

pbackfail ( )

int_type pbackfail()[protected, inline]

seekoff ( off_type, ios_base::seekdir, ios_base::openmode )

pos_type seekoff(off_type__off,
ios_base::seekdir__dir,
ios_base::openmode__mode =  ios_base::in|ios_base::out
)[protected, inline, virtual]

seekpos ( pos_type, ios_base::openmode )

pos_type seekpos(pos_type__pos,
ios_base::openmode__mode =  ios_base::in|ios_base::out
)[protected, inline, virtual]

setbuf ( _CharT *, streamsize )

_Base *setbuf(_CharT *,
streamsize__n
)[protected, inline, virtual]

str ( )

_String str()const [inline]

str ( const _String & )

voidstr(const _String &__s)

uflow ( )

int_type uflow()[protected, inline, virtual]

Reimplemented from basic_streambuf::uflow()

underflow ( )

int_type underflow()[protected, inline, virtual]

Reimplemented from basic_streambuf::underflow()

xsputn ( const char_type *, streamsize )

streamsize xsputn(const char_type *__s,
streamsize__n
)[protected, inline, virtual]