STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
iomanip File Reference
#include <istream>
#include <type_traits>
#include <xlocmon>
#include <xloctime>

Classes

struct  _Fillobj< _Elem >
 
struct  _Monobj< _Money >
 
struct  _Timeobj< _Elem, _Ptr >
 
struct  _Quote_in< _Elem, _Traits, _Alloc >
 
struct  _Quote_out< _Elem, _Traits, _Sizet >
 
struct  _Smanip< _Arg >
 

Macros

#define _IOMANIP_
 

Functions

template<class _Elem >
_Fillobj< _Elem > setfill (_Elem _Ch)
 
template<class _Elem , class _Traits , class _Elem2 >
basic_istream< _Elem, _Traits > & operator>> (basic_istream< _Elem, _Traits > &_Istr, const _Fillobj< _Elem2 > &_Manip)
 
template<class _Elem , class _Traits , class _Elem2 >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Fillobj< _Elem2 > &_Manip)
 
template<class _Money >
_Monobj< _Money > get_money (_Money &_Val_arg, bool _Intl_arg=false)
 
template<class _Elem , class _Traits , class _Money >
basic_istream< _Elem, _Traits > & operator>> (basic_istream< _Elem, _Traits > &_Istr, const _Monobj< _Money > &_Manip)
 
template<class _Money >
_Monobj< const _Money > put_money (const _Money &_Val_arg, bool _Intl_arg=false)
 
template<class _Elem , class _Traits , class _Money >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Monobj< _Money > &_Manip)
 
template<class _Elem >
_Timeobj< _Elem, struct tm * > get_time (struct tm *_Tptr_arg, const _Elem *_Fmt_arg)
 
template<class _Elem , class _Traits , class _Elem2 >
basic_istream< _Elem, _Traits > & operator>> (basic_istream< _Elem, _Traits > &_Istr, const _Timeobj< _Elem2, struct tm * > &_Manip)
 
template<class _Elem >
_Timeobj< _Elem, const struct tm * > put_time (const struct tm *_Tptr_arg, const _Elem *_Fmt_arg)
 
template<class _Elem , class _Traits , class _Elem2 >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Timeobj< _Elem2, const struct tm * > &_Manip)
 
template<class _Elem >
_Quote_out< _Elem, void, size_tquoted (const _Elem *_Ptr, _Elem _Delim=_Elem('"'), _Elem _Escape = _Elem('\\'))
 
template<class _Elem , class _Traits , class _Alloc >
_Quote_out< _Elem, _Traits, typename basic_string< _Elem, _Traits, _Alloc >::size_type > quoted (const basic_string< _Elem, _Traits, _Alloc > &_Str, _Elem _Delim=_Elem('"'), _Elem _Escape = _Elem('\\'))
 
template<class _Elem , class _Traits , class _Alloc >
_Quote_in< _Elem, _Traits, _Alloc > quoted (basic_string< _Elem, _Traits, _Alloc > &_Str, _Elem _Delim=_Elem('"'), _Elem _Escape = _Elem('\\'))
 
template<class _Elem , class _Traits , class _QuTraits , class _Sizet >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Quote_out< _Elem, _QuTraits, _Sizet > &_Manip)
 
template<class _Elem , class _Traits , class _Alloc >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Quote_in< _Elem, _Traits, _Alloc > &_Manip)
 
template<class _Elem , class _Traits , class _Alloc >
basic_istream< _Elem, _Traits > & operator>> (basic_istream< _Elem, _Traits > &_Istr, const _Quote_in< _Elem, _Traits, _Alloc > &_Manip)
 
template<class _Elem , class _Traits , class _Arg >
basic_istream< _Elem, _Traits > & operator>> (basic_istream< _Elem, _Traits > &_Istr, const _Smanip< _Arg > &_Manip)
 
template<class _Elem , class _Traits , class _Arg >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Smanip< _Arg > &_Manip)
 
_MRTIMP2 _Smanip< ios_base::fmtflags > __cdecl resetiosflags (ios_base::fmtflags)
 
_MRTIMP2 _Smanip< ios_base::fmtflags > __cdecl setiosflags (ios_base::fmtflags)
 
_MRTIMP2 _Smanip< int > __cdecl setbase (int)
 
_MRTIMP2 _Smanip< streamsize > __cdecl setprecision (streamsize)
 
