18#ifndef _STLP_IOS_BASE_H
19#define _STLP_IOS_BASE_H
21#ifndef _STLP_INTERNAL_STDEXCEPT_BASE
25#ifndef _STLP_INTERNAL_PAIR_H
29#ifndef _STLP_INTERNAL_LOCALE_H
33#ifndef _STLP_INTERNAL_STRING_H
53 explicit failure(
const string&);
62# ifndef _STLP_NO_ANACHRONISMS
110 _M_fmtflags = __flags;
116 _M_fmtflags |= __flag;
121 _M_fmtflags &= ~__mask;
122 _M_fmtflags |= __flag & __mask;
130 _M_precision = __newprecision;
137 _M_width = __newwidth;
147 long& iword(
int __index);
148 void*& pword(
int __index);
154 enum event { erase_event, imbue_event, copyfmt_event };
156 void register_callback(event_callback __fn,
int __index);
161 static bool _STLP_CALL sync_with_stdio(
bool __sync =
true);
172 bool good()
const {
return _M_iostate == 0; }
173 bool eof()
const {
return (_M_iostate & eofbit) != 0; }
174 bool fail()
const {
return (_M_iostate & (failbit | badbit)) != 0; }
175 bool bad()
const {
return (_M_iostate & badbit) != 0; }
183 void _M_copy_state(
const ios_base& __x);
190 if (_M_iostate & _M_exception_mask)
194 void _M_invoke_callbacks(
event);
252# ifndef _STLP_NO_ANACHRONISMS
268 { __s.
setf(ios_base::boolalpha);
return __s;}
271 { __s.
unsetf(ios_base::boolalpha);
return __s;}
274 { __s.
setf(ios_base::showbase);
return __s;}
277 { __s.
unsetf(ios_base::showbase);
return __s;}
280 { __s.
setf(ios_base::showpoint);
return __s;}
283 { __s.
unsetf(ios_base::showpoint);
return __s;}
286 { __s.
setf(ios_base::showpos);
return __s;}
289 { __s.
unsetf(ios_base::showpos);
return __s;}
292 { __s.
setf(ios_base::skipws);
return __s;}
295 { __s.
unsetf(ios_base::skipws);
return __s;}
298 { __s.
setf(ios_base::uppercase);
return __s;}
301 { __s.
unsetf(ios_base::uppercase);
return __s;}
304 { __s.
setf(ios_base::unitbuf);
return __s;}
307 { __s.
unsetf(ios_base::unitbuf);
return __s;}
312 { __s.
setf(ios_base::internal, ios_base::adjustfield);
return __s; }
315 { __s.
setf(ios_base::left, ios_base::adjustfield);
return __s; }
318 { __s.
setf(ios_base::right, ios_base::adjustfield);
return __s; }
322 { __s.
setf(ios_base::dec, ios_base::basefield);
return __s; }
325 { __s.
setf(ios_base::hex, ios_base::basefield);
return __s; }
328 { __s.
setf(ios_base::oct, ios_base::basefield);
return __s; }
333 { __s.
setf(ios_base::fixed, ios_base::floatfield);
return __s; }
336 { __s.
setf(ios_base::scientific, ios_base::floatfield);
return __s; }
ios_base &_STLP_CALL showbase(ios_base &__s)
ios_base &_STLP_CALL nounitbuf(ios_base &__s)
ios_base &_STLP_CALL nouppercase(ios_base &__s)
ios_base &_STLP_CALL unitbuf(ios_base &__s)
ios_base &_STLP_CALL scientific(ios_base &__s)
ios_base &_STLP_CALL boolalpha(ios_base &__s)
ios_base &_STLP_CALL noshowpoint(ios_base &__s)
ios_base &_STLP_CALL oct(ios_base &__s)
ios_base &_STLP_CALL dec(ios_base &__s)
ios_base &_STLP_CALL internal(ios_base &__s)
ios_base &_STLP_CALL skipws(ios_base &__s)
ios_base &_STLP_CALL noshowpos(ios_base &__s)
ios_base &_STLP_CALL showpoint(ios_base &__s)
ios_base &_STLP_CALL showpos(ios_base &__s)
ios_base &_STLP_CALL uppercase(ios_base &__s)
ios_base &_STLP_CALL noshowbase(ios_base &__s)
ios_base &_STLP_CALL noskipws(ios_base &__s)
ios_base &_STLP_CALL noboolalpha(ios_base &__s)
ios_base &_STLP_CALL fixed(ios_base &__s)
_STLP_STD::streampos streampos
fmtflags flags(fmtflags __flags)
void operator=(const ios_base &)
_STLP_STATIC_CONSTANT(int, boolalpha=0x0100)
_STLP_STATIC_CONSTANT(int, in=0x08)
_STLP_STATIC_CONSTANT(int, basefield=dec|hex|oct)
_STLP_STATIC_CONSTANT(int, failbit=0x04)
_STLP_STATIC_CONSTANT(int, showbase=0x0200)
streamsize width(streamsize __newwidth)
ios_base(const ios_base &)
fmtflags setf(fmtflags __flag)
void unsetf(fmtflags __mask)
void _M_clear_nothrow(iostate __state)
_STLP_STATIC_CONSTANT(int, out=0x10)
_STLP_STATIC_CONSTANT(int, ate=0x02)
_STLP_STATIC_CONSTANT(int, internal=0x0004)
_STLP_STATIC_CONSTANT(int, showpos=0x0800)
_STLP_STATIC_CONSTANT(int, uppercase=0x4000)
_STLP_STATIC_CONSTANT(int, unitbuf=0x2000)
fmtflags setf(fmtflags __flag, fmtflags __mask)
pair< event_callback, int > * _M_callbacks
void _M_setstate_nothrow(iostate __state)
_STLP_STATIC_CONSTANT(int, binary=0x04)
_STLP_STATIC_CONSTANT(int, eofbit=0x02)
_STLP_STATIC_CONSTANT(int, adjustfield=left|right|internal)
_STLP_STATIC_CONSTANT(int, showpoint=0x0400)
_STLP_STATIC_CONSTANT(int, fixed=0x0040)
_STLP_STATIC_CONSTANT(int, beg=0x01)
void _M_check_exception_mask()
_STLP_STATIC_CONSTANT(int, __default_mode=0x0)
_STLP_STATIC_CONSTANT(int, app=0x01)
streamsize precision() const
_STLP_STATIC_CONSTANT(int, left=0x0001)
_STLP_STATIC_CONSTANT(int, floatfield=scientific|fixed)
streamsize precision(streamsize __newprecision)
_STLP_STATIC_CONSTANT(int, cur=0x02)
_STLP_STATIC_CONSTANT(int, end=0x04)
_STLP_STATIC_CONSTANT(int, scientific=0x0080)
_STLP_STATIC_CONSTANT(int, trunc=0x20)
_STLP_STATIC_CONSTANT(int, goodbit=0x00)
_STLP_STATIC_CONSTANT(int, oct=0x0020)
_STLP_STATIC_CONSTANT(int, hex=0x0010)
iostate _M_exception_mask
_STLP_STATIC_CONSTANT(int, dec=0x0008)
_STLP_STATIC_CONSTANT(int, right=0x0002)
_STLP_STATIC_CONSTANT(int, skipws=0x1000)
void _M_set_exception_mask(iostate __mask)
_STLP_STATIC_CONSTANT(int, badbit=0x01)
iostate _M_get_exception_mask() const
_STLP_STD::streamoff streamoff
#define _STLP_FUNCTION_THROWS
#define _STLP_NOTHROW_INHERENTLY
#define __CONST_CAST(__x, __y)
#define _STLP_CLASS_DECLSPEC
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
const GLuint GLenum const GLvoid * binary
double __cdecl trunc(double)