** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: plotfile.cpp,v 1.8 2001/01/02 05:34:57 kevin Exp $
+** $Id: plotfile.cpp,v 1.9 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
fs.seekp (0);
fs << m_iNumColumns << " " << m_iNumRecords << "\n";\r
\r
- int i;
+ unsigned int i;
for (i = 0; i < m_vecStrEzsetCommands.size(); i++)\r
fs << m_vecStrEzsetCommands[i] << "\n";\r
\r
for (unsigned int iDesc = 0; iDesc < m_vecStrDescriptions.size(); iDesc++)\r
os << m_vecStrDescriptions[iDesc] << "\n";
}
+
+void
+PlotFile::printHeaders (std::ostringstream& os) const
+{\r
+ os << "EZSet Commands\n";\r
+ for (unsigned int iEZ = 0; iEZ < m_vecStrEzsetCommands.size(); iEZ++)\r
+ os << m_vecStrEzsetCommands[iEZ] << "\n";\r
+\r
+ os << "Descriptions\n";\r
+ for (unsigned int iDesc = 0; iDesc < m_vecStrDescriptions.size(); iDesc++)\r
+ os << m_vecStrDescriptions[iDesc] << "\n";
+}