ios_base Class Reference

class ios_base

Nested Classes and Structures

Public Member Functions
~ios_base()
const locale::facet *_M_ctype_facet()
const string &_M_grouping()
const locale::facet *_M_numpunct_facet()
boolbad()
booleof()
boolfail()
fmtflags flags()
fmtflags flags(fmtflags)
locale getloc()
boolgood()
_STLP_DECLSPEC localeimbue(const locale &)
_STLP_DECLSPEC long &iword(int)
operator void *()
booloperator!()
streamsize precision()
streamsize precision(streamsize)
_STLP_DECLSPEC void *&pword(int)
iostate rdstate()
_STLP_DECLSPEC voidregister_callback(event_callback, int)
fmtflags setf(fmtflags)
fmtflags setf(fmtflags, fmtflags)
_STLP_DECLSPEC bool _STLP_CALLsync_with_stdio(bool)
voidunsetf(fmtflags)
streamsize width()
streamsize width(streamsize)
_STLP_DECLSPEC int _STLP_CALLxalloc()
Protected Member Functions
ios_base()
void_M_check_exception_mask()
void_M_clear_nothrow(iostate)
_STLP_DECLSPEC void_M_copy_state(const ios_base &)
iostate _M_get_exception_mask()
_STLP_DECLSPEC void_M_invoke_callbacks(event)
void_M_set_exception_mask(iostate)
void_M_setstate_nothrow(iostate)
_STLP_DECLSPEC void _STLP_FUNCTION_THROWS_M_throw_failure()
void _STLP_CALL_S_initialize()
void _STLP_CALL_S_uninitialize()
Private Member Functions
ios_base(const ios_base &)
voidoperator=(const ios_base &)
Public Member Type Definitions
typedefvoid(* event_callback
typedef fmtflags fmt_flags
typedefint fmtflags
typedef iostate io_state
typedefint iostate
typedef openmode open_mode
typedefint openmode
typedef seekdir seek_dir
typedefint seekdir
typedef _STLP_STD::streamoff streamoff
typedef _STLP_STD::streampos streampos
Public Attributes
const int__default_mode
const intadjustfield
const intapp
const intate
const intbadbit
const intbasefield
const intbeg
const intbinary
const intboolalpha
const intcur
const intdec
const intend
const inteofbit
const intfailbit
const intfixed
const intfloatfield
const intgoodbit
const inthex
const intin
const intinternal
const intleft
const intoct
const intout
const intright
const intscientific
const intshowbase
const intshowpoint
const intshowpos
const intskipws
const inttrunc
const intunitbuf
const intuppercase
Protected Attributes
locale::facet *_M_cached_ctype
string _M_cached_grouping
locale::facet *_M_cached_numpunct
bool_S_was_synced
Private Attributes
size_t _M_callback_index
pair< event_callback, int > *_M_callbacks
iostate _M_exception_mask
fmtflags _M_fmtflags
iostate _M_iostate
long *_M_iwords
locale _M_locale
size_t _M_num_callbacks
size_t _M_num_iwords
size_t _M_num_pwords
openmode _M_openmode
streamsize _M_precision
void **_M_pwords
seekdir _M_seekdir
streamsize _M_width

Constructor & Destructor Documentation

ios_base()

_STLP_DECLSPECios_base()[protected]

ios_base(const ios_base &)

ios_base(const ios_base &)[private]

Parameters

const ios_base &

~ios_base()

_STLP_DECLSPEC~ios_base()[virtual]

Member Functions Documentation

_M_check_exception_mask()

void_M_check_exception_mask()[protected, inline]

_M_clear_nothrow(iostate)

void_M_clear_nothrow(iostate__state)[protected, inline]

Parameters

iostate __state

_M_copy_state(const ios_base &)

_STLP_DECLSPEC void_M_copy_state(const ios_base &__x)[protected]

Parameters

const ios_base & __x

_M_ctype_facet()

const locale::facet *_M_ctype_facet()const [inline]

_M_get_exception_mask()

iostate _M_get_exception_mask()const [protected, inline]

_M_grouping()

const string &_M_grouping()const [inline]

_M_invoke_callbacks(event)

_STLP_DECLSPEC void_M_invoke_callbacks(event)[protected]

Parameters

event

_M_numpunct_facet()

const locale::facet *_M_numpunct_facet()const [inline]

_M_set_exception_mask(iostate)

void_M_set_exception_mask(iostate__mask)[protected, inline]

Parameters

iostate __mask

_M_setstate_nothrow(iostate)

void_M_setstate_nothrow(iostate__state)[protected, inline]

Parameters

iostate __state

_M_throw_failure()

_STLP_DECLSPEC void _STLP_FUNCTION_THROWS_M_throw_failure()[protected]

_S_initialize()

void _STLP_CALL_S_initialize()[protected, static]

_S_uninitialize()

void _STLP_CALL_S_uninitialize()[protected, static]

bad()

boolbad()const [inline]

eof()

booleof()const [inline]

fail()

boolfail()const [inline]

flags()

fmtflags flags()const [inline]

flags(fmtflags)

fmtflags flags(fmtflags__flags)[inline]

Parameters

fmtflags __flags

getloc()

locale getloc()const [inline]

good()

boolgood()const [inline]

imbue(const locale &)

_STLP_DECLSPEC localeimbue(const locale &)

Parameters

const locale &

iword(int)

_STLP_DECLSPEC long &iword(int__index)

Parameters

int __index

operator void *()

operator void *()const [inline]

operator!()

booloperator!()const [inline]

operator=(const ios_base &)

voidoperator=(const ios_base &)[private]

Parameters

const ios_base &

precision()

streamsize precision()const [inline]

precision(streamsize)

streamsize precision(streamsize__newprecision)[inline]

Parameters

streamsize __newprecision

pword(int)

_STLP_DECLSPEC void *&pword(int__index)

Parameters

int __index

rdstate()

iostate rdstate()const [inline]

register_callback(event_callback, int)

_STLP_DECLSPEC voidregister_callback(event_callback__fn,
int__index
)

Parameters

event_callback __fn
int __index

setf(fmtflags)

fmtflags setf(fmtflags__flag)[inline]

Parameters

fmtflags __flag

setf(fmtflags, fmtflags)

fmtflags setf(fmtflags__flag,
fmtflags__mask
)[inline]

Parameters

fmtflags __flag
fmtflags __mask

sync_with_stdio(bool)

_STLP_DECLSPEC bool _STLP_CALLsync_with_stdio(bool__sync = true)[static]

Parameters

bool __sync = true

unsetf(fmtflags)

voidunsetf(fmtflags__mask)[inline]

Parameters

fmtflags __mask

width()

streamsize width()const [inline]

width(streamsize)

streamsize width(streamsize__newwidth)[inline]

Parameters

streamsize __newwidth

xalloc()

_STLP_DECLSPEC int _STLP_CALLxalloc()[static]

Member Type Definitions Documentation

Typedef event_callback

typedef void(*event_callback

Typedef fmt_flags

typedef fmtflags fmt_flags

Typedef fmtflags

typedef intfmtflags

Typedef io_state

typedef iostate io_state

Typedef iostate

typedef intiostate

Typedef open_mode

typedef openmode open_mode

Typedef openmode

typedef intopenmode

Typedef seek_dir

typedef seekdir seek_dir

Typedef seekdir

typedef intseekdir

Typedef streamoff

typedef _STLP_STD::streamoff streamoff

Typedef streampos

typedef _STLP_STD::streampos streampos

Member Data Documentation

locale::facet * _M_cached_ctype

locale::facet *_M_cached_ctype[protected]

string _M_cached_grouping

string _M_cached_grouping[protected]

locale::facet * _M_cached_numpunct

locale::facet *_M_cached_numpunct[protected]

size_t _M_callback_index

size_t _M_callback_index[private]

pair< event_callback, int > * _M_callbacks

pair< event_callback, int > *_M_callbacks[private]

iostate _M_exception_mask

iostate _M_exception_mask[private]

fmtflags _M_fmtflags

fmtflags _M_fmtflags[private]

iostate _M_iostate

iostate _M_iostate[private]

long * _M_iwords

long *_M_iwords[private]

locale _M_locale

locale _M_locale[private]

size_t _M_num_callbacks

size_t _M_num_callbacks[private]

size_t _M_num_iwords

size_t _M_num_iwords[private]

size_t _M_num_pwords

size_t _M_num_pwords[private]

openmode _M_openmode

openmode _M_openmode[private]

streamsize _M_precision

streamsize _M_precision[private]

void ** _M_pwords

void **_M_pwords[private]

seekdir _M_seekdir

seekdir _M_seekdir[private]

streamsize _M_width

streamsize _M_width[private]

bool _S_was_synced

bool_S_was_synced[protected, static]

const int __default_mode

const int__default_mode[static]

const int adjustfield

const intadjustfield[static]

const int app

const intapp[static]

const int ate

const intate[static]

const int badbit

const intbadbit[static]

const int basefield

const intbasefield[static]

const int beg

const intbeg[static]

const int binary

const intbinary[static]

const int boolalpha

const intboolalpha[static]

const int cur

const intcur[static]

const int dec

const intdec[static]

const int end

const intend[static]

const int eofbit

const inteofbit[static]

const int failbit

const intfailbit[static]

const int fixed

const intfixed[static]

const int floatfield

const intfloatfield[static]

const int goodbit

const intgoodbit[static]

const int hex

const inthex[static]

const int in

const intin[static]

const int internal

const intinternal[static]

const int left

const intleft[static]

const int oct

const intoct[static]

const int out

const intout[static]

const int right

const intright[static]

const int scientific

const intscientific[static]

const int showbase

const intshowbase[static]

const int showpoint

const intshowpoint[static]

const int showpos

const intshowpos[static]

const int skipws

const intskipws[static]

const int trunc

const inttrunc[static]

const int unitbuf

const intunitbuf[static]

const int uppercase

const intuppercase[static]