strstreambuf Class Reference

class strstreambuf : public basic_streambuf< char, char_traits< char > >
Public Member Functions
~_STLP_strstreambuf()
_STLP_strstreambuf(streamsize)
_STLP_DECLSPEC_STLP_strstreambuf(__alloc_fn, __free_fn)
_STLP_DECLSPEC_STLP_strstreambuf(char *, streamsize, char *)
_STLP_DECLSPEC_STLP_strstreambuf(signed char *, streamsize, signed char *)
_STLP_DECLSPEC_STLP_strstreambuf(unsigned char *, streamsize, unsigned char *)
_STLP_DECLSPEC_STLP_strstreambuf(const char *, streamsize)
_STLP_DECLSPEC_STLP_strstreambuf(const signed char *, streamsize)
_STLP_DECLSPEC_STLP_strstreambuf(const unsigned char *, streamsize)
_STLP_DECLSPEC voidfreeze(bool)
_STLP_DECLSPEC intpcount()
_STLP_DECLSPEC char *str()
Protected Member Functions
int_type overflow(int_type)
int_type pbackfail(int_type)
pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode)
pos_type seekpos(pos_type, ios_base::openmode)
_Base *setbuf(char *, streamsize)
int_type underflow()
Private Member Functions
char *_M_alloc(size_t)
void_M_free(char *)
void_M_setup(char *, char *, streamsize)
Inherited Functions
basic_streambuf< char, char_traits< char > >::_M_eback()const
basic_streambuf< char, char_traits< char > >::_M_egptr()const
basic_streambuf< char, char_traits< char > >::_M_gbump(int)
basic_streambuf< char, char_traits< char > >::_M_gptr()const
basic_streambuf< char, char_traits< char > >::_M_setg(char_type *,char_type *,char_type *)
basic_streambuf< char, char_traits< char > >::_M_sputnc(char_type,streamsize)
basic_streambuf< char, char_traits< char > >::_M_xsputnc(char_type,streamsize)
basic_streambuf< char, char_traits< char > >::_change_input_mode()
basic_streambuf< char, char_traits< char > >::basic_streambuf()
basic_streambuf< char, char_traits< char > >::basic_streambuf(FILE *,FILE *)
basic_streambuf< char, char_traits< char > >::eback()const
basic_streambuf< char, char_traits< char > >::egptr()const
basic_streambuf< char, char_traits< char > >::epptr()const
basic_streambuf< char, char_traits< char > >::gbump(int)
basic_streambuf< char, char_traits< char > >::getloc()const
basic_streambuf< char, char_traits< char > >::gptr()const
basic_streambuf< char, char_traits< char > >::imbue(const locale &)
basic_streambuf< char, char_traits< char > >::in_avail()
basic_streambuf< char, char_traits< char > >::pbase()const
basic_streambuf< char, char_traits< char > >::pbump(int)
basic_streambuf< char, char_traits< char > >::pptr()const
basic_streambuf< char, char_traits< char > >::pubimbue(const locale &)
basic_streambuf< char, char_traits< char > >::pubseekoff(off_type,ios_base::seekdir,ios_base::openmode)
basic_streambuf< char, char_traits< char > >::pubseekpos(pos_type,ios_base::openmode)
basic_streambuf< char, char_traits< char > >::pubsetbuf(char_type *,streamsize)
basic_streambuf< char, char_traits< char > >::pubsync()
basic_streambuf< char, char_traits< char > >::save_read_buffer()
basic_streambuf< char, char_traits< char > >::sbumpc()
basic_streambuf< char, char_traits< char > >::setg(char_type *,char_type *,char_type *)
basic_streambuf< char, char_traits< char > >::setp(char_type *,char_type *)
basic_streambuf< char, char_traits< char > >::sgetc()
basic_streambuf< char, char_traits< char > >::sgetn(char_type *,streamsize)
basic_streambuf< char, char_traits< char > >::showmanyc()
basic_streambuf< char, char_traits< char > >::snextc()
basic_streambuf< char, char_traits< char > >::sputbackc(char_type)
basic_streambuf< char, char_traits< char > >::sputc(char_type)
basic_streambuf< char, char_traits< char > >::sputn(const char_type *,streamsize)
basic_streambuf< char, char_traits< char > >::stossc()
basic_streambuf< char, char_traits< char > >::sungetc()
basic_streambuf< char, char_traits< char > >::sync()
basic_streambuf< char, char_traits< char > >::uflow()
basic_streambuf< char, char_traits< char > >::xsgetn(char_type *,streamsize)
basic_streambuf< char, char_traits< char > >::xsputn(const char_type *,streamsize)
basic_streambuf< char, char_traits< char > >::~basic_streambuf()
Public Member Type Definitions
typedef basic_streambuf< char, char_traits< char > > _Base
typedef char_traits< char > _Traits
typedefvoid *(* __alloc_fn
typedefvoid(* __free_fn
Private Attributes
__alloc_fn _M_alloc_fun
bool_M_constant
bool_M_dynamic
__free_fn _M_free_fun
bool_M_frozen
char *_pfrozenendsave
char *_pgetfrozenendsave
Inherited Attributes
basic_streambuf< char, char_traits< char > >::_M_lock

Constructor & Destructor Documentation

~_STLP_strstreambuf()

~_STLP_strstreambuf()[inline, virtual]

Member Functions Documentation

_M_alloc(size_t)

char *_M_alloc(size_t)[private]

Parameters

size_t

_M_free(char *)

void_M_free(char *)[private, inline]

Parameters

char *

_M_setup(char *, char *, streamsize)

void_M_setup(char *__get,
char *__put,
streamsize__n
)[private]

Parameters

char * __get
char * __put
streamsize __n

_STLP_strstreambuf(streamsize)

_STLP_strstreambuf(streamsize_Initial_capacity = 0)[explicit]

Parameters

streamsize _Initial_capacity = 0

_STLP_strstreambuf(__alloc_fn, __free_fn)

_STLP_DECLSPEC_STLP_strstreambuf(__alloc_fn,
__free_fn
)

_STLP_strstreambuf(char *, streamsize, char *)

_STLP_DECLSPEC_STLP_strstreambuf(char *__get,
streamsize__n,
char *__put = 0
)

Parameters

char * __get
streamsize __n
char * __put = 0

_STLP_strstreambuf(signed char *, streamsize, signed char *)

_STLP_DECLSPEC_STLP_strstreambuf(signed char *__get,
streamsize__n,
signed char *__put = 0
)

Parameters

signed char * __get
streamsize __n
signed char * __put = 0

_STLP_strstreambuf(unsigned char *, streamsize, unsigned char *)

_STLP_DECLSPEC_STLP_strstreambuf(unsigned char *__get,
streamsize__n,
unsigned char *__put = 0
)

Parameters

unsigned char * __get
streamsize __n
unsigned char * __put = 0

_STLP_strstreambuf(const char *, streamsize)

_STLP_DECLSPEC_STLP_strstreambuf(const char *__get,
streamsize__n
)

Parameters

const char * __get
streamsize __n

_STLP_strstreambuf(const signed char *, streamsize)

_STLP_DECLSPEC_STLP_strstreambuf(const signed char *__get,
streamsize__n
)

Parameters

const signed char * __get
streamsize __n

_STLP_strstreambuf(const unsigned char *, streamsize)

_STLP_DECLSPEC_STLP_strstreambuf(const unsigned char *__get,
streamsize__n
)

Parameters

const unsigned char * __get
streamsize __n

freeze(bool)

_STLP_DECLSPEC voidfreeze(bool = true)

Parameters

bool  = true

overflow(int_type)

int_type overflow(int_type__c = _Traits::eof())[protected, virtual]

Parameters

int_type __c = _Traits::eof()

pbackfail(int_type)

int_type pbackfail(int_type__c = _Traits::eof())[protected, virtual]

Parameters

int_type __c = _Traits::eof()

pcount()

_STLP_DECLSPEC intpcount()const

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, virtual]

seekpos(pos_type, ios_base::openmode)

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

setbuf(char *, streamsize)

_Base *setbuf(char *__buf,
streamsize__n
)[protected, virtual]

Parameters

char * __buf
streamsize __n

str()

_STLP_DECLSPEC char *str()

underflow()

int_type underflow()[protected, virtual]

Member Type Definitions Documentation

Typedef _Base

typedef basic_streambuf< char, char_traits< char > >_Base

Typedef _Traits

typedef char_traits< char >_Traits

Typedef __alloc_fn

typedef void *(*__alloc_fn

Typedef __free_fn

typedef void(*__free_fn

Member Data Documentation

__alloc_fn _M_alloc_fun

__alloc_fn _M_alloc_fun[private]

bool _M_constant

bool_M_constant[private]

bool _M_dynamic

bool_M_dynamic[private]

__free_fn _M_free_fun

__free_fn _M_free_fun[private]

bool _M_frozen

bool_M_frozen[private]

char * _pfrozenendsave

char *_pfrozenendsave[private]

char * _pgetfrozenendsave

char *_pgetfrozenendsave[private]