ReactOS  0.4.15-dev-3163-gf17c2c0
_Ios_Setf_Manip Struct Reference

#include <_iomanip.h>

Public Member Functions

 _Ios_Setf_Manip (ios_base::fmtflags __f)
 
 _Ios_Setf_Manip (ios_base::fmtflags __f, ios_base::fmtflags __m)
 
void operator() (ios_base &__ios) const
 

Public Attributes

ios_base::fmtflags _M_flag
 
ios_base::fmtflags _M_mask
 
bool _M_two_args
 

Detailed Description

Definition at line 49 of file _iomanip.h.

Constructor & Destructor Documentation

◆ _Ios_Setf_Manip() [1/2]

_Ios_Setf_Manip::_Ios_Setf_Manip ( ios_base::fmtflags  __f)
inline

Definition at line 54 of file _iomanip.h.

55  : _M_flag(__f), _M_mask(0), _M_two_args(false) {}
ios_base::fmtflags _M_mask
Definition: _iomanip.h:51
ios_base::fmtflags _M_flag
Definition: _iomanip.h:50
bool _M_two_args
Definition: _iomanip.h:52

◆ _Ios_Setf_Manip() [2/2]

_Ios_Setf_Manip::_Ios_Setf_Manip ( ios_base::fmtflags  __f,
ios_base::fmtflags  __m 
)
inline

Definition at line 57 of file _iomanip.h.

58  : _M_flag(__f), _M_mask(__m), _M_two_args(true) {}
ios_base::fmtflags _M_mask
Definition: _iomanip.h:51
ios_base::fmtflags _M_flag
Definition: _iomanip.h:50
bool _M_two_args
Definition: _iomanip.h:52

Member Function Documentation

◆ operator()()

void _Ios_Setf_Manip::operator() ( ios_base __ios) const
inline

Definition at line 60 of file _iomanip.h.

60  {
61  if (_M_two_args)
62  __ios.setf(_M_flag, _M_mask);
63  else
64  __ios.setf(_M_flag);
65  }
ios_base::fmtflags _M_mask
Definition: _iomanip.h:51
ios_base::fmtflags _M_flag
Definition: _iomanip.h:50
fmtflags setf(fmtflags __flag)
Definition: _ios_base.h:114
bool _M_two_args
Definition: _iomanip.h:52

Member Data Documentation

◆ _M_flag

ios_base::fmtflags _Ios_Setf_Manip::_M_flag

Definition at line 50 of file _iomanip.h.

Referenced by operator()().

◆ _M_mask

ios_base::fmtflags _Ios_Setf_Manip::_M_mask

Definition at line 51 of file _iomanip.h.

Referenced by operator()().

◆ _M_two_args

bool _Ios_Setf_Manip::_M_two_args

Definition at line 52 of file _iomanip.h.

Referenced by operator()().


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