This class prints to a file with a given base name. More...
#include <AMReX_Print.H>
Public Member Functions | |
PrintToFile (std::string file_name_) | |
PrintToFile (std::string file_name_, int rank_) | |
PrintToFile (std::string file_name_, int rank_, MPI_Comm comm_) | |
~PrintToFile () | |
PrintToFile (PrintToFile const &)=delete | |
PrintToFile (PrintToFile &&)=delete | |
PrintToFile & | operator= (PrintToFile const &)=delete |
PrintToFile & | operator= (PrintToFile &&)=delete |
PrintToFile & | SetPrecision (int p) |
template<typename T > | |
PrintToFile & | operator<< (const T &x) |
PrintToFile & | operator<< (std::basic_ostream< char, std::char_traits< char > > &(*func)(std::basic_ostream< char, std::char_traits< char > > &)) |
Static Public Attributes | |
static constexpr int | AllProcs = -1 |
Private Member Functions | |
void | Initialize () |
Private Attributes | |
std::string | file_name |
int | rank |
MPI_Comm | comm |
std::ofstream | ofs |
std::ostringstream | ss |
This class prints to a file with a given base name.
|
inlineexplicit |
|
inline |
|
inline |
|
delete |
|
delete |
|
inlineprivate |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
staticconstexpr |
|
private |
|
private |
|
private |
|
private |
|
private |