Go to the documentation of this file.
22 #ifndef __IOstream_hpp__
23 #define __IOstream_hpp__
131 virtual bool check(
const char* operation)
const;
164 return ioState_ & (ios_base::badbit | ios_base::failbit);
174 explicit operator bool()
const
208 virtual ios_base::fmtflags
flags()
const = 0;
244 virtual ios_base::fmtflags
flags(
const ios_base::fmtflags f) = 0;
247 ios_base::fmtflags
setf(
const ios_base::fmtflags f)
253 ios_base::fmtflags
setf
255 const ios_base::fmtflags f,
256 const ios_base::fmtflags mask
309 #endif // __IOstream__hpp__
static unsigned int defaultPrecision()
IOstream & fixed(IOstream &io)
IOstream & dec(IOstream &io)
IOstream & scientific(IOstream &io)
IOstream & hex(IOstream &io)
static unsigned int precision_
virtual bool check(const char *operation) const
static unsigned int defaultPrecision(unsigned int prec)
virtual ios_base::fmtflags flags() const =0
bool fatalCheck(const char *operation) const
virtual const word & name() const
virtual ~IOstream()=default
void setState(ios_base::iostate state)
ios_base::fmtflags setf(const ios_base::fmtflags f)
IOstream & oct(IOstream &io)
void unsetf(const ios_base::fmtflags f)
ios_base::iostate ioState_
@ CLOSED
stream is not open
int32 lineNumber(const int32 num)