basic_streambuf< char, char_traits< char > > Class Template Reference

#include <stdapis/stlport/stl/_streambuf.h>

Link against: libstdcpp.lib

template <>
class basic_streambuf< char, char_traits< char > >
Public Member Type Definitions
typedefchar char_type
typedefchar_traits< char >::int_type int_type
typedefchar_traits< char >::off_type off_type
typedefchar_traits< char >::pos_type pos_type
typedefchar_traits< char > traits_type
Public Attributes
_STLP_mutex _M_lock
Public Member Functions
basic_streambuf()
basic_streambuf(FILE *, FILE *)
virtual ~basic_streambuf()
char_type *_M_eback()
char_type *_M_egptr()
void_M_gbump(int)
char_type *_M_gptr()
void_M_setg(char_type *, char_type *, char_type *)
streamsize _M_sputnc(char_type, streamsize)
locale getloc()
streamsize in_avail()
_STLP_DECLSPEC localepubimbue(const locale &)
pos_type pubseekoff(off_type, ios_base::seekdir, ios_base::openmode)
pos_type pubseekpos(pos_type, ios_base::openmode)
basic_streambuf< char, char_traits< char > > *pubsetbuf(char_type *, streamsize)
intpubsync()
int_type sbumpc()
int_type sgetc()
streamsize sgetn(char_type *, streamsize)
int_type snextc()
int_type sputbackc(char_type)
int_type sputc(char_type)
streamsize sputn(const char_type *, streamsize)
voidstossc()
int_type sungetc()
Protected Member Functions
virtual _STLP_DECLSPEC streamsize_M_xsputnc(char_type, streamsize)
virtual void_change_input_mode()
char_type *eback()
char_type *egptr()
char_type *epptr()
voidgbump(int)
char_type *gptr()
virtual _STLP_DECLSPEC voidimbue(const locale &)
virtual _STLP_DECLSPEC int_typeoverflow(int_type)
virtual _STLP_DECLSPEC int_typepbackfail(int_type)
char_type *pbase()
voidpbump(int)
char_type *pptr()
virtual intsave_read_buffer()
virtual _STLP_DECLSPEC pos_typeseekoff(off_type, ios_base::seekdir, ios_base::openmode)
virtual _STLP_DECLSPEC pos_typeseekpos(pos_type, ios_base::openmode)
virtual _STLP_DECLSPEC basic_streambuf< char, char_traits< char > > *setbuf(char_type *, streamsize)
voidsetg(char_type *, char_type *, char_type *)
voidsetp(char_type *, char_type *)
virtual _STLP_DECLSPEC streamsizeshowmanyc()
virtual _STLP_DECLSPEC intsync()
virtual _STLP_DECLSPEC int_typeuflow()
virtual _STLP_DECLSPEC int_typeunderflow()
virtual _STLP_DECLSPEC streamsizexsgetn(char_type *, streamsize)
virtual _STLP_DECLSPEC streamsizexsputn(const char_type *, streamsize)

Member Type Definition Documentation

Typedef char_type

typedef charchar_type

Typedef int_type

typedef char_traits< char >::int_typeint_type

Typedef off_type

typedef char_traits< char >::off_typeoff_type

Typedef pos_type

typedef char_traits< char >::pos_typepos_type

Typedef traits_type

typedef char_traits< char >traits_type

Member Attribute Documentation

_M_lock

_STLP_mutex _M_lock

Constructor & Destructor Documentation

basic_streambuf ( )

_STLP_DECLSPECbasic_streambuf()

basic_streambuf ( FILE *, FILE * )

_STLP_DECLSPECbasic_streambuf(FILE *__get,
FILE *__put
)

~basic_streambuf ( )

_STLP_DECLSPEC~basic_streambuf()[virtual]

Member Function Documentation

_M_eback ( )

char_type *_M_eback()const [inline]

_M_egptr ( )

char_type *_M_egptr()const [inline]

_M_gbump ( int )

void_M_gbump(int__n)[inline]

_M_gptr ( )

char_type *_M_gptr()const [inline]

_M_setg ( char_type *, char_type *, char_type * )

void_M_setg(char_type *__gbegin,
char_type *__gnext,
char_type *__gend
)[inline]

_M_sputnc ( char_type, streamsize )

