STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ios_base Class Reference
Inheritance diagram for ios_base:
_Iosb< int > basic_ios< _Elem, _Traits > basic_istream< _Elem, _Traits > basic_ostream< _Elem, _Traits > basic_ifstream< _Elem, _Traits > basic_iostream< _Elem, _Traits > basic_istringstream< _Elem, _Traits, _Alloc > istrstream basic_iostream< _Elem, _Traits > basic_ofstream< _Elem, _Traits > basic_ostringstream< _Elem, _Traits, _Alloc > ostrstream

Classes

struct  _Fnarray
 
struct  _Iosarray
 
class  failure
 
class  Init
 

Public Types

enum  event { erase_event, imbue_event, copyfmt_event }
 
typedef _STD streamoff streamoff
 
typedef _STD streampos streampos
 
typedef void(__CLRCALL_OR_CDECLevent_callback) (event, ios_base &, int)
 
typedef unsigned int io_state
 
typedef unsigned int open_mode
 
typedef unsigned int seek_dir
 
- Public Types inherited from _Iosb< int >
enum  _Dummy_enum
 
enum  _Fmtflags
 
enum  _Iostate
 
enum  _Openmode
 
enum  _Seekdir
 
enum  
 

Public Member Functions

 _BITMASK (_Fmtflags, fmtflags)
 
 _BITMASK (_Iostate, iostate)
 
 _BITMASK (_Openmode, openmode)
 
 _BITMASK (_Seekdir, seekdir)
 
__CLR_OR_THIS_CALL operator bool () const
 
bool __CLR_OR_THIS_CALL operator! () const
 
void __CLR_OR_THIS_CALL clear (iostate _State, bool _Reraise)
 
void __CLR_OR_THIS_CALL clear (iostate _State=goodbit)
 
void __CLR_OR_THIS_CALL clear (io_state _State)
 
iostate __CLR_OR_THIS_CALL rdstate () const
 
void __CLR_OR_THIS_CALL setstate (iostate _State, bool _Exreraise)
 
void __CLR_OR_THIS_CALL setstate (iostate _State)
 
void __CLR_OR_THIS_CALL setstate (io_state _State)
 
bool __CLR_OR_THIS_CALL good () const
 
bool __CLR_OR_THIS_CALL eof () const
 
bool __CLR_OR_THIS_CALL fail () const
 
bool __CLR_OR_THIS_CALL bad () const
 
iostate __CLR_OR_THIS_CALL exceptions () const
 
void __CLR_OR_THIS_CALL exceptions (iostate _Newexcept)
 
void __CLR_OR_THIS_CALL exceptions (io_state _State)
 
fmtflags __CLR_OR_THIS_CALL flags () const
 
fmtflags __CLR_OR_THIS_CALL flags (fmtflags _Newfmtflags)
 
fmtflags __CLR_OR_THIS_CALL setf (fmtflags _Newfmtflags)
 
fmtflags __CLR_OR_THIS_CALL setf (fmtflags _Newfmtflags, fmtflags _Mask)
 
void __CLR_OR_THIS_CALL unsetf (fmtflags _Mask)
 
streamsize __CLR_OR_THIS_CALL precision () const
 
streamsize __CLR_OR_THIS_CALL precision (streamsize _Newprecision)
 
streamsize __CLR_OR_THIS_CALL width () const
 
streamsize __CLR_OR_THIS_CALL width (streamsize _Newwidth)
 
locale __CLR_OR_THIS_CALL getloc () const
 
locale __CLR_OR_THIS_CALL imbue (const locale &_Loc)
 
long &__CLR_OR_THIS_CALL iword (int _Idx)
 
void *&__CLR_OR_THIS_CALL pword (int _Idx)
 
void __CLR_OR_THIS_CALL register_callback (event_callback _Pfn, int _Idx)
 
ios_base &__CLR_OR_THIS_CALL copyfmt (const ios_base &_Other)
 
void __CLR_OR_THIS_CALL swap (ios_base &_Right)
 
