X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Farray2dfile.h;h=e9d4ab257885e3b9d0395a9b9ed25d81c2855abb;hp=22e8b6173401fe6ed3d2dec6dccc4c2211e65af5;hb=9b2bb510160bdb56f04847f5b55ab61dd8a47976;hpb=9f7d379c2b03f3c09907cfd885072433e0428042 diff --git a/include/array2dfile.h b/include/array2dfile.h index 22e8b61..e9d4ab2 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.14 2001/01/01 10:14:34 kevin Exp $ +** $Id: array2dfile.h,v 1.15 2001/01/02 05:34:57 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 @@ -89,6 +89,7 @@ public: const std::string& getDateString () const; void print (std::ostream& os) const; + void printBrief (std::ostream& os) const; Array2dFileLabel (const Array2dFileLabel& rhs); @@ -201,7 +202,11 @@ public: const std::string& getFilename (void) const { return m_filename; } - void printLabels (std::ostream& os) const; + void printLabels (std::ostream& os) const; + void printLabelsBrief (std::ostream& os) const; + + unsigned int nLabels() const + { return m_labels.size(); } typedef std::vector::iterator labelIterator; typedef std::vector::const_iterator constLabelIterator;