ReactOS  0.4.14-dev-114-gc8cbd56
_iomanip.h File Reference
#include <stl/_istream.h>
Include dependency graph for _iomanip.h:

Go to the source code of this file.

Classes

struct  _Ios_Manip_1< _Arg >
 
struct  _Ios_Setf_Manip
 
struct  _Setfill_Manip< _CharT >
 

Functions

template<class _CharT , class _Traits , class _Arg >
_STLP_MOVE_TO_STD_NAMESPACE basic_istream< _CharT, _Traits > &_STLP_CALL operator>> (basic_istream< _CharT, _Traits > &__istr, const _STLP_PRIV _Ios_Manip_1< _Arg > &__f)
 
template<class _CharT , class _Traits , class _Arg >
basic_ostream< _CharT, _Traits > &_STLP_CALL operator<< (basic_ostream< _CharT, _Traits > &__os, const _STLP_PRIV _Ios_Manip_1< _Arg > &__f)
 
template<class _CharT , class _Traits >
basic_istream< _CharT, _Traits > &_STLP_CALL operator>> (basic_istream< _CharT, _Traits > &__istr, const _STLP_PRIV _Ios_Setf_Manip &__f)
 
template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > &_STLP_CALL operator<< (basic_ostream< _CharT, _Traits > &__os, const _STLP_PRIV _Ios_Setf_Manip &__f)
 
_STLP_PRIV _Ios_Setf_Manip _STLP_CALL resetiosflags (ios_base::fmtflags __mask)
 
_STLP_PRIV _Ios_Setf_Manip _STLP_CALL setiosflags (ios_base::fmtflags __flag)
 
_STLP_PRIV _Ios_Setf_Manip _STLP_CALL setbase (int __n)
 
_STLP_PRIV _Ios_Manip_1< streamsize > _STLP_CALL setprecision (int __n)
 
_STLP_PRIV _Ios_Manip_1< streamsize > _STLP_CALL setw (int __n)
 
template<class _CharT , class _CharT2 , class _Traits >
_STLP_MOVE_TO_STD_NAMESPACE basic_ostream< _CharT, _Traits > &_STLP_CALL operator<< (basic_ostream< _CharT, _Traits > &__os, const _STLP_PRIV _Setfill_Manip< _CharT2 > &__m)
 
template<class _CharT , class _CharT2 , class _Traits >
basic_istream< _CharT, _Traits > &_STLP_CALL operator>> (basic_istream< _CharT, _Traits > &__is, const _STLP_PRIV _Setfill_Manip< _CharT2 > &__m)
 
template<class _CharT >
_STLP_PRIV _Setfill_Manip< _CharT > _STLP_CALL setfill (_CharT __c)
 

Function Documentation

◆ operator<<() [1/3]

template<class _CharT , class _Traits , class _Arg >
basic_ostream<_CharT, _Traits>& _STLP_CALL operator<< ( basic_ostream< _CharT, _Traits > &  __os,
const _STLP_PRIV _Ios_Manip_1< _Arg > &  __f 
)
inline

Definition at line 80 of file _iomanip.h.

81  {
82  __f(__os);
83  return __os;
84 }

◆ operator<<() [2/3]

template<class _CharT , class _Traits >
basic_ostream<_CharT, _Traits>& _STLP_CALL operator<< ( basic_ostream< _CharT, _Traits > &  __os,
const _STLP_PRIV _Ios_Setf_Manip __f 
)
inline

Definition at line 96 of file _iomanip.h.

97  {
98  __f(__os);
99  return __os;
100 }

◆ operator<<() [3/3]

template<class _CharT , class _CharT2 , class _Traits >
_STLP_MOVE_TO_STD_NAMESPACE basic_ostream<_CharT, _Traits>& _STLP_CALL operator<< ( basic_ostream< _CharT, _Traits > &  __os,
const _STLP_PRIV _Setfill_Manip< _CharT2 > &  __m 
)
inline

Definition at line 145 of file _iomanip.h.

146  {
147  __os.fill(__m._M_c);
148  return __os;
149 }
char_type fill() const
Definition: _ios.h:81

◆ operator>>() [1/3]

