32#ifndef _RWSTD_RW_IOSBASE_H_INCLUDED
33#define _RWSTD_RW_IOSBASE_H_INCLUDED
38#ifndef _RWSTD_RW_IOSFAILURE_H_INCLUDED
42#ifndef _RWSTD_RW_IOSFWD_H_INCLUDED
46#ifndef _RWSTD_RW_TRAITS_H_INCLUDED
57 typedef _RW::__rw_failure failure;
59#ifndef _RWSTD_NO_EXT_FAILURE
120#ifndef _RWSTD_NO_EXT_BIN_IO
132#ifndef _RWSTD_NO_EXT_REENTRANT_IO
180#ifndef _RWSTD_STRICT_ANSI
192#ifndef _RWSTD_NO_EXT_STDIO
209#ifndef _RWSTD_NO_DEPRECATED
212 typedef int seek_dir;
213 typedef int open_mode;
214 typedef int io_state;
228 fmtflags
flags ()
const {
229 return fmtflags (_C_fmtfl);
233 fmtflags
flags (fmtflags);
236 fmtflags setf (fmtflags
__f) {
241 fmtflags setf (fmtflags
__f, fmtflags __mask) {
246 void unsetf (fmtflags
__f) {
267 locale imbue (
const locale&);
277 locale getloc ()
const {
282 static int xalloc ();
290 enum event { erase_event, imbue_event, copyfmt_event };
292 typedef void (*event_callback)(
event, ios_base&, int);
295 void register_callback (event_callback,
int);
298 static bool sync_with_stdio (
bool =
true);
301 virtual ~ios_base ();
304 int _C_base ()
const {
314 void _C_init (
void*);
317 void _C_fire_event (
event,
bool __reentrant);
320 void _C_copyfmt (
const ios_base&,
void*,
const void*, _RWSTD_SIZE_T);
326 void* _C_set (
unsigned,
unsigned,
void*);
329 void* _C_tie ()
const;
330 void* _C_tie (
void*);
333 locale _C_unsafe_imbue (
const locale&);
339 unsigned char _C_state;
340 unsigned char _C_except;
342 static bool _C_sync_with_stdio;
346 ios_base (
const ios_base&);
347 ios_base& operator= (
const ios_base&);
349#if __EDG_VERSION__ < 245
370 friend struct _C_usr_data;
#define _RWSTD_BITMASK_ENUM(Bitmask)
#define _RWSTD_STATIC_CAST(T, x)
#define _RWSTD_NAMESPACE(name)
#define _RWSTD_STREAMSIZE
#define _RWSTD_ASSERT(ignore)
#define _RWSTD_IOS_BASEOFF
#define _RWSTD_STATIC_CONST(type, init)