From d84bb72f07d4bbefbdc1462330eae0e2d1baacbb Mon Sep 17 00:00:00 2001 From: Christian Beckmann <c.beckmann@donders.ru.nl> Date: Mon, 29 Apr 2002 13:28:36 +0000 Subject: [PATCH] *** empty log message *** --- Log.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Log.h b/Log.h index f82b6d9..305fc39 100644 --- a/Log.h +++ b/Log.h @@ -43,7 +43,7 @@ namespace Utilities{ void out(const string& p_fname, const ColumnVector& p_mat, const string& plogfilename = "logfile"); static int counter() { return count++; } - ofstream& str(); + ofstream& str(const string& plogfilename = "logfile"); private: Log():logEstablished(false) {} @@ -60,7 +60,7 @@ namespace Utilities{ bool logEstablished; }; - inline void Log::out(const string& p_fname, const Matrix& p_mat) + inline void Log::out(const string& p_fname, const Matrix& p_mat, const string& plogfilename) { if(!logEstablished) @@ -85,7 +85,7 @@ namespace Utilities{ out.close(); } - inline void Log::out(const string& p_fname, const ColumnVector& p_mat) + inline void Log::out(const string& p_fname, const ColumnVector& p_mat, const string& plogfilename) { if(!logEstablished) { @@ -105,7 +105,7 @@ namespace Utilities{ out.close(); } - inline void Log::out(const string& p_fname, const RowVector& p_mat) + inline void Log::out(const string& p_fname, const RowVector& p_mat, const string& plogfilename) { if(!logEstablished) @@ -133,7 +133,7 @@ namespace Utilities{ return *logger; } - inline ofstream& Log::str() { + inline ofstream& Log::str(const string& plogfilename) { if(!logEstablished) { -- GitLab