template<class _CharT , class _Traits , class _Arg >
_STLP_MOVE_TO_STD_NAMESPACE basic_istream<_CharT, _Traits>& _STLP_CALL operator>> ( basic_istream< _CharT, _Traits > &  __istr,
const _STLP_PRIV _Ios_Manip_1< _Arg > &  __f 
)
inline

Definition at line 72 of file _iomanip.h.

73  {
74  __f(__istr);
75  return __istr;
76 }

◆ operator>>() [2/3]

template<class _CharT , class _Traits >
basic_istream<_CharT, _Traits>& _STLP_CALL operator>> ( basic_istream< _CharT, _Traits > &  __istr,
const _STLP_PRIV _Ios_Setf_Manip __f 
)
inline

Definition at line 88 of file _iomanip.h.

89  {
90  __f(__istr);
91  return __istr;
92 }

◆ operator>>() [3/3]

template<class _CharT , class _CharT2 , class _Traits >
basic_istream<_CharT, _Traits>& _STLP_CALL operator>> ( basic_istream< _CharT, _Traits > &  __is,
const _STLP_PRIV _Setfill_Manip< _CharT2 > &  __m 
)
inline

Definition at line 153 of file _iomanip.h.

154  {
155  __is.fill(__m._M_c);
156  return __is;
157 }
char_type fill() const
Definition: _ios.h:81

◆ resetiosflags()

_STLP_PRIV _Ios_Setf_Manip _STLP_CALL resetiosflags ( ios_base::fmtflags  __mask)
inline

Definition at line 104 of file _iomanip.h.

105 { return _STLP_PRIV _Ios_Setf_Manip(0, __mask); }
#define _STLP_PRIV
Definition: _dm.h:70

◆ setbase()

_STLP_PRIV _Ios_Setf_Manip _STLP_CALL setbase ( int  __n)
inline

Definition at line 110 of file _iomanip.h.

110  {
111  ios_base::fmtflags __base = __n == 8 ? ios_base::oct :
112  __n == 10 ? ios_base::dec :
113  __n == 16 ? ios_base::hex :
115  return _STLP_PRIV _Ios_Setf_Manip(__base, ios_base::basefield);
116 }
return __n
Definition: _algo.h:75
ios_base &_STLP_CALL dec(ios_base &__s)
Definition: _ios_base.h:321
static const char hex[16]
Definition: profile.c:123
#define _STLP_PRIV
Definition: _dm.h:70
int fmtflags
Definition: _ios_base.h:57
ios_base &_STLP_CALL oct(ios_base &__s)
Definition: _ios_base.h:327

◆ setfill()

template<class _CharT >
_STLP_PRIV _Setfill_Manip<_CharT> _STLP_CALL setfill ( _CharT  __c)
inline

Definition at line 160 of file _iomanip.h.

#define __c
Definition: schilyio.h:209
#define _STLP_PRIV
Definition: _dm.h:70

Referenced by RequestHandler::dump_one_line(), NumPutGetTest::num_put_float(), and FstreamTest::tellg().

◆ setiosflags()

_STLP_PRIV _Ios_Setf_Manip _STLP_CALL setiosflags ( ios_base::fmtflags  __flag)
inline

Definition at line 107 of file _iomanip.h.

108 { return _STLP_PRIV _Ios_Setf_Manip(__flag); }
#define _STLP_PRIV
Definition: _dm.h:70

Referenced by FstreamTest::tellg().

◆ setprecision()

_STLP_PRIV _Ios_Manip_1<streamsize> _STLP_CALL setprecision ( int  __n)
inline

Definition at line 119 of file _iomanip.h.

119  {
122 }
return __n
Definition: _algo.h:75
streamsize precision() const
Definition: _ios_base.h:127
#define _STLP_PRIV
Definition: _dm.h:70

Referenced by NumPutGetTest::check_get_float(), NumPutGetTest::num_put_float(), CWineTest::RunTest(), and wmain().

◆ setw()

Definition at line 125 of file _iomanip.h.

125  {
128 }
return __n
Definition: _algo.h:75
#define _STLP_PRIV
Definition: _dm.h:70
streamsize width() const
Definition: _ios_base.h:134

Referenced by RequestHandler::dump_one_line(), NumPutGetTest::inhex(), NumPutGetTest::num_put_float(), and FstreamTest::tellg().