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 void(__CLRCALL_OR_CDECLevent_callback) (event, ios_base &, int)
 
- Public Types inherited from _Iosb< int >
enum  _Dummy_enum
 
enum  _Fmtflags
 
enum  _Iostate
 
enum  _Openmode
 
enum  _Seekdir
 
enum  
 

Public Member Functions

 _IOS_BITMASK (_Fmtflags, fmtflags)
 
 _IOS_BITMASK (_Iostate, iostate)
 
 _IOS_BITMASK (_Openmode, openmode)
 
 _IOS_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)
 
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)
 
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)
 
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 constexpr _Fmtflags skipws
 
static constexpr _Fmtflags unitbuf
 
static constexpr _Fmtflags uppercase
 
static constexpr _Fmtflags showbase
 
static constexpr _Fmtflags showpoint
 
static constexpr _Fmtflags showpos
 
static constexpr _Fmtflags left
 
static constexpr _Fmtflags right
 
static constexpr _Fmtflags internal
 
static constexpr _Fmtflags dec
 
static constexpr _Fmtflags oct
 
static constexpr _Fmtflags hex
 
static constexpr _Fmtflags scientific
 
static constexpr _Fmtflags fixed
 
static constexpr _Fmtflags hexfloat
 
static constexpr _Fmtflags boolalpha
 
static constexpr _Fmtflags _Stdio
 
static constexpr _Fmtflags adjustfield
 
static constexpr _Fmtflags basefield
 
static constexpr _Fmtflags floatfield
 
static constexpr _Iostate goodbit
 
static constexpr _Iostate eofbit
 
static constexpr _Iostate failbit
 
static constexpr _Iostate badbit
 
static constexpr _Openmode in
 
static constexpr _Openmode out
 
static constexpr _Openmode ate
 
static constexpr _Openmode app
 
static constexpr _Openmode trunc
 
static constexpr _Openmode _Nocreate
 
static constexpr _Openmode _Noreplace
 
static constexpr _Openmode binary
 
static constexpr _Seekdir beg
 
static constexpr _Seekdir cur
 
static constexpr _Seekdir end
 

Member Typedef Documentation

typedef void(__CLRCALL_OR_CDECL * ios_base::event_callback) (event, ios_base &, int)

Member Enumeration Documentation

