Proto
Proto_parstream.H
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _PARSTREAM_H_
12 #define _PARSTREAM_H_
13 
14 #include <iostream>
15 #include <iomanip>
16 #include <string>
17 #include <cstdio>
18 #include <fstream>
19 #include "Proto_SPMD.H"
20 namespace Proto
21 {
22 using std::setprecision;
23 using std::setiosflags;
24 using std::endl;
25 using std::ios;
26 
28 
40 inline std::ostream& pout();
41 
43 
49 inline void setPoutBaseName(const std::string & a_Name);
50 
52 
59 inline const std::string & poutFileName();
60 
61 #include "implem/Proto_parstreamImplem.H"
62 }
63 #endif // _PARSTREAM_H_
const std::string & poutFileName()
Accesses the filename for the local pout() file.
Definition: Proto_parstream.H:177
void setPoutBaseName(const std::string &a_Name)
Changes the base part of the filename for pout() files.
Definition: Proto_parstream.H:155
std::ostream & pout()
Use this in place of std::cout for program output.
Definition: Proto_parstream.H:109
Definition: Proto_Box.H:11