#include <fstream>
using namespace std;
-
+
class writeout
{
public:
writeout(const string& wdir, const string& signature,
const int& rank, const int& procs, const long& timestamp=0);
ostream *out;
+ ostream *log;
~writeout();
private:
ofstream of;
+ ofstream logf;
streambuf *buf;
+ streambuf *logbuf;
string fulldir;
char cRank[20];
string tstamp(const long& timestamp);
int numprocs;
string getdatfile();
+ string timestring();
};
#endif