X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=include%2Farray2dfile.h;h=79ae2f26f74b1ea476f82ea4bb3ab4cddfd50b1d;hb=4076fbc077adfd9ee610beef09b52d9e12c14abb;hp=e9d4ab257885e3b9d0395a9b9ed25d81c2855abb;hpb=9b2bb510160bdb56f04847f5b55ab61dd8a47976;p=ctsim.git diff --git a/include/array2dfile.h b/include/array2dfile.h index e9d4ab2..79ae2f2 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.15 2001/01/02 05:34:57 kevin Exp $ +** $Id: array2dfile.h,v 1.17 2001/01/02 07:47:36 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 @@ -90,6 +90,7 @@ public: void print (std::ostream& os) const; void printBrief (std::ostream& os) const; + void printBrief (std::ostringstream& os) const; Array2dFileLabel (const Array2dFileLabel& rhs); @@ -152,7 +153,7 @@ public: void labelAdd (int type, const char* const m_strLabel, double calc_time=0.); - void labelsCopy (Array2dFile& file, const char* const idStr = NULL); + void labelsCopy (const Array2dFile& file, const char* const idStr = NULL); void setPixelFormat (int type) { m_pixelFormat = type; } @@ -204,6 +205,7 @@ public: void printLabels (std::ostream& os) const; void printLabelsBrief (std::ostream& os) const; + void printLabelsBrief (std::ostringstream& os) const; unsigned int nLabels() const { return m_labels.size(); }