X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Farray2dfile.h;h=9ff8dca58196da35e9f3e7a13a3be0b38f583799;hb=e4c1f7f8eb87558c3abf3bf1d20732361f425351;hp=da4671e859517b754fba299805a1cb4a3faf6013;hpb=2f3d6e2580db607105bb072b13e4aff453ae4495;p=ctsim.git diff --git a/include/array2dfile.h b/include/array2dfile.h index da4671e..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.1 2000/06/26 21:15:24 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 @@ -62,6 +62,12 @@ public: kfloat64 getCalcTime (void) const { return m_calcTime; } + void setCalcTime (kfloat64 calcTime) + { m_calcTime = calcTime; } + + void setLabelType (int labelType) + { m_labelType = labelType; } + int getLabelType (void) const { return m_labelType; } @@ -77,9 +83,11 @@ public: const string& getDateString () const; - // Array2dFileLabel (const Array2dFileLabel&); + void print (ostream& os) const; + + Array2dFileLabel (const Array2dFileLabel& rhs); - // Array2dFileLabel& operator= (const Array2dFileLabel&); + Array2dFileLabel& operator= (const Array2dFileLabel& rhs); private: void init (void); @@ -156,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; }