Evolving surface finite element method
v0.3.0-14-g3598512
Numerical experiments for my papers
|
Wrapper class for a std::stream. More...
#include <io_errorStream.h>
Public Types | |
using | Basic_ostream = std::basic_ostream< char, std::char_traits< char > > |
Auxiliary typedef. | |
using | StdManip = Basic_ostream &(*)(Basic_ostream &) |
The type of std::endl, std::float, etc. | |
Public Member Functions | |
Error_stream (const Parameter &) | |
filename will be Io::Parameter::error_log | |
Error_stream (const std::string &suffix, const Parameter &) | |
filename will be Io::Parameter::error_log + suffix | |
Error_stream & | operator<< (StdManip) |
Now you can use std::endl, etc. | |
template<typename T > | |
Error_stream & | operator<< (const T &) |
Stream type T out. | |
Error_stream & | close () |
Close the stream. | |
Private Member Functions | |
Error_stream (const std::string &fname) | |
Constructor helper function. | |
Private Attributes | |
std::ofstream | ofs |
The actual stream implementation. | |
Wrapper class for a std::stream.
Definition at line 31 of file io_errorStream.h.