#include <ios_base.h>
Inheritance diagram for std::ios_base:
Public Types | |
typedef _Ios_Fmtflags | fmtflags |
typedef _Ios_Iostate | iostate |
typedef _Ios_Openmode | openmode |
typedef _Ios_Seekdir | seekdir |
typedef void(* | event_callback )(event, ios_base &, int) |
enum | event { erase_event, imbue_event, copyfmt_event } |
Public Methods | |
void | register_callback (event_callback __fn, int __index) |
fmtflags | flags () const |
fmtflags | flags (fmtflags __fmtfl) |
fmtflags | setf (fmtflags __fmtfl) |
fmtflags | setf (fmtflags __fmtfl, fmtflags __mask) |
void | unsetf (fmtflags __mask) |
streamsize | precision () const |
streamsize | precision (streamsize __prec) |
streamsize | width () const |
streamsize | width (streamsize __wide) |
locale | imbue (const locale &__loc) |
locale | getloc () const |
long & | iword (int __ix) |
void *& | pword (int __ix) |
~ios_base () | |
Static Public Methods | |
bool | sync_with_stdio (bool __sync=true) |
int | xalloc () throw () |
Static Public Attributes | |
const fmtflags | boolalpha = fmtflags(__ios_flags::_S_boolalpha) |
const fmtflags | dec = fmtflags(__ios_flags::_S_dec) |
const fmtflags | fixed = fmtflags(__ios_flags::_S_fixed) |
const fmtflags | hex = fmtflags(__ios_flags::_S_hex) |
const fmtflags | internal = fmtflags(__ios_flags::_S_internal) |
const fmtflags | left = fmtflags(__ios_flags::_S_left) |
const fmtflags | oct = fmtflags(__ios_flags::_S_oct) |
const fmtflags | right = fmtflags(__ios_flags::_S_right) |
const fmtflags | scientific = fmtflags(__ios_flags::_S_scientific) |
const fmtflags | showbase = fmtflags(__ios_flags::_S_showbase) |
const fmtflags | showpoint = fmtflags(__ios_flags::_S_showpoint) |
const fmtflags | showpos = fmtflags(__ios_flags::_S_showpos) |
const fmtflags | skipws = fmtflags(__ios_flags::_S_skipws) |
const fmtflags | unitbuf = fmtflags(__ios_flags::_S_unitbuf) |
const fmtflags | uppercase = fmtflags(__ios_flags::_S_uppercase) |
const fmtflags | adjustfield = fmtflags(__ios_flags::_S_adjustfield) |
const fmtflags | basefield = fmtflags(__ios_flags::_S_basefield) |
const fmtflags | floatfield = fmtflags(__ios_flags::_S_floatfield) |
const iostate | badbit = iostate(__ios_flags::_S_badbit) |
const iostate | eofbit = iostate(__ios_flags::_S_eofbit) |
const iostate | failbit = iostate(__ios_flags::_S_failbit) |
const iostate | goodbit = iostate(0) |
const openmode | app = openmode(__ios_flags::_S_app) |
const openmode | ate = openmode(__ios_flags::_S_ate) |
const openmode | binary = openmode(__ios_flags::_S_bin) |
const openmode | in = openmode(__ios_flags::_S_in) |
const openmode | out = openmode(__ios_flags::_S_out) |
const openmode | trunc = openmode(__ios_flags::_S_trunc) |
const seekdir | beg = seekdir(0) |
const seekdir | cur = seekdir(SEEK_CUR) |
const seekdir | end = seekdir(SEEK_END) |
Protected Methods | |
void | _M_call_callbacks (event __ev) throw () |
void | _M_dispose_callbacks (void) |
_Words & | _M_grow_words (int __index) |
void | _M_init () |
ios_base () | |
Protected Attributes | |
streamsize | _M_precision |
streamsize | _M_width |
fmtflags | _M_flags |
_Callback_list * | _M_callbacks |
_Words | _M_word_array [_S_local_words] |
_Words | _M_dummy |
_Words * | _M_words |
int | _M_word_limit |
locale | _M_ios_locale |
Static Protected Attributes | |
const int | _S_local_words = 8 |
|
Definition at line 223 of file ios_base.h. |
|
Definition at line 166 of file ios_base.h. |
|
Definition at line 188 of file ios_base.h. Referenced by std::basic_ios< _CharT, _Traits >::clear(), std::basic_ios< _CharT, _Traits >::exceptions(), and std::basic_ios< _CharT, _Traits >::setstate(). |
|
Definition at line 195 of file ios_base.h. |
|
Definition at line 204 of file ios_base.h. |
|
Definition at line 216 of file ios_base.h. |
|
Definition at line 293 of file ios.cc. References _M_call_callbacks(), _M_dispose_callbacks(), _M_word_array, _M_words, and erase_event. |
|
|
|
Definition at line 307 of file ios.cc. References std::ios_base::_Callback_list::_M_fn, std::ios_base::_Callback_list::_M_index, and std::ios_base::_Callback_list::_M_next. Referenced by std::basic_ios< _CharT, _Traits >::copyfmt(), imbue(), and ~ios_base(). |
|
Definition at line 320 of file ios.cc. References _M_callbacks, std::ios_base::_Callback_list::_M_next, and std::ios_base::_Callback_list::_M_remove_reference(). Referenced by std::basic_ios< _CharT, _Traits >::copyfmt(), and ~ios_base(). |
|
Definition at line 225 of file ios.cc. References _M_dummy, _M_word_array, _M_word_limit, _M_words, and _S_local_words. |
|
Definition at line 258 of file ios.cc. References _M_callbacks, _M_flags, _M_ios_locale, _M_precision, _M_width, _M_word_limit, _M_words, dec, and skipws. |
|
Definition at line 314 of file ios_base.h. |
|
Definition at line 311 of file ios_base.h. References _M_flags. Referenced by std::__build_float_format(), std::__output_float(), std::__output_integer(), std::basic_ios< _CharT, _Traits >::copyfmt(), std::num_get< _CharT, _InIter >::do_get(), std::num_put< _CharT, _OutIter >::do_put(), std::basic_ostream< _CharT, _Traits >::operator<<(), std::operator<<(), std::basic_istream< _CharT, _Traits >::sentry::sentry(), and std::basic_ostream< _CharT, _Traits >::sentry::~sentry(). |
|
Definition at line 371 of file ios_base.h. Referenced by std::__output_float(), std::_Format_cache< _CharT >::_M_populate(), and std::operator<<(). |
|
Reimplemented in std::basic_ios< _CharT, _Traits >. Definition at line 273 of file ios.cc. References _M_call_callbacks(), _M_ios_locale, and imbue_event. |
|
Definition at line 378 of file ios_base.h. References _M_grow_words(), std::ios_base::_Words::_M_iword, and _M_word_limit. |
|
Definition at line 345 of file ios_base.h. References _M_precision. |
|
Definition at line 342 of file ios_base.h. References _M_precision. Referenced by std::basic_ios< _CharT, _Traits >::copyfmt(), std::num_put< _CharT, _OutIter >::do_put(), std::operator<<(), and std::operator>>(). |
|
Definition at line 386 of file ios_base.h. References _M_grow_words(), std::ios_base::_Words::_M_pword, and _M_word_limit. Referenced by std::_Format_cache< _CharT >::_S_get(). |
|
Definition at line 303 of file ios.cc. References _M_callbacks. Referenced by std::_Format_cache< _CharT >::_S_get(). |
|
Definition at line 330 of file ios_base.h. |
|
Definition at line 322 of file ios_base.h. References _M_flags, and fmtflags. Referenced by std::boolalpha(), std::dec(), std::fixed(), std::hex(), std::internal(), std::left(), std::oct(), std::operator<<(), std::operator>>(), std::right(), std::scientific(), std::showbase(), std::showpoint(), std::showpos(), std::skipws(), std::unitbuf(), and std::uppercase(). |
|
|
|
Definition at line 339 of file ios_base.h. References _M_flags, and fmtflags. Referenced by std::noboolalpha(), std::noshowbase(), std::noshowpoint(), std::noshowpos(), std::noskipws(), std::nounitbuf(), and std::nouppercase(). |
|
Definition at line 356 of file ios_base.h. References _M_width. |
|
Definition at line 353 of file ios_base.h. References _M_width. Referenced by std::__output_float(), std::__output_integer(), std::basic_ios< _CharT, _Traits >::copyfmt(), std::operator<<(), and std::operator>>(). |
|
|
|
Definition at line 255 of file ios_base.h. Referenced by _M_dispose_callbacks(), _M_init(), std::basic_ios< _CharT, _Traits >::copyfmt(), and register_callback(). |
|
Definition at line 272 of file ios_base.h. Referenced by _M_grow_words(). |
|
Definition at line 232 of file ios_base.h. |
|
Definition at line 280 of file ios_base.h. Referenced by _M_init(), imbue(), and std::basic_ios< _CharT, _Traits >::init(). |
|
Definition at line 230 of file ios_base.h. |
|
Definition at line 231 of file ios_base.h. |
|
Definition at line 271 of file ios_base.h. Referenced by _M_grow_words(), std::basic_ios< _CharT, _Traits >::copyfmt(), and ~ios_base(). |
|
Definition at line 274 of file ios_base.h. Referenced by _M_grow_words(), _M_init(), std::basic_ios< _CharT, _Traits >::copyfmt(), iword(), and pword(). |
|
Definition at line 273 of file ios_base.h. Referenced by _M_grow_words(), _M_init(), std::basic_ios< _CharT, _Traits >::copyfmt(), and ~ios_base(). |
|
Definition at line 127 of file ios.cc. Referenced by _M_grow_words(), and std::basic_ios< _CharT, _Traits >::copyfmt(). |
|
|
|
|
|
|
|
Definition at line 111 of file ios.cc. Referenced by std::basic_ios< _CharT, _Traits >::bad(), std::basic_ios< _CharT, _Traits >::clear(), std::basic_ios< _CharT, _Traits >::fail(), and std::basic_ios< _CharT, _Traits >::init(). |
|
Definition at line 108 of file ios.cc. Referenced by std::__output_integer(). |
|
|
|
|
|
|
|
|
|
Definition at line 93 of file ios.cc. Referenced by _M_init(). |
|
|
|
Definition at line 112 of file ios.cc. Referenced by std::time_get< _CharT, _InIter >::do_get_monthname(), std::time_get< _CharT, _InIter >::do_get_weekday(), and std::basic_ios< _CharT, _Traits >::eof(). |
|
Definition at line 113 of file ios.cc. Referenced by std::time_get< _CharT, _InIter >::do_get_monthname(), std::time_get< _CharT, _InIter >::do_get_weekday(), std::basic_ios< _CharT, _Traits >::fail(), and std::basic_istream< _CharT, _Traits >::seekg(). |
|
|
|
|
|
Definition at line 114 of file ios.cc. Referenced by std::basic_ios< _CharT, _Traits >::clear(), and std::basic_ios< _CharT, _Traits >::init(). |
|
|
|
Definition at line 119 of file ios.cc. Referenced by std::basic_istringstream< _CharT, _Traits, _Alloc >::basic_istringstream(). |
|
|
|
|
|
|
|
Definition at line 120 of file ios.cc. Referenced by std::basic_ostringstream< _CharT, _Traits, _Alloc >::basic_ostringstream(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 104 of file ios.cc. Referenced by _M_init(). |
|
|
|
|
|
|