X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Farray2dfile.h;h=9ff8dca58196da35e9f3e7a13a3be0b38f583799;hb=1e88cf0f7fa4f690ea9f110e8ed3f2b5338d0a10;hp=05d7b851764a35c6cb54c10ab0cac15d6cefced6;hpb=949b7c917af311cd38f911bc5d0af36f524a6086;p=ctsim.git diff --git a/include/array2dfile.h b/include/array2dfile.h index 05d7b85..9ff8dca 100644 --- a/include/array2dfile.h +++ b/include/array2dfile.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: array2dfile.h,v 1.2 2000/06/27 10:48:11 kevin Exp $ +** $Id: array2dfile.h,v 1.4 2000/07/09 08:16:17 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -83,9 +83,11 @@ public: const string& getDateString () const; - // Array2dFileLabel (const Array2dFileLabel&); + void print (ostream& os) const; - // Array2dFileLabel& operator= (const Array2dFileLabel&); + Array2dFileLabel (const Array2dFileLabel& rhs); + + Array2dFileLabel& operator= (const Array2dFileLabel& rhs); private: void init (void); @@ -162,8 +164,12 @@ public: bool fileRead (const char* const filename); + bool fileRead (const string& filename); + bool fileWrite (const char* const filename); + bool fileWrite (const string& filename); + const string& getFilename (void) const { return m_filename; }