virtual __CLR_OR_THIS_CALL ~ios_base () _NOEXCEPT
 
 ios_base (const ios_base &)=delete
 
ios_baseoperator= (const ios_base &)=delete
 

Static Public Member Functions

static int __CLRCALL_OR_CDECL xalloc ()
 
static bool __CLRCALL_OR_CDECL sync_with_stdio (bool _Newsync=true)
 
static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL _Addstd (ios_base *)
 

Public Attributes

size_t _Stdstr
 

Protected Member Functions

__CLR_OR_THIS_CALL ios_base ()
 
void __CLR_OR_THIS_CALL _Init ()
 

Private Member Functions

void __CLR_OR_THIS_CALL _Callfns (event _Ev)
 
_Iosarray &__CLR_OR_THIS_CALL _Findarr (int _Idx)
 
void __CLR_OR_THIS_CALL _Tidy ()
 

Static Private Member Functions

static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL _Ios_base_dtor (ios_base *)
 

Private Attributes

iostate _Mystate
 
iostate _Except
 
fmtflags _Fmtfl
 
streamsize _Prec
 
streamsize _Wide
 
_Iosarray_Arr
 
_Fnarray_Calls
 
locale_Ploc
 

Static Private Attributes

static __PURE_APPDOMAIN_GLOBAL int _Index
 
static __PURE_APPDOMAIN_GLOBAL bool _Sync
 

Additional Inherited Members

- Static Public Attributes inherited from _Iosb< int >
static const _Fmtflags skipws
 
static const _Fmtflags unitbuf
 
static const _Fmtflags uppercase
 
static const _Fmtflags showbase
 
static const _Fmtflags showpoint
 
static const _Fmtflags showpos
 
static const _Fmtflags left
 
static const _Fmtflags right
 
static const _Fmtflags internal
 
static const _Fmtflags dec
 
static const _Fmtflags oct
 
static const _Fmtflags hex
 
static const _Fmtflags scientific
 
static const _Fmtflags fixed
 
static const _Fmtflags hexfloat
 
static const _Fmtflags boolalpha
 
static const _Fmtflags _Stdio
 
static const _Fmtflags adjustfield
 
static const _Fmtflags basefield
 
static const _Fmtflags floatfield
 
static const _Iostate goodbit
 
static const _Iostate eofbit
 
static const _Iostate failbit
 
static const _Iostate badbit
 
static const _Iostate _Hardfail
 
static const _Openmode in
 
static const _Openmode out
 
static const _Openmode ate
 
static const _Openmode app
 
static const _Openmode trunc
 
static const _Openmode _Nocreate
 
static const _Openmode _Noreplace
 
static const _Openmode binary
 
static const _Seekdir beg
 
static const _Seekdir cur
 
static const _Seekdir end
 

Member Typedef Documentation

typedef void(__CLRCALL_OR_CDECL * ios_base::event_callback) (event, ios_base &, int)
typedef unsigned int ios_base::io_state
typedef unsigned int ios_base::open_mode
typedef unsigned int ios_base::seek_dir

Member Enumeration Documentation

Enumerator
erase_event 
imbue_event 
copyfmt_event 
212  { // constants for ios events
Definition: xiosbase:213
Definition: xiosbase:213
Definition: xiosbase:213

Constructor & Destructor Documentation

virtual __CLR_OR_THIS_CALL ios_base::~ios_base ( )
inlinevirtual
512  { // destroy the object
513  _Ios_base_dtor(this);
514  }
static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL _Ios_base_dtor(ios_base *)
__CLR_OR_THIS_CALL ios_base::ios_base ( )
inlineprotected
523  { // default constructor
524  }
ios_base::ios_base ( const ios_base )
delete

Member Function Documentation

static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL ios_base::_Addstd ( ios_base )
static
ios_base::_BITMASK ( _Fmtflags  ,
fmtflags   
)
ios_base::_BITMASK ( _Iostate  ,
iostate   
)
ios_base::_BITMASK ( _Openmode  ,
openmode   
)
ios_base::_BITMASK ( _Seekdir  ,
seekdir   
)
void __CLR_OR_THIS_CALL ios_base::_Callfns ( event  _Ev)
inlineprivate
570  { // call all event handlers, reporting event
571  for (_Fnarray *_Pfa = _Calls; _Pfa != 0; _Pfa = _Pfa->_Next)
572  (*_Pfa->_Pfn)(_Ev, *this, _Pfa->_Index);
573  }
_Fnarray * _Calls
Definition: xiosbase:622
_Fnarray * _Next
Definition: xiosbase:564
_Iosarray& __CLR_OR_THIS_CALL ios_base::_Findarr ( int  _Idx)
inlineprivate
576  { // locate or make a variable array element
577  _Iosarray *_Ptr1, *_Ptr2;
578 
579  for (_Ptr1 = _Arr, _Ptr2 = 0; _Ptr1 != 0; _Ptr1 = _Ptr1->_Next)
580  if (_Ptr1->_Index == _Idx)
581  return (*_Ptr1); // found element, return it
582  else if (_Ptr2 == 0 && _Ptr1->_Lo == 0 && _Ptr1->_Vp == 0)
583  _Ptr2 = _Ptr1; // found recycling candidate
584 
585  if (_Ptr2 != 0)
586  { // recycle existing element
587  _Ptr2->_Index = _Idx;
588  return (*_Ptr2);
589  }
590 
591  _Arr = _NEW_CRT _Iosarray(_Idx, _Arr); // make a new element
592  return (*_Arr);
593  }
#define _NEW_CRT
Definition: xdebug:69
_Iosarray * _Arr
Definition: xiosbase:621
_Iosarray * _Next
Definition: xiosbase:550
void __CLR_OR_THIS_CALL ios_base::_Init ( )
inlineprotected
527  { // initialize a new ios_base
528  _Ploc = 0;
529  _Stdstr = 0;
530  _Except = goodbit;
531  _Fmtfl = (fmtflags)(skipws | dec);
532  _Prec = 6;
533  _Wide = 0;
534  _Arr = 0;
535  _Calls = 0;
536  clear(goodbit);
538  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:281
#define _NEW_CRT
Definition: xdebug:69
_Fnarray * _Calls
Definition: xiosbase:622
iostate _Except
Definition: xiosbase:617
_Iosarray * _Arr
Definition: xiosbase:621
static const _Fmtflags skipws
Definition: xiosbase:56
size_t _Stdstr
Definition: xiosbase:519
streamsize _Prec
Definition: xiosbase:619
static const _Fmtflags dec
Definition: xiosbase:65
Definition: xlocale:62
streamsize _Wide
Definition: xiosbase:620
static const _Iostate goodbit
Definition: xiosbase:87
locale * _Ploc
Definition: xiosbase:623
fmtflags _Fmtfl
Definition: xiosbase:618
static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL ios_base::_Ios_base_dtor ( ios_base )
staticprivate
void __CLR_OR_THIS_CALL ios_base::_Tidy ( )
inlineprivate
596  { // discard storage for an ios_base
598  _Iosarray *_Ptr1, *_Ptr2;
599 
600  for (_Ptr1 = _Arr; _Ptr1 != 0; _Ptr1 = _Ptr2)
601  { // delete array element
602  _Ptr2 = _Ptr1->_Next;
603  _DELETE_CRT(_Ptr1);
604  }
605  _Arr = 0;
606 
607  _Fnarray *_Pfa1, *_Pfa2;
608  for (_Pfa1 = _Calls; _Pfa1 != 0; _Pfa1 = _Pfa2)
609  { // delete callback element
610  _Pfa2 = _Pfa1->_Next;
611  _DELETE_CRT(_Pfa1);
612  }
613  _Calls = 0;
614  }
_Fnarray * _Calls
Definition: xiosbase:622
void __CLR_OR_THIS_CALL _Callfns(event _Ev)
Definition: xiosbase:569
#define _DELETE_CRT(ptr)
Definition: xdebug:70
_Iosarray * _Arr
Definition: xiosbase:621
Definition: xiosbase:213
_Iosarray * _Next
Definition: xiosbase:550
bool __CLR_OR_THIS_CALL ios_base::bad ( ) const
inline
345  { // test if badbit is set in stream state
346  return (((int)rdstate() & (int)badbit) != 0);
347  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:306
static const _Iostate badbit
Definition: xiosbase:90
void __CLR_OR_THIS_CALL ios_base::clear ( iostate  _State,
bool  _Reraise 
)
inline
282  { // set state, possibly reraise exception
283  _Mystate = (iostate)(_State & _Statmask);
284  if ((_Mystate & _Except) == 0)
285  ;
286  else if (_Reraise)
287  _RERAISE;
288  else if (_Mystate & _Except & badbit)
289  _THROW_NCEE(failure, "ios_base::badbit set");
290  else if (_Mystate & _Except & failbit)
291  _THROW_NCEE(failure, "ios_base::failbit set");
292  else
293  _THROW_NCEE(failure, "ios_base::eofbit set");
294  }
static const _Iostate failbit
Definition: xiosbase:89
Definition: xiosbase:85
iostate _Except
Definition: xiosbase:617
iostate _Mystate
Definition: xiosbase:616
#define _THROW_NCEE(x, y)
Definition: xstddef:79
#define _RERAISE
Definition: xstddef:74
static const _Iostate badbit
Definition: xiosbase:90
void __CLR_OR_THIS_CALL ios_base::clear ( iostate  _State = goodbit)
inline
297  { // set state to argument
298  clear(_State, false);
299  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:281
void __CLR_OR_THIS_CALL ios_base::clear ( io_state  _State)
inline
302  { // set state to argument, old-style
303  clear((iostate)_State);
304  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:281
ios_base& __CLR_OR_THIS_CALL ios_base::copyfmt ( const ios_base _Other)
inline
459  { // copy format stuff
460  if (this != &_Other)
461  { // copy all but _Mystate
462  _Tidy();
463  *_Ploc = *_Other._Ploc;
464  _Fmtfl = _Other._Fmtfl;
465  _Prec = _Other._Prec;
466  _Wide = _Other._Wide;
467  _Iosarray *_Ptr = _Other._Arr;
468 
469  for (_Arr = 0; _Ptr != 0; _Ptr = _Ptr->_Next)
470  if (_Ptr->_Lo != 0 || _Ptr->_Vp != 0)
471  { // copy over nonzero array values
472  iword(_Ptr->_Index) = _Ptr->_Lo;
473  pword(_Ptr->_Index) = _Ptr->_Vp;
474  }
475 
476  for (_Fnarray *_Pfa = _Other._Calls; _Pfa != 0;
477  _Pfa = _Pfa->_Next)
478  register_callback(_Pfa->_Pfn, _Pfa->_Index);
479 
480  _Callfns(copyfmt_event); // call callbacks
481  exceptions(_Other._Except); // cause any throw at end
482  }
483  return (*this);
484  }
_Fnarray * _Calls
Definition: xiosbase:622
void __CLR_OR_THIS_CALL _Callfns(event _Ev)
Definition: xiosbase:569
iostate _Except
Definition: xiosbase:617
_Fnarray * _Next
Definition: xiosbase:564
_Iosarray * _Arr
Definition: xiosbase:621
streamsize _Prec
Definition: xiosbase:619
iostate __CLR_OR_THIS_CALL exceptions() const
Definition: xiosbase:349
void __CLR_OR_THIS_CALL _Tidy()
Definition: xiosbase:595
void __CLR_OR_THIS_CALL register_callback(event_callback _Pfn, int _Idx)
Definition: xiosbase:452
streamsize _Wide
Definition: xiosbase:620
void *&__CLR_OR_THIS_CALL pword(int _Idx)
Definition: xiosbase:447
long &__CLR_OR_THIS_CALL iword(int _Idx)
Definition: xiosbase:442
locale * _Ploc
Definition: xiosbase:623
_Iosarray * _Next
Definition: xiosbase:550
fmtflags _Fmtfl
Definition: xiosbase:618
Definition: xiosbase:213
bool __CLR_OR_THIS_CALL ios_base::eof ( ) const
inline
334  { // test if eofbit is set in stream state
335  return ((int)rdstate() & (int)eofbit);
336  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:306
static const _Iostate eofbit
Definition: xiosbase:88
iostate __CLR_OR_THIS_CALL ios_base::exceptions ( ) const
inline
350  { // return exception mask
351  return (_Except);
352  }
iostate _Except
Definition: xiosbase:617
void __CLR_OR_THIS_CALL ios_base::exceptions ( iostate  _Newexcept)
inline
355  { // set exception mask to argument
356  _Except = (iostate)((int)_Newexcept & (int)_Statmask);
357  clear(_Mystate);
358  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:281
Definition: xiosbase:85
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
iostate _Except
Definition: xiosbase:617
iostate _Mystate
Definition: xiosbase:616
void __CLR_OR_THIS_CALL ios_base::exceptions ( io_state  _State)
inline
361  { // set exception mask to argument, old style
362  exceptions((iostate)_State);
363  }
iostate __CLR_OR_THIS_CALL exceptions() const
Definition: xiosbase:349
bool __CLR_OR_THIS_CALL ios_base::fail ( ) const
inline
339  { // test if badbit or failbit is set in stream state
340  return (((int)rdstate()
341  & ((int)badbit | (int)failbit)) != 0);
342  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:306
static const _Iostate failbit
Definition: xiosbase:89
static const _Iostate badbit
Definition: xiosbase:90
fmtflags __CLR_OR_THIS_CALL ios_base::flags ( ) const
inline
366  { // return format flags
367  return (_Fmtfl);
368  }
fmtflags _Fmtfl
Definition: xiosbase:618
fmtflags __CLR_OR_THIS_CALL ios_base::flags ( fmtflags  _Newfmtflags)
inline
371  { // set format flags to argument
372  fmtflags _Oldfmtflags = _Fmtfl;
373  _Fmtfl = (fmtflags)((int)_Newfmtflags & (int)_Fmtmask);
374  return (_Oldfmtflags);
375  }
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
Definition: xiosbase:54
fmtflags _Fmtfl
Definition: xiosbase:618
locale __CLR_OR_THIS_CALL ios_base::getloc ( ) const
inline
423  { // get locale
424  return (*_Ploc);
425  }
locale * _Ploc
Definition: xiosbase:623
bool __CLR_OR_THIS_CALL ios_base::good ( ) const
inline
329  { // test if no state bits are set
330  return (rdstate() == goodbit);
331  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:306
static const _Iostate goodbit
Definition: xiosbase:87
locale __CLR_OR_THIS_CALL ios_base::imbue ( const locale _Loc)
inline
428  { // set locale to argument
429  locale _Oldlocale = *_Ploc;
430  *_Ploc = _Loc;
432  return (_Oldlocale);
433  }
void __CLR_OR_THIS_CALL _Callfns(event _Ev)
Definition: xiosbase:569
Definition: xlocale:62
locale * _Ploc
Definition: xiosbase:623
Definition: xiosbase:213
long& __CLR_OR_THIS_CALL ios_base::iword ( int  _Idx)
inline
443  { // return reference to long element
444  return (_Findarr(_Idx)._Lo);
445  }
_Iosarray &__CLR_OR_THIS_CALL _Findarr(int _Idx)
Definition: xiosbase:575
__CLR_OR_THIS_CALL ios_base::operator bool ( ) const
inlineexplicit
272  { // test if no stream operation has failed
273  return (!fail());
274  }
bool __CLR_OR_THIS_CALL fail() const
Definition: xiosbase:338
bool __CLR_OR_THIS_CALL ios_base::operator! ( ) const
inline
277  { // test if any stream operation has failed
278  return (fail());
279  }
bool __CLR_OR_THIS_CALL fail() const
Definition: xiosbase:338
ios_base& ios_base::operator= ( const ios_base )
delete
streamsize __CLR_OR_THIS_CALL ios_base::precision ( ) const
inline
399  { // return precision
400  return (_Prec);
401  }
streamsize _Prec
Definition: xiosbase:619
streamsize __CLR_OR_THIS_CALL ios_base::precision ( streamsize  _Newprecision)
inline
404  { // set precision to argument
405  streamsize _Oldprecision = _Prec;
406  _Prec = _Newprecision;
407  return (_Oldprecision);
408  }
_Longlong streamsize
Definition: iosfwd:22
streamsize _Prec
Definition: xiosbase:619
void*& __CLR_OR_THIS_CALL ios_base::pword ( int  _Idx)
inline
448  { // return reference to pointer element
449  return (_Findarr(_Idx)._Vp);
450  }
_Iosarray &__CLR_OR_THIS_CALL _Findarr(int _Idx)
Definition: xiosbase:575
iostate __CLR_OR_THIS_CALL ios_base::rdstate ( ) const
inline
307  { // return stream state
308  return (_Mystate);
309  }
iostate _Mystate
Definition: xiosbase:616
void __CLR_OR_THIS_CALL ios_base::register_callback ( event_callback  _Pfn,
int  _Idx 
)
inline
454  { // register event handler
455  _Calls = _NEW_CRT _Fnarray(_Idx, _Pfn, _Calls);
456  }
#define _NEW_CRT
Definition: xdebug:69
_Fnarray * _Calls
Definition: xiosbase:622
fmtflags __CLR_OR_THIS_CALL ios_base::setf ( fmtflags  _Newfmtflags)
inline
378  { // merge in format flags argument
379  ios_base::fmtflags _Oldfmtflags = _Fmtfl;
380  _Fmtfl = (fmtflags)((int)_Fmtfl
381  | ((int)_Newfmtflags & (int)_Fmtmask));
382  return (_Oldfmtflags);
383  }
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
Definition: xiosbase:54
fmtflags _Fmtfl
Definition: xiosbase:618
fmtflags __CLR_OR_THIS_CALL ios_base::setf ( fmtflags  _Newfmtflags,
fmtflags  _Mask 
)
inline
386  { // merge in format flags argument under mask argument
387  ios_base::fmtflags _Oldfmtflags = _Fmtfl;
388  _Fmtfl = (fmtflags)(((int)_Fmtfl & (int)~_Mask)
389  | ((int)_Newfmtflags & (int)_Mask & (int)_Fmtmask));
390  return (_Oldfmtflags);
391  }
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
Definition: xiosbase:54
_CRT_MANAGED_FP_DEPRECATE _In_ unsigned int _Mask
Definition: float.h:120
fmtflags _Fmtfl
Definition: xiosbase:618
void __CLR_OR_THIS_CALL ios_base::setstate ( iostate  _State,
bool  _Exreraise 
)
inline
312  { // merge in state argument, possibly reraise exception
313  if (_State != goodbit)
314  clear((iostate)((int)rdstate() | (int)_State), _Exreraise);
315  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:281
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:306
static const _Iostate goodbit
Definition: xiosbase:87
void __CLR_OR_THIS_CALL ios_base::setstate ( iostate  _State)
inline
318  { // merge in state argument
319  if (_State != goodbit)
320  clear((iostate)((int)rdstate() | (int)_State), false);
321  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:281
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:306
static const _Iostate goodbit
Definition: xiosbase:87
void __CLR_OR_THIS_CALL ios_base::setstate ( io_state  _State)
inline
324  { // merge in state argument, old style
325  setstate((iostate)_State);
326  }
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Exreraise)
Definition: xiosbase:311
void __CLR_OR_THIS_CALL ios_base::swap ( ios_base _Right)
inline
496  { // swap with _Right
497  if (this != &_Right)
498  { // different, do the move
499  _STD swap(_Mystate, _Right._Mystate);
500  _STD swap(_Except, _Right._Except);
501  _STD swap(_Fmtfl, _Right._Fmtfl);
502  _STD swap(_Prec, _Right._Prec);
503  _STD swap(_Wide, _Right._Wide);
504 
505  _STD swap(_Arr, _Right._Arr);
506  _STD swap(_Calls, _Right._Calls);
507  _STD swap(_Ploc, _Right._Ploc);
508  }
509  }
_Fnarray * _Calls
Definition: xiosbase:622
iostate _Except
Definition: xiosbase:617
iostate _Mystate
Definition: xiosbase:616
_Iosarray * _Arr
Definition: xiosbase:621
streamsize _Prec
Definition: xiosbase:619
streamsize _Wide
Definition: xiosbase:620
locale * _Ploc
Definition: xiosbase:623
fmtflags _Fmtfl
Definition: xiosbase:618
void __CLR_OR_THIS_CALL swap(ios_base &_Right)
Definition: xiosbase:495
static bool __CLRCALL_OR_CDECL ios_base::sync_with_stdio ( bool  _Newsync = true)
inlinestatic
487  { // set C/C++ synchronization flag from argument
488  _BEGIN_LOCK(_LOCK_STREAM) // lock thread to ensure atomicity
489  const bool _Oldsync = _Sync;
490  _Sync = _Newsync;
491  return (_Oldsync);
492  _END_LOCK()
493  }
#define _LOCK_STREAM
Definition: yvals.h:614
return(_PAIR_TYPE(_FwdIt)(_First, _First))
static __PURE_APPDOMAIN_GLOBAL bool _Sync
Definition: xiosbase:626
void __CLR_OR_THIS_CALL ios_base::unsetf ( fmtflags  _Mask)
inline
394  { // clear format flags under mask argument
395  _Fmtfl = (fmtflags)((int)_Fmtfl & (int)~_Mask);
396  }
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
_CRT_MANAGED_FP_DEPRECATE _In_ unsigned int _Mask
Definition: float.h:120
fmtflags _Fmtfl
Definition: xiosbase:618
streamsize __CLR_OR_THIS_CALL ios_base::width ( ) const
inline
411  { // return width
412  return (_Wide);
413  }
streamsize _Wide
Definition: xiosbase:620
streamsize __CLR_OR_THIS_CALL ios_base::width ( streamsize  _Newwidth)
inline
416  { // set width to argument
417  streamsize _Oldwidth = _Wide;
418  _Wide = _Newwidth;
419  return (_Oldwidth);
420  }
_Longlong streamsize
Definition: iosfwd:22
streamsize _Wide
Definition: xiosbase:620
static int __CLRCALL_OR_CDECL ios_base::xalloc ( )
inlinestatic
436  { // allocate new iword/pword index
437  _BEGIN_LOCK(_LOCK_STREAM) // lock thread to ensure atomicity
438  return (_Index++);
439  _END_LOCK()
440  }
static __PURE_APPDOMAIN_GLOBAL int _Index
Definition: xiosbase:625
#define _LOCK_STREAM
Definition: yvals.h:614
return(_PAIR_TYPE(_FwdIt)(_First, _First))

Member Data Documentation

_Iosarray* ios_base::_Arr
private
_Fnarray* ios_base::_Calls
private
iostate ios_base::_Except
private
fmtflags ios_base::_Fmtfl
private
__PURE_APPDOMAIN_GLOBAL int ios_base::_Index
staticprivate
iostate ios_base::_Mystate
private
locale* ios_base::_Ploc
private
streamsize ios_base::_Prec
private
size_t ios_base::_Stdstr
__PURE_APPDOMAIN_GLOBAL bool ios_base::_Sync
staticprivate
streamsize ios_base::_Wide
private

The documentation for this class was generated from the following file: