ReactOS 0.4.15-dev-7906-g1b85a5f
_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 79 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 95 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 144 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 _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}

◆ operator>>() [2/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>>() [3/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}

◆ 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

Referenced by resetiosflags().

◆ 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
int fmtflags
Definition: _ios_base.h:57

Referenced by setbase().

◆ setfill()

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

◆ 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); }

Referenced by setiosflags(), and FstreamTest::tellg().

◆ setprecision()

◆ setw()