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 ()
bool bad ()
bool eof ()
bool fail ()
fmtflags flags ()
fmtflags flags ( fmtflags )
locale getloc ()
bool good ()
_STLP_DECLSPEC locale imbue (const locale &)
_STLP_DECLSPEC long & iword (int)
operator void * ()
bool operator! ()
streamsize precision ()
streamsize precision ( streamsize )
_STLP_DECLSPEC void *& pword (int)
iostate rdstate ()
_STLP_DECLSPEC void register_callback ( event_callback , int)
fmtflags setf ( fmtflags )
fmtflags setf ( fmtflags , fmtflags )
_STLP_DECLSPEC bool _STLP_CALL sync_with_stdio (bool)
void unsetf ( fmtflags )
streamsize width ()
streamsize width ( streamsize )
_STLP_DECLSPEC int _STLP_CALL xalloc ()
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 &)
void operator= (const ios_base &)
Public Member Type Definitions
typedef void(* event_callback
typedef fmtflags fmt_flags
typedef int fmtflags
typedef iostate io_state
typedef int iostate
typedef openmode open_mode
typedef int openmode
typedef seekdir seek_dir
typedef int seekdir
typedef _STLP_STD::streamoff streamoff
typedef _STLP_STD::streampos streampos
Public Attributes
const int __default_mode
const int adjustfield
const int app
const int ate
const int badbit
const int basefield
const int beg
const int binary
const int boolalpha
const int cur
const int dec
const int end
const int eofbit
const int failbit
const int fixed
const int floatfield
const int goodbit
const int hex
const int in
const int internal
const int left
const int oct
const int out
const int right
const int scientific
const int showbase
const int showpoint
const int showpos
const int skipws
const int trunc
const int unitbuf
const int uppercase
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_DECLSPEC ios_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()

bool bad ( ) const [inline]

eof()

bool eof ( ) const [inline]

fail()

bool fail ( ) const [inline]

flags()

fmtflags flags ( ) const [inline]

flags(fmtflags)

fmtflags flags ( fmtflags __flags ) [inline]

Parameters

fmtflags __flags

getloc()

locale getloc ( ) const [inline]

good()

bool good ( ) const [inline]

imbue(const locale &)

_STLP_DECLSPEC locale imbue ( const locale & )

Parameters

const locale &

iword(int)

_STLP_DECLSPEC long & iword ( int __index )

Parameters

int __index

operator void *()

operator void * ( ) const [inline]

operator!()

bool operator! ( ) const [inline]

operator=(const ios_base &)

void operator= ( 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 void register_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_CALL sync_with_stdio ( bool __sync = true ) [static]

Parameters

bool __sync = true

unsetf(fmtflags)

void unsetf ( 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_CALL xalloc ( ) [static]

Member Type Definitions Documentation

Typedef event_callback

typedef void(* event_callback

Typedef fmt_flags

typedef fmtflags fmt_flags

Typedef fmtflags

typedef int fmtflags

Typedef io_state

typedef iostate io_state

Typedef iostate

typedef int iostate

Typedef open_mode

typedef openmode open_mode

Typedef openmode

typedef int openmode

Typedef seek_dir

typedef seekdir seek_dir

Typedef seekdir

typedef int seekdir

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 int adjustfield [static]

const int app

const int app [static]

const int ate

const int ate [static]

const int badbit

const int badbit [static]

const int basefield

const int basefield [static]

const int beg

const int beg [static]

const int binary

const int binary [static]

const int boolalpha

const int boolalpha [static]

const int cur

const int cur [static]

const int dec

const int dec [static]

const int end

const int end [static]

const int eofbit

const int eofbit [static]

const int failbit

const int failbit [static]

const int fixed

const int fixed [static]

const int floatfield

const int floatfield [static]

const int goodbit

const int goodbit [static]

const int hex

const int hex [static]

const int in

const int in [static]

const int internal

const int internal [static]

const int left

const int left [static]

const int oct

const int oct [static]

const int out

const int out [static]

const int right

const int right [static]

const int scientific

const int scientific [static]

const int showbase

const int showbase [static]

const int showpoint

const int showpoint [static]

const int showpos

const int showpos [static]

const int skipws

const int skipws [static]

const int trunc

const int trunc [static]

const int unitbuf

const int unitbuf [static]

const int uppercase

const int uppercase [static]