_MRTIMP2 _Smanip< streamsize > __cdecl setw (streamsize)
 

Macro Definition Documentation

#define _IOMANIP_

Function Documentation

template<class _Money >
_Monobj<_Money> get_money ( _Money &  _Val_arg,
bool  _Intl_arg = false 
)
inline
86  { // return a _Monobj manipulator
87  return (_Monobj<_Money>(_Val_arg, _Intl_arg));
88  }
Definition: iomanip:68
template<class _Elem >
_Timeobj<_Elem, struct tm *> get_time ( struct tm *  _Tptr_arg,
const _Elem *  _Fmt_arg 
)
inline
175  { // return a _Timeobj manipulator
176  return (_Timeobj<_Elem, struct tm *>(_Tptr_arg, _Fmt_arg));
177  }
Definition: iomanip:157
template<class _Elem , class _Traits , class _Elem2 >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Fillobj< _Elem2 > &  _Manip 
)
inline
58  { // set fill character in output stream
59  static_assert(is_same<_Elem, _Elem2>::value,
60  "wrong character type for setfill");
61 
62  _Ostr.fill(_Manip._Fill);
63  return (_Ostr);
64  }
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:111
_Elem _Fill
Definition: iomanip:28
Definition: xtr1common:86
template<class _Elem , class _Traits , class _Money >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Monobj< _Money > &  _Manip 
)
inline
132  { // put monetary amount to output stream
133  typedef basic_ostream<_Elem, _Traits> _Myos;
135  typedef money_put<_Elem, _Iter> _Mymput;
136 
137  ios_base::iostate _State = ios_base::goodbit;
138  const typename _Myos::sentry _Ok(_Ostr);
139 
140  if (_Ok)
141  { // state okay, insert monetary amount
142  const _Mymput& _Mput_fac = _USE(_Ostr.getloc(), _Mymput);
144  if (_Mput_fac.put(_Iter(_Ostr.rdbuf()), _Manip._Intl,
145  _Ostr, _Ostr.fill(), _Manip._Val).failed())
146  _State |= ios_base::badbit;
147  _CATCH_IO_(_Ostr)
148  }
149 
150  _Ostr.setstate(_State);
151  return (_Ostr);
152  }
#define _CATCH_IO_(x)
Definition: ostream:32
#define _USE(loc, fac)
Definition: xlocale:547
#define _TRY_IO_BEGIN
Definition: ostream:30
Definition: iosfwd:622
bool _Intl
Definition: iomanip:76
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:433
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:90
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:111
Definition: iosfwd:631
_Money & _Val
Definition: iomanip:75
static constexpr _Iostate goodbit
Definition: xiosbase:87
Definition: xlocmon:649
static constexpr _Iostate badbit
Definition: xiosbase:90
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:56
template<class _Elem , class _Traits , class _Elem2 >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Timeobj< _Elem2, const struct tm * > &  _Manip 
)
inline
223  { // put time information to output stream
224  typedef basic_ostream<_Elem, _Traits> _Myos;
226  typedef time_put<_Elem2, _Iter> _Mytput;
227 
228  static_assert(is_same<_Elem, _Elem2>::value,
229  "wrong character type for put_time");
230 
231  ios_base::iostate _State = ios_base::goodbit;
232  const typename _Myos::sentry _Ok(_Ostr);
233 
234  if (_Ok)
235  { // state okay, insert monetary amount
236  const _Mytput& _Tput_fac = _USE(_Ostr.getloc(), _Mytput);
238  if (_Tput_fac.put(_Iter(_Ostr.rdbuf()), _Ostr, _Ostr.fill(),
239  _Manip._Tptr, _Manip._Fmtfirst, _Manip._Fmtlast).failed())
240  _State |= ios_base::badbit;
241  _CATCH_IO_(_Ostr)
242  }
243 
244  _Ostr.setstate(_State);
245  return (_Ostr);
246  }
Definition: xloctime:685
const _Elem * _Fmtlast
Definition: iomanip:168
#define _CATCH_IO_(x)
Definition: ostream:32
#define _USE(loc, fac)
Definition: xlocale:547
#define _TRY_IO_BEGIN
Definition: ostream:30
Definition: iosfwd:622
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:433
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:90
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:111
Definition: iosfwd:631
static constexpr _Iostate goodbit
Definition: xiosbase:87
Definition: xtr1common:86
static constexpr _Iostate badbit
Definition: xiosbase:90
const _Elem * _Fmtfirst
Definition: iomanip:167
_Ptr _Tptr
Definition: iomanip:166
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:56
template<class _Elem , class _Traits , class _Alloc >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Quote_in< _Elem, _Traits, _Alloc > &  _Manip 
)
inline
421  { // put quoted string to output stream
423  const _Mystr& _Ref = _Manip._Str;
424  return (_Ostr << _STD quoted(_Ref, _Manip._Delim, _Manip._Escape));
425  }
_Mystr & _Str
Definition: iomanip:262
_Elem _Escape
Definition: iomanip:264
_Elem _Delim
Definition: iomanip:263
_Quote_out< _Elem, void, size_t > quoted(const _Elem *_Ptr, _Elem _Delim=_Elem('"'), _Elem _Escape = _Elem('\\'))
Definition: iomanip:293
Definition: xstring:21
template<class _Elem , class _Traits , class _QuTraits , class _Sizet >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Quote_out< _Elem, _QuTraits, _Sizet > &  _Manip 
)
inline
336  { // put quoted string to output stream
337  static_assert(is_void<_QuTraits>::value
339  "quoted() traits must match basic_ostream traits");
340 
341  typedef basic_ostream<_Elem, _Traits> _Myos;
342 
343  const _Elem *const _Last = _Manip._Ptr + _Manip._Size;
344 
345  _Sizet _Size = _Manip._Size + 2; // allow for delimiters
346  for (const _Elem *_Ptr = _Manip._Ptr; _Ptr != _Last; ++_Ptr)
347  if (_Traits::eq(*_Ptr, _Manip._Delim)
348  || _Traits::eq(*_Ptr, _Manip._Escape))
349  ++_Size; // count escapes
350 
351  ios_base::iostate _State = ios_base::goodbit;
352  _Sizet _Pad = _Ostr.width() <= 0 || (_Sizet)_Ostr.width() <= _Size
353  ? 0 : (_Sizet)_Ostr.width() - _Size;
354  const typename _Myos::sentry _Ok(_Ostr);
355 
356  if (!_Ok)
357  _State |= ios_base::badbit;
358  else
359  { // state okay, insert characters
361  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
362  for (; 0 < _Pad; --_Pad) // pad on left
363  if (_Traits::eq_int_type(_Traits::eof(),
364  _Ostr.rdbuf()->sputc(_Ostr.fill())))
365  { // insertion failed, quit
366  _State |= ios_base::badbit;
367  break;
368  }
369 
370  if (_State == ios_base::goodbit
371  && _Traits::eq_int_type(_Traits::eof(),
372  _Ostr.rdbuf()->sputc(_Manip._Delim))) // put delimiter
373  _State |= ios_base::badbit;
374 
375  for (const _Elem *_Ptr = _Manip._Ptr; _Ptr != _Last; ++_Ptr)
376  { // put (possibly escaped) element
377  if ((_Traits::eq(*_Ptr, _Manip._Delim)
378  || _Traits::eq(*_Ptr, _Manip._Escape))
379  && _State == ios_base::goodbit
380  && _Traits::eq_int_type(_Traits::eof(),
381  _Ostr.rdbuf()->sputc(_Manip._Escape))) // put escape
382  { // insertion failed, quit
383  _State |= ios_base::badbit;
384  break;
385  }
386  if (_State == ios_base::goodbit
387  && _Traits::eq_int_type(_Traits::eof(),
388  _Ostr.rdbuf()->sputc(*_Ptr))) // put element
389  { // insertion failed, quit
390  _State |= ios_base::badbit;
391  break;
392  }
393  }
394  if (_State == ios_base::goodbit
395  && _Traits::eq_int_type(_Traits::eof(),
396  _Ostr.rdbuf()->sputc(_Manip._Delim))) // put delimiter
397  _State |= ios_base::badbit;
398 
399  if (_State == ios_base::goodbit)
400  for (; 0 < _Pad; --_Pad) // pad on right
401  if (_Traits::eq_int_type(_Traits::eof(),
402  _Ostr.rdbuf()->sputc(_Ostr.fill())))
403  { // insertion failed, quit
404  _State |= ios_base::badbit;
405  break;
406  }
407  _Ostr.width(0);
408  _CATCH_IO_(_Ostr)
409  }
410 
411  _Ostr.setstate(_State);
412  return (_Ostr);
413  }
#define _CATCH_IO_(x)
Definition: ostream:32
#define _TRY_IO_BEGIN
Definition: ostream:30
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:90
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:111
_Elem _Escape
Definition: iomanip:285
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:376
Definition: iosfwd:631
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:421
const _Elem * _Ptr
Definition: iomanip:282
_Elem _Delim
Definition: iomanip:284
static constexpr _Iostate goodbit
Definition: xiosbase:87
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:198
_Sizet _Size
Definition: iomanip:283
Definition: xtr1common:86
static constexpr _Iostate badbit
Definition: xiosbase:90
_FwdIt _Last
Definition: algorithm:1936
Definition: type_traits:52
_Size
Definition: vcruntime_string.h:36
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:56
static constexpr _Fmtflags adjustfield
Definition: xiosbase:76
Definition: xthread:164
static constexpr _Fmtflags left
Definition: xiosbase:62
template<class _Elem , class _Traits , class _Arg >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Smanip< _Arg > &  _Manip 
)
inline
526  { // insert by calling function with output stream and argument
527  (*_Manip._Pfun)(_Ostr, _Manip._Manarg);
528  return (_Ostr);
529  }
_Arg _Manarg
Definition: iomanip:508
template<class _Elem , class _Traits , class _Elem2 >
basic_istream<_Elem, _Traits>& operator>> ( basic_istream< _Elem, _Traits > &  _Istr,
const _Fillobj< _Elem2 > &  _Manip 
)
inline
44  { // set fill character in input stream
45  static_assert(is_same<_Elem, _Elem2>::value,
46  "wrong character type for setfill");
47 
48  _Istr.fill(_Manip._Fill);
49  return (_Istr);
50  }
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:111
_Elem _Fill
Definition: iomanip:28
Definition: xtr1common:86
template<class _Elem , class _Traits , class _Money >
basic_istream<_Elem, _Traits>& operator>> ( basic_istream< _Elem, _Traits > &  _Istr,
const _Monobj< _Money > &  _Manip 
)
inline
96  { // get monetary amount from input stream
97  typedef basic_istream<_Elem, _Traits> _Myis;
99  typedef money_get<_Elem, _Iter> _Mymget;
100 
101  ios_base::iostate _State = ios_base::goodbit;
102  const typename _Myis::sentry _Ok(_Istr);
103 
104  if (_Ok)
105  { // state okay, extract monetary amount
106  const _Mymget& _Mget_fac = _USE(_Istr.getloc(), _Mymget);
108  _Mget_fac.get(_Iter(_Istr.rdbuf()), _Iter(0), _Manip._Intl,
109  _Istr, _State, _Manip._Val);
110  _CATCH_IO_(_Istr)
111  }
112 
113  _Istr.setstate(_State);
114  return (_Istr);
115  }
#define _CATCH_IO_(x)
Definition: ostream:32
#define _USE(loc, fac)
Definition: xlocale:547
Definition: iosfwd:619
#define _TRY_IO_BEGIN
Definition: ostream:30
bool _Intl
Definition: iomanip:76
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:433
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:90
_Money & _Val
Definition: iomanip:75
Definition: xlocmon:348
static constexpr _Iostate goodbit
Definition: xiosbase:87
Definition: iosfwd:628
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:56
template<class _Elem , class _Traits , class _Elem2 >
basic_istream<_Elem, _Traits>& operator>> ( basic_istream< _Elem, _Traits > &  _Istr,
const _Timeobj< _Elem2, struct tm * > &  _Manip 
)
inline
185  { // get time information from input stream
186  typedef basic_istream<_Elem, _Traits> _Myis;
188  typedef time_get<_Elem2, _Iter> _Mytget;
189 
190  static_assert(is_same<_Elem, _Elem2>::value,
191  "wrong character type for get_time");
192 
193  ios_base::iostate _State = ios_base::goodbit;
194  const typename _Myis::sentry _Ok(_Istr);
195 
196  if (_Ok)
197  { // state okay, extract time amounts
198  const _Mytget& _Tget_fac = _USE(_Istr.getloc(), _Mytget);
200  _Tget_fac.get(_Iter(_Istr.rdbuf()), _Iter(0), _Istr, _State,
201  _Manip._Tptr, _Manip._Fmtfirst, _Manip._Fmtlast);
202  _CATCH_IO_(_Istr)
203  }
204 
205  _Istr.setstate(_State);
206  return (_Istr);
207  }
const _Elem * _Fmtlast
Definition: iomanip:168
#define _CATCH_IO_(x)
Definition: ostream:32
#define _USE(loc, fac)
Definition: xlocale:547
Definition: iosfwd:619
#define _TRY_IO_BEGIN
Definition: ostream:30
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:433
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:90
static constexpr _Iostate goodbit
Definition: xiosbase:87
Definition: xtr1common:86
Definition: iosfwd:628
const _Elem * _Fmtfirst
Definition: iomanip:167
_Ptr _Tptr
Definition: iomanip:166
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:56
Definition: xloctime:38
template<class _Elem , class _Traits , class _Alloc >
basic_istream<_Elem, _Traits>& operator>> ( basic_istream< _Elem, _Traits > &  _Istr,
const _Quote_in< _Elem, _Traits, _Alloc > &  _Manip 
)
inline
434  { // get quoted string from input stream
435  typedef basic_istream<_Elem, _Traits> _Myis;
437  typedef typename _Mystr::size_type _Sizet;
438 
439  ios_base::iostate _State = ios_base::goodbit;
440  bool _Changed = false;
441  const typename _Myis::sentry _Ok(_Istr);
442 
443  while (_Ok)
444  { // state okay, extract characters
446  _Sizet _Size = 0 < _Istr.width()
447  && (_Sizet)_Istr.width() < _Manip._Str.max_size()
448  ? (_Sizet)_Istr.width() : _Manip._Str.max_size();
449  typename _Traits::int_type _Meta = _Istr.rdbuf()->sgetc();
450  typename _Traits::int_type _Delim =
451  _Traits::to_int_type(_Manip._Delim);
452  typename _Traits::int_type _Escape =
453  _Traits::to_int_type(_Manip._Escape);
454 
455  if (!_Traits::eq_int_type(_Meta, _Delim)) // no leading delimiter
456  return (_Istr >> _Manip._Str);
457  _Manip._Str.clear();
458  _Meta = _Istr.rdbuf()->snextc(); // discard leading delimiter
459 
460  for (; !_Traits::eq_int_type(_Meta, _Delim) && 0 < _Size;
461  _Meta = _Istr.rdbuf()->snextc(), --_Size)
462  if (_Traits::eq_int_type(_Traits::eof(), _Meta))
463  { // end of file, quit
464  _State |= ios_base::eofbit;
465  break;
466  }
467  else if (!_Traits::eq_int_type(_Meta, _Escape))
468  _Manip._Str.append(1,
469  _Traits::to_char_type(_Meta)); // add element
470  else if (_Traits::eq_int_type(_Traits::eof(),
471  _Meta = _Istr.rdbuf()->snextc()))
472  { // escaped end of file, quit
473  _State |= ios_base::eofbit;
474  break;
475  }
476  else
477  _Manip._Str.append(1,
478  _Traits::to_char_type(_Meta)); // add escaped element
479 
480  if (!_Traits::eq_int_type(_Meta, _Delim))
481  _State |= ios_base::failbit; // no trailing delimiter, fail
482  else
483  { // discard trailing delimiter
484  _Changed = true;
485  _Istr.rdbuf()->snextc();
486  }
487  _CATCH_IO_(_Istr)
488  break;
489  }
490 
491  _Istr.width(0);
492  if (!_Changed)
493  _State |= ios_base::failbit;
494  _Istr.setstate(_State);
495  return (_Istr);
496  }
Definition: xiosbase:199
int_type __CLR_OR_THIS_CALL sgetc()
Definition: streambuf:154
static constexpr _Iostate failbit
Definition: xiosbase:89
#define _CATCH_IO_(x)
Definition: ostream:32
_Mystr & _Str
Definition: iomanip:262
#define _TRY_IO_BEGIN
Definition: ostream:30
_Elem _Escape
Definition: iomanip:264
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:90
int_type __CLR_OR_THIS_CALL snextc()
Definition: streambuf:166
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:421
size_type max_size() const _NOEXCEPT
Definition: xstring:1768
_Elem _Delim
Definition: iomanip:263
return(_PAIR_TYPE(_FwdIt)(_First, _First))
if(__pUnknown!=*__ppTargetUnknown)
Definition: vccorlib.h:399
static constexpr _Iostate goodbit
Definition: xiosbase:87
Definition: iosfwd:628
Definition: xstring:21
void clear() _NOEXCEPT
Definition: xstring:1376
_Myt & append(_XSTD initializer_list< _Elem > _Ilist)
Definition: xstring:998
_Size
Definition: vcruntime_string.h:36
static constexpr _Iostate eofbit
Definition: xiosbase:88
template<class _Elem , class _Traits , class _Arg >
basic_istream<_Elem, _Traits>& operator>> ( basic_istream< _Elem, _Traits > &  _Istr,
const _Smanip< _Arg > &  _Manip 
)
inline
516  { // extract by calling function with input stream and argument
517  (*_Manip._Pfun)(_Istr, _Manip._Manarg);
518  return (_Istr);
519  }
_Arg _Manarg
Definition: iomanip:508
template<class _Money >
_Monobj<const _Money> put_money ( const _Money &  _Val_arg,
bool  _Intl_arg = false 
)
inline
122  { // return a _Monobj manipulator
123  return (_Monobj<const _Money>(_Val_arg, _Intl_arg));
124  }
Definition: iomanip:68
template<class _Elem >
_Timeobj<_Elem, const struct tm *> put_time ( const struct tm *  _Tptr_arg,
const _Elem *  _Fmt_arg 
)
inline
213  { // return a _Timeobj manipulator
214  return (_Timeobj<_Elem, const struct tm *>(_Tptr_arg, _Fmt_arg));
215  }
Definition: iomanip:157
template<class _Elem >
_Quote_out<_Elem, void, size_t> quoted ( const _Elem *  _Ptr,
_Elem  _Delim = _Elem('"'),
_Elem  _Escape = _Elem('\\') 
)
inline
296  { // return a _Quote_out manipulator for pointer/length
297  size_t _Size = 0;
298  for (; _Ptr[_Size] != _Elem(0); ++_Size)
299  ;
300  return (_Quote_out<_Elem, void, size_t>(_Ptr, _Size, _Delim, _Escape));
301  }
Definition: iomanip:273
_Size
Definition: vcruntime_string.h:36
template<class _Elem , class _Traits , class _Alloc >
_Quote_out<_Elem, _Traits, typename basic_string<_Elem, _Traits, _Alloc>::size_type> quoted ( const basic_string< _Elem, _Traits, _Alloc > &  _Str,
_Elem  _Delim = _Elem('"'),
_Elem  _Escape = _Elem('\\') 
)
inline
311  { // return a _Quote_out manipulator for string
312  typedef _Quote_out<_Elem, _Traits,
314  return (_Qobj(_Str.c_str(), _Str.size(), _Delim, _Escape));
315  }
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
Definition: iomanip:273
size_type size() const _NOEXCEPT
Definition: xstring:1763
_Mybase::size_type size_type
Definition: xstring:762
template<class _Elem , class _Traits , class _Alloc >
_Quote_in<_Elem, _Traits, _Alloc> quoted ( basic_string< _Elem, _Traits, _Alloc > &  _Str,
_Elem  _Delim = _Elem('"'),
_Elem  _Escape = _Elem('\\') 
)
inline
324  { // return a _Quote_in manipulator
325  return (_Quote_in<_Elem, _Traits, _Alloc>(_Str, _Delim, _Escape));
326  }
Definition: iomanip:251
_MRTIMP2 _Smanip<ios_base::fmtflags> __cdecl resetiosflags ( ios_base::fmtflags  )
_MRTIMP2 _Smanip<int> __cdecl setbase ( int  )
template<class _Elem >
_Fillobj<_Elem> setfill ( _Elem  _Ch)
inline
34  { // return a _Fillobj manipulator
35  return (_Fillobj<_Elem>(_Ch));
36  }
Definition: iomanip:21
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
_MRTIMP2 _Smanip<ios_base::fmtflags> __cdecl setiosflags ( ios_base::fmtflags  )
_MRTIMP2 _Smanip<streamsize> __cdecl setprecision ( streamsize  )
_MRTIMP2 _Smanip<streamsize> __cdecl setw ( streamsize  )