X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Farray2dfile.cpp;h=0ed6354454b0a2386cbd9142fd9e64a6834c3968;hb=6850134e4711a842cc7c0a306a9e4243df06b952;hp=03a5f1afdf0424fb3b66584ba1d808e3f5aad6f0;hpb=931ea35fdc3a7e463602644e6938730556bf92a7;p=ctsim.git diff --git a/libctsim/array2dfile.cpp b/libctsim/array2dfile.cpp index 03a5f1a..0ed6354 100644 --- a/libctsim/array2dfile.cpp +++ b/libctsim/array2dfile.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: array2dfile.cpp,v 1.4 2000/06/29 12:39:46 kevin Exp $ +** $Id: array2dfile.cpp,v 1.5 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 @@ -240,6 +240,12 @@ Array2dFile::freeArray (void) } } +bool +Array2dFile::fileWrite (const string& filename) +{ + return fileWrite (filename.c_str()); +} + bool Array2dFile::fileWrite (const char* const filename) { @@ -262,6 +268,12 @@ Array2dFile::fileWrite (const char* const filename) return true; } +bool +Array2dFile::fileRead (const string& filename) +{ + return fileRead (filename.c_str()); +} + bool Array2dFile::fileRead (const char* const filename) {