streamsize _M_sputnc(char_type__c,
streamsize__n
)[inline]

_M_xsputnc ( char_type, streamsize )

_STLP_DECLSPEC streamsize_M_xsputnc(char_type__c,
streamsize__n
)[protected, virtual]

_change_input_mode ( )

void_change_input_mode()[protected, inline, virtual]

eback ( )

char_type *eback()const [protected, inline]

egptr ( )

char_type *egptr()const [protected, inline]

epptr ( )

char_type *epptr()const [protected, inline]

gbump ( int )

voidgbump(int__n)[protected, inline]

getloc ( )

locale getloc()const [inline]

gptr ( )

char_type *gptr()const [protected, inline]

imbue ( const locale & )

_STLP_DECLSPEC voidimbue(const locale &)[protected, virtual]

in_avail ( )

streamsize in_avail()[inline]

overflow ( int_type )

_STLP_DECLSPEC int_typeoverflow(int_type = traits_type::eof())[protected, virtual]

pbackfail ( int_type )

_STLP_DECLSPEC int_typepbackfail(int_type__c = traits_type::eof())[protected, virtual]

pbase ( )

char_type *pbase()const [protected, inline]

pbump ( int )

voidpbump(int__n)[protected, inline]

pptr ( )

char_type *pptr()const [protected, inline]

pubimbue ( const locale & )

_STLP_DECLSPEC localepubimbue(const locale &)

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

pos_type pubseekoff(off_type__offset,
ios_base::seekdir__way,
ios_base::openmode__mod =  ios_base::in|ios_base::out
)[inline]

pubseekpos ( pos_type, ios_base::openmode )

pos_type pubseekpos(pos_type__sp,
ios_base::openmode__mod =  ios_base::in|ios_base::out
)[inline]

pubsetbuf ( char_type *, streamsize )

basic_streambuf< char, char_traits< char > > *pubsetbuf(char_type *__s,
streamsize__n
)[inline]

pubsync ( )

intpubsync()[inline]

save_read_buffer ( )

intsave_read_buffer()[protected, inline, virtual]

sbumpc ( )

int_type sbumpc()[inline]

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

_STLP_DECLSPEC pos_typeseekoff(off_type,
ios_base::seekdir,
ios_base::openmode =  ios_base::in|ios_base::out
)[protected, virtual]

seekpos ( pos_type, ios_base::openmode )

_STLP_DECLSPEC pos_typeseekpos(pos_type,
ios_base::openmode =  ios_base::in|ios_base::out
)[protected, virtual]

setbuf ( char_type *, streamsize )

_STLP_DECLSPEC basic_streambuf< char, char_traits< char > > *setbuf(char_type *,
streamsize
)[protected, virtual]

setg ( char_type *, char_type *, char_type * )

voidsetg(char_type *__gbegin,
char_type *__gnext,
char_type *__gend
)[protected, inline]

setp ( char_type *, char_type * )

voidsetp(char_type *__pbegin,
char_type *__pend
)[protected, inline]

sgetc ( )

int_type sgetc()[inline]

sgetn ( char_type *, streamsize )

streamsize sgetn(char_type *__s,
streamsize__n
)[inline]

showmanyc ( )

_STLP_DECLSPEC streamsizeshowmanyc()[protected, virtual]

snextc ( )

int_type snextc()[inline]

sputbackc ( char_type )

int_type sputbackc(char_type__c)[inline]

sputc ( char_type )

int_type sputc(char_type__c)[inline]

sputn ( const char_type *, streamsize )

streamsize sputn(const char_type *__s,
streamsize__n
)[inline]

stossc ( )

voidstossc()[inline]

sungetc ( )

int_type sungetc()[inline]

sync ( )

_STLP_DECLSPEC intsync()[protected, virtual]

uflow ( )

_STLP_DECLSPEC int_typeuflow()[protected, virtual]

underflow ( )

_STLP_DECLSPEC int_typeunderflow()[protected, virtual]

xsgetn ( char_type *, streamsize )

_STLP_DECLSPEC streamsizexsgetn(char_type *__s,
streamsize__n
)[protected, virtual]

xsputn ( const char_type *, streamsize )

_STLP_DECLSPEC streamsizexsputn(const char_type *__s,
streamsize__n
)[protected, virtual]