Evolving surface finite element method  v0.3.0-14-g3598512
Numerical experiments for my papers
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Esfem::Io::Error_stream Class Reference

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_streamoperator<< (StdManip)
 Now you can use std::endl, etc.
 
template<typename T >
Error_streamoperator<< (const T &)
 Stream type T out.
 
Error_streamclose ()
 Close the stream.
 

Private Member Functions

 Error_stream (const std::string &fname)
 Constructor helper function.
 

Private Attributes

std::ofstream ofs
 The actual stream implementation.
 

Detailed Description

Wrapper class for a std::stream.

Definition at line 31 of file io_errorStream.h.


The documentation for this class was generated from the following files: