libstdc++
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
std::ios_base Class Reference
Inheritance diagram for std::ios_base:
[legend]

Classes

class  failure
 

Public Types

enum  event { erase_event , imbue_event , copyfmt_event }
 
typedef void(* event_callback) (event __e, ios_base &__b, int __i)
 
typedef _Ios_Fmtflags fmtflags
 
typedef _Ios_Iostate iostate
 
typedef _Ios_Openmode openmode
 
typedef _Ios_Seekdir seekdir
 

Public Member Functions

 ios_base (const ios_base &)=delete
 
virtual ~ios_base ()
 
const locale_M_getloc () const
 
fmtflags flags () const
 
fmtflags flags (fmtflags __fmtfl)
 
locale getloc () const
 
locale imbue (const locale &__loc) throw ()
 
long & iword (int __ix)
 
ios_baseoperator= (const ios_base &)=delete
 
streamsize precision () const
 
streamsize precision (streamsize __prec)
 
void *& pword (int __ix)
 
void register_callback (event_callback __fn, int __index)
 
fmtflags setf (fmtflags __fmtfl)
 
fmtflags setf (fmtflags __fmtfl, fmtflags __mask)
 
void unsetf (fmtflags __mask)
 
streamsize width () const
 
streamsize width (streamsize __wide)
 

Static Public Member Functions

static bool sync_with_stdio (bool __sync=true)
 
static int xalloc () throw ()
 

Static Public Attributes

static const openmode __noreplace
 
static const fmtflags adjustfield
 
static const openmode app
 
static const openmode ate
 
static const iostate badbit
 
static const fmtflags basefield
 
static const seekdir beg
 
static const openmode binary
 
static const fmtflags boolalpha
 
static const seekdir cur
 
static const fmtflags dec
 
static const seekdir end
 
static const iostate eofbit
 
static const iostate failbit
 
static const fmtflags fixed
 
static const fmtflags floatfield
 
static const iostate goodbit
 
static const fmtflags hex
 
static const openmode in
 
static const fmtflags internal
 
static const fmtflags left
 
static const fmtflags oct
 
static const openmode out
 
static const fmtflags right
 
static const fmtflags scientific
 
static const fmtflags showbase
 
static const fmtflags showpoint
 
static const fmtflags showpos
 
static const fmtflags skipws
 
static const openmode trunc
 
static const fmtflags unitbuf
 
static const fmtflags uppercase
 

Protected Types

enum  { _S_local_word_size }
 

Protected Member Functions

void _M_call_callbacks (event __ev) throw ()
 
void _M_dispose_callbacks (void) throw ()
 
_Words & _M_grow_words (int __index, bool __iword)
 
void _M_init () throw ()
 
void _M_move (ios_base &) noexcept
 
void _M_swap (ios_base &__rhs) noexcept
 

Protected Attributes

_Callback_list * _M_callbacks
 
iostate _M_exception
 
fmtflags _M_flags
 
locale _M_ios_locale
 
_Words _M_local_word [_S_local_word_size]
 
streamsize _M_precision
 
iostate _M_streambuf_state
 
streamsize _M_width
 
_Words * _M_word
 
int _M_word_size