Enumerator
erase_event 
imbue_event 
copyfmt_event 
214  { // constants for ios events
Definition: xiosbase:215
Definition: xiosbase:215
Definition: xiosbase:215

Constructor & Destructor Documentation

virtual __CLR_OR_THIS_CALL ios_base::~ios_base ( )
inlinevirtual
523  { // destroy the object
524  _Ios_base_dtor(this);
525  }
static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL _Ios_base_dtor(ios_base *)
__CLR_OR_THIS_CALL ios_base::ios_base ( )
inlineprotected
534  { // default constructor
535  }
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
void __CLR_OR_THIS_CALL ios_base::_Callfns ( event  _Ev)
inlineprivate
583  { // call all event handlers, reporting event
584  for (_Fnarray *_Pfa = _Calls; _Pfa != 0; _Pfa = _Pfa->_Next)
585  (*_Pfa->_Pfn)(_Ev, *this, _Pfa->_Index);
586  }
_Fnarray * _Calls
Definition: xiosbase:635
_Fnarray * _Next
Definition: xiosbase:577
_Iosarray& __CLR_OR_THIS_CALL ios_base::_Findarr ( int  _Idx)
inlineprivate
589  { // locate or make a variable array element
590  _Iosarray *_Ptr1, *_Ptr2;
591 
592  for (_Ptr1 = _Arr, _Ptr2 = 0; _Ptr1 != 0; _Ptr1 = _Ptr1->_Next)
593  if (_Ptr1->_Index == _Idx)
594  return (*_Ptr1); // found element, return it
595  else if (_Ptr2 == 0 && _Ptr1->_Lo == 0 && _Ptr1->_Vp == 0)
596  _Ptr2 = _Ptr1; // found recycling candidate
597 
598  if (_Ptr2 != 0)
599  { // recycle existing element
600  _Ptr2->_Index = _Idx;
601  return (*_Ptr2);
602  }
603 
604  _Arr = new _Iosarray(_Idx, _Arr); // make a new element
605  return (*_Arr);
606  }
_Iosarray * _Arr
Definition: xiosbase:634
_Iosarray * _Next
Definition: xiosbase:562
void __CLR_OR_THIS_CALL ios_base::_Init ( )
inlineprotected
538  { // initialize a new ios_base
539  _Ploc = 0;
540  _Stdstr = 0;
541  _Except = goodbit;
542  _Fmtfl = (fmtflags)(skipws | dec);
543  _Prec = 6;
544  _Wide = 0;
545  _Arr = 0;
546  _Calls = 0;
547  clear(goodbit);
548  _Ploc = new locale;
549  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:286
_Fnarray * _Calls
Definition: xiosbase:635
iostate _Except
Definition: xiosbase:630
_Iosarray * _Arr
Definition: xiosbase:634
static constexpr _Fmtflags skipws
Definition: xiosbase:56
size_t _Stdstr
Definition: xiosbase:530
streamsize _Prec
Definition: xiosbase:632
static constexpr _Fmtflags dec
Definition: xiosbase:65
Definition: xlocale:98
streamsize _Wide
Definition: xiosbase:633
static constexpr _Iostate goodbit
Definition: xiosbase:87
locale * _Ploc
Definition: xiosbase:636
fmtflags _Fmtfl
Definition: xiosbase:631
static _MRTIMP2_PURE_NPURE void __CLRCALL_PURE_OR_CDECL ios_base::_Ios_base_dtor ( ios_base )
staticprivate
ios_base::_IOS_BITMASK ( _Fmtflags  ,
fmtflags   
)
ios_base::_IOS_BITMASK ( _Iostate  ,
iostate   
)
ios_base::_IOS_BITMASK ( _Openmode  ,
openmode   
)
ios_base::_IOS_BITMASK ( _Seekdir  ,
seekdir   
)
void __CLR_OR_THIS_CALL ios_base::_Tidy ( )
inlineprivate
609  { // discard storage for an ios_base
611  _Iosarray *_Ptr1, *_Ptr2;
612 
613  for (_Ptr1 = _Arr; _Ptr1 != 0; _Ptr1 = _Ptr2)
614  { // delete array element
615  _Ptr2 = _Ptr1->_Next;
616  delete _Ptr1;
617  }
618  _Arr = 0;
619 
620  _Fnarray *_Pfa1, *_Pfa2;
621  for (_Pfa1 = _Calls; _Pfa1 != 0; _Pfa1 = _Pfa2)
622  { // delete callback element
623  _Pfa2 = _Pfa1->_Next;
624  delete _Pfa1;
625  }
626  _Calls = 0;
627  }
_Fnarray * _Calls
Definition: xiosbase:635
void __CLR_OR_THIS_CALL _Callfns(event _Ev)
Definition: xiosbase:582
_Iosarray * _Arr
Definition: xiosbase:634
Definition: xiosbase:215
_Iosarray * _Next
Definition: xiosbase:562
bool __CLR_OR_THIS_CALL ios_base::bad ( ) const
inline
354  { // test if badbit is set in stream state
355  return (((int)rdstate() & (int)badbit) != 0);
356  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:313
static constexpr _Iostate badbit
Definition: xiosbase:90
void __CLR_OR_THIS_CALL ios_base::clear ( iostate  _State,
bool  _Reraise 
)
inline
287  { // set state, possibly reraise exception
288  _Mystate = (iostate)(_State & _Statmask);
289  if ((_Mystate & _Except) == 0)
290  ;
291  else if (_Reraise)
292  _RERAISE;
293  else if (_Mystate & _Except & badbit)
294  _THROW_NCEE(failure, "ios_base::badbit set");
295  else if (_Mystate & _Except & failbit)
296  _THROW_NCEE(failure, "ios_base::failbit set");
297  else
298  _THROW_NCEE(failure, "ios_base::eofbit set");
299  }
static constexpr _Iostate failbit
Definition: xiosbase:89
Definition: xiosbase:85
iostate _Except
Definition: xiosbase:630
iostate _Mystate
Definition: xiosbase:629
#define _THROW_NCEE(x, y)
Definition: xstddef:78
#define _RERAISE
Definition: xstddef:74
static constexpr _Iostate badbit
Definition: xiosbase:90
void __CLR_OR_THIS_CALL ios_base::clear ( iostate  _State = goodbit)
inline
302  { // set state to argument
303  clear(_State, false);
304  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:286
ios_base& __CLR_OR_THIS_CALL ios_base::copyfmt ( const ios_base _Other)
inline
470  { // copy format stuff
471  if (this != &_Other)
472  { // copy all but _Mystate
473  _Tidy();
474  *_Ploc = *_Other._Ploc;
475  _Fmtfl = _Other._Fmtfl;
476  _Prec = _Other._Prec;
477  _Wide = _Other._Wide;
478  _Iosarray *_Ptr = _Other._Arr;
479 
480  for (_Arr = 0; _Ptr != 0; _Ptr = _Ptr->_Next)
481  if (_Ptr->_Lo != 0 || _Ptr->_Vp != 0)
482  { // copy over nonzero array values
483  iword(_Ptr->_Index) = _Ptr->_Lo;
484  pword(_Ptr->_Index) = _Ptr->_Vp;
485  }
486 
487  for (_Fnarray *_Pfa = _Other._Calls; _Pfa != 0;
488  _Pfa = _Pfa->_Next)
489  register_callback(_Pfa->_Pfn, _Pfa->_Index);
490 
491  _Callfns(copyfmt_event); // call callbacks
492  exceptions(_Other._Except); // cause any throw at end
493  }
494  return (*this);
495  }
_Fnarray * _Calls
Definition: xiosbase:635
void __CLR_OR_THIS_CALL _Callfns(event _Ev)
Definition: xiosbase:582
iostate _Except
Definition: xiosbase:630
_Fnarray * _Next
Definition: xiosbase:577
_Iosarray * _Arr
Definition: xiosbase:634
streamsize _Prec
Definition: xiosbase:632
iostate __CLR_OR_THIS_CALL exceptions() const
Definition: xiosbase:358
void __CLR_OR_THIS_CALL _Tidy()
Definition: xiosbase:608
void __CLR_OR_THIS_CALL register_callback(event_callback _Pfn, int _Idx)
Definition: xiosbase:463
streamsize _Wide
Definition: xiosbase:633
void *&__CLR_OR_THIS_CALL pword(int _Idx)
Definition: xiosbase:458
long &__CLR_OR_THIS_CALL iword(int _Idx)
Definition: xiosbase:453
locale * _Ploc
Definition: xiosbase:636
_Iosarray * _Next
Definition: xiosbase:562
fmtflags _Fmtfl
Definition: xiosbase:631
Definition: xiosbase:215
bool __CLR_OR_THIS_CALL ios_base::eof ( ) const
inline
343  { // test if eofbit is set in stream state
344  return ((int)rdstate() & (int)eofbit);
345  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:313
static constexpr _Iostate eofbit
Definition: xiosbase:88
iostate __CLR_OR_THIS_CALL ios_base::exceptions ( ) const
inline
359  { // return exception mask
360  return (_Except);
361  }
iostate _Except
Definition: xiosbase:630
void __CLR_OR_THIS_CALL ios_base::exceptions ( iostate  _Newexcept)
inline
364  { // set exception mask to argument
365  _Except = (iostate)((int)_Newexcept & (int)_Statmask);
366  clear(_Mystate);
367  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:286
Definition: xiosbase:85
iostate _Except
Definition: xiosbase:630
iostate _Mystate
Definition: xiosbase:629
unsigned int
Definition: vccorlib.h:2468
bool __CLR_OR_THIS_CALL ios_base::fail ( ) const
inline
348  { // test if badbit or failbit is set in stream state
349  return (((int)rdstate()
350  & ((int)badbit | (int)failbit)) != 0);
351  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:313
static constexpr _Iostate failbit
Definition: xiosbase:89
static constexpr _Iostate badbit
Definition: xiosbase:90
fmtflags __CLR_OR_THIS_CALL ios_base::flags ( ) const
inline
377  { // return format flags
378  return (_Fmtfl);
379  }
fmtflags _Fmtfl
Definition: xiosbase:631
fmtflags __CLR_OR_THIS_CALL ios_base::flags ( fmtflags  _Newfmtflags)
inline
382  { // set format flags to argument
383  fmtflags _Oldfmtflags = _Fmtfl;
384  _Fmtfl = (fmtflags)((int)_Newfmtflags & (int)_Fmtmask);
385  return (_Oldfmtflags);
386  }
unsigned int
Definition: vccorlib.h:2468
Definition: xiosbase:54
fmtflags _Fmtfl
Definition: xiosbase:631
locale __CLR_OR_THIS_CALL ios_base::getloc ( ) const
inline
434  { // get locale
435  return (*_Ploc);
436  }
locale * _Ploc
Definition: xiosbase:636
bool __CLR_OR_THIS_CALL ios_base::good ( ) const
inline
338  { // test if no state bits are set
339  return (rdstate() == goodbit);
340  }
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:313
static constexpr _Iostate goodbit
Definition: xiosbase:87
locale __CLR_OR_THIS_CALL ios_base::imbue ( const locale _Loc)
inline
439  { // set locale to argument
440  locale _Oldlocale = *_Ploc;
441  *_Ploc = _Loc;
443  return (_Oldlocale);
444  }
void __CLR_OR_THIS_CALL _Callfns(event _Ev)
Definition: xiosbase:582
Definition: xlocale:98
locale * _Ploc
Definition: xiosbase:636
Definition: xiosbase:215
long& __CLR_OR_THIS_CALL ios_base::iword ( int  _Idx)
inline
454  { // return reference to long element
455  return (_Findarr(_Idx)._Lo);
456  }
_Iosarray &__CLR_OR_THIS_CALL _Findarr(int _Idx)
Definition: xiosbase:588
__CLR_OR_THIS_CALL ios_base::operator bool ( ) const
inlineexplicit
277  { // test if no stream operation has failed
278  return (!fail());
279  }
bool __CLR_OR_THIS_CALL fail() const
Definition: xiosbase:347
bool __CLR_OR_THIS_CALL ios_base::operator! ( ) const
inline
282  { // test if any stream operation has failed
283  return (fail());
284  }
bool __CLR_OR_THIS_CALL fail() const
Definition: xiosbase:347
ios_base& ios_base::operator= ( const ios_base )
delete
streamsize __CLR_OR_THIS_CALL ios_base::precision ( ) const
inline
410  { // return precision
411  return (_Prec);
412  }
streamsize _Prec
Definition: xiosbase:632
streamsize __CLR_OR_THIS_CALL ios_base::precision ( streamsize  _Newprecision)
inline
415  { // set precision to argument
416  streamsize _Oldprecision = _Prec;
417  _Prec = _Newprecision;
418  return (_Oldprecision);
419  }
_Longlong streamsize
Definition: iosfwd:22
streamsize _Prec
Definition: xiosbase:632
void*& __CLR_OR_THIS_CALL ios_base::pword ( int  _Idx)
inline
459  { // return reference to pointer element
460  return (_Findarr(_Idx)._Vp);
461  }
_Iosarray &__CLR_OR_THIS_CALL _Findarr(int _Idx)
Definition: xiosbase:588
iostate __CLR_OR_THIS_CALL ios_base::rdstate ( ) const
inline
314  { // return stream state
315  return (_Mystate);
316  }
iostate _Mystate
Definition: xiosbase:629
void __CLR_OR_THIS_CALL ios_base::register_callback ( event_callback  _Pfn,
int  _Idx 
)
inline
465  { // register event handler
466  _Calls = new _Fnarray(_Idx, _Pfn, _Calls);
467  }
_Fnarray * _Calls
Definition: xiosbase:635
fmtflags __CLR_OR_THIS_CALL ios_base::setf ( fmtflags  _Newfmtflags)
inline
389  { // merge in format flags argument
390  ios_base::fmtflags _Oldfmtflags = _Fmtfl;
391  _Fmtfl = (fmtflags)((int)_Fmtfl
392  | ((int)_Newfmtflags & (int)_Fmtmask));
393  return (_Oldfmtflags);
394  }
unsigned int
Definition: vccorlib.h:2468
Definition: xiosbase:54
fmtflags _Fmtfl
Definition: xiosbase:631
fmtflags __CLR_OR_THIS_CALL ios_base::setf ( fmtflags  _Newfmtflags,
fmtflags  _Mask 
)
inline
397  { // merge in format flags argument under mask argument
398  ios_base::fmtflags _Oldfmtflags = _Fmtfl;
399  _Fmtfl = (fmtflags)(((int)_Fmtfl & (int)~_Mask)
400  | ((int)_Newfmtflags & (int)_Mask & (int)_Fmtmask));
401  return (_Oldfmtflags);
402  }
unsigned int
Definition: vccorlib.h:2468
Definition: xiosbase:54
fmtflags _Fmtfl
Definition: xiosbase:631
void __CLR_OR_THIS_CALL ios_base::setstate ( iostate  _State,
bool  _Exreraise 
)
inline
319  { // merge in state argument, possibly reraise exception
320  if (_State != goodbit)
321  clear((iostate)((int)rdstate() | (int)_State), _Exreraise);
322  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:286
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:313
static constexpr _Iostate goodbit
Definition: xiosbase:87
void __CLR_OR_THIS_CALL ios_base::setstate ( iostate  _State)
inline
325  { // merge in state argument
326  if (_State != goodbit)
327  clear((iostate)((int)rdstate() | (int)_State), false);
328  }
void __CLR_OR_THIS_CALL clear(iostate _State, bool _Reraise)
Definition: xiosbase:286
iostate __CLR_OR_THIS_CALL rdstate() const
Definition: xiosbase:313
static constexpr _Iostate goodbit
Definition: xiosbase:87
void __CLR_OR_THIS_CALL ios_base::swap ( ios_base _Right)
inline
507  { // swap with _Right
508  if (this != &_Right)
509  { // different, do the move
510  _STD swap(_Mystate, _Right._Mystate);
511  _STD swap(_Except, _Right._Except);
512  _STD swap(_Fmtfl, _Right._Fmtfl);
513  _STD swap(_Prec, _Right._Prec);
514  _STD swap(_Wide, _Right._Wide);
515 
516  _STD swap(_Arr, _Right._Arr);
517  _STD swap(_Calls, _Right._Calls);
518  _STD swap(_Ploc, _Right._Ploc);
519  }
520  }
_Fnarray * _Calls
Definition: xiosbase:635
iostate _Except
Definition: xiosbase:630
iostate _Mystate
Definition: xiosbase:629
_Iosarray * _Arr
Definition: xiosbase:634
streamsize _Prec
Definition: xiosbase:632
streamsize _Wide
Definition: xiosbase:633
locale * _Ploc
Definition: xiosbase:636
fmtflags _Fmtfl
Definition: xiosbase:631
void __CLR_OR_THIS_CALL swap(ios_base &_Right)
Definition: xiosbase:506
static bool __CLRCALL_OR_CDECL ios_base::sync_with_stdio ( bool  _Newsync = true)
inlinestatic
498  { // set C/C++ synchronization flag from argument
499  _BEGIN_LOCK(_LOCK_STREAM) // lock thread to ensure atomicity
500  const bool _Oldsync = _Sync;
501  _Sync = _Newsync;
502  return (_Oldsync);
503  _END_LOCK()
504  }
#define _LOCK_STREAM
Definition: yvals.h:606
return(_PAIR_TYPE(_FwdIt)(_First, _First))
static __PURE_APPDOMAIN_GLOBAL bool _Sync
Definition: xiosbase:639
void __CLR_OR_THIS_CALL ios_base::unsetf ( fmtflags  _Mask)
inline
405  { // clear format flags under mask argument
406  _Fmtfl = (fmtflags)((int)_Fmtfl & (int)~_Mask);
407  }
unsigned int
Definition: vccorlib.h:2468
fmtflags _Fmtfl
Definition: xiosbase:631
streamsize __CLR_OR_THIS_CALL ios_base::width ( ) const
inline
422  { // return width
423  return (_Wide);
424  }
streamsize _Wide
Definition: xiosbase:633
streamsize __CLR_OR_THIS_CALL ios_base::width ( streamsize  _Newwidth)
inline
427  { // set width to argument
428  streamsize _Oldwidth = _Wide;
429  _Wide = _Newwidth;
430  return (_Oldwidth);
431  }
_Longlong streamsize
Definition: iosfwd:22
streamsize _Wide
Definition: xiosbase:633
static int __CLRCALL_OR_CDECL ios_base::xalloc ( )
inlinestatic
447  { // allocate new iword/pword index
448  _BEGIN_LOCK(_LOCK_STREAM) // lock thread to ensure atomicity
449  return (_Index++);
450  _END_LOCK()
451  }
static __PURE_APPDOMAIN_GLOBAL int _Index
Definition: xiosbase:638
#define _LOCK_STREAM
Definition: yvals.h:606
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: