35 #ifndef Foam_IOmanip_H 36 #define Foam_IOmanip_H 48 template<
class T>
class Smanip;
49 template<
class T>
class Imanip;
50 template<
class T>
class Omanip;
56 inline Ostream& operator<<(Ostream& os, const Smanip<T>& m);
62 inline Ostream& operator<<(Ostream& os, const Omanip<T>& m);
90 inline Istream&
operator>>(Istream& is,
const Smanip<T>& m)
98 inline Ostream& operator<<(Ostream& os, const Smanip<T>& m)
113 T (Istream::*_fPtr)(
const T);
144 T (Ostream::*_fPtr)(
const T);
160 inline Ostream& operator<<(Ostream& os, const Omanip<T>& m)
181 inline Omanip<IOstreamOption::streamFormat>
setformat 190 inline Omanip<IOstreamOption::versionNumber>
setversion Omanip< char > setfill(char fillch)
Imanip(T(Istream::*fPtr)(const T), const T i)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
std::ios_base::fmtflags setf(std::ios_base::fmtflags f)
Set stream flag(s), return old stream flags.
Omanip< IOstreamOption::streamFormat > setformat(const IOstreamOption::streamFormat fmt)
Smanip(T(IOstream::*fPtr)(const T), const T i)
Omanip< int > setprecision(const int i)
An Istream manipulator taking arguments.
Istream & operator>>(Istream &, directionInfo &)
Omanip< IOstreamOption::versionNumber > setversion(const IOstreamOption::versionNumber ver)
Omanip(T(Ostream::*fPtr)(const T), const T i)
Representation of a major/minor version number.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual int width() const =0
Get width of output field.
Smanip< std::ios_base::fmtflags > setf(std::ios_base::fmtflags flags)
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual char fill() const =0
Get padding character.
An IOstream is an abstract base class for all input/output systems; be they streams, files, token lists etc.
versionNumber version() const noexcept
Get the stream version.
streamFormat
Data format (ascii | binary)
Omanip< int > setw(const int i)
streamFormat format() const noexcept
Get the current stream format.
An IOstream manipulator taking arguments.
virtual int precision() const =0
Get precision of output field.
An Ostream manipulator taking arguments.