** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: plotfile.cpp,v 1.10 2001/01/02 16:02:13 kevin Exp $
+** $Id: plotfile.cpp,v 1.11 2001/01/07 22:53: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
for (unsigned int iDesc = 0; iDesc < m_vecStrDescriptions.size(); iDesc++)
os << m_vecStrDescriptions[iDesc] << "\n";
}
+
+void
+PlotFile::printHeadersBrief (std::ostream& os) const
+{
+ os << "EZSet Commands\n";
+ for (unsigned int iEZ = 0; iEZ < m_vecStrEzsetCommands.size(); iEZ++)
+ os << m_vecStrEzsetCommands[iEZ] << "; ";
+ if (m_vecStrEzsetCommands.size() > 0)
+ os << "\n";
+
+ os << "Descriptions\n";
+ for (unsigned int iDesc = 0; iDesc < m_vecStrDescriptions.size(); iDesc++)
+ os << m_vecStrDescriptions[iDesc] << "\n";
+}
+
+void
+PlotFile::printHeadersBrief (std::ostringstream& os) const
+{
+ os << "EZSet Commands\n";
+ for (unsigned int iEZ = 0; iEZ < m_vecStrEzsetCommands.size(); iEZ++)
+ os << m_vecStrEzsetCommands[iEZ] << "; ";
+ if (m_vecStrEzsetCommands.size() > 0)
+ os << "\n";
+
+ os << "Descriptions\n";
+ for (unsigned int iDesc = 0; iDesc < m_vecStrDescriptions.size(); iDesc++)
+ os << m_vecStrDescriptions[iDesc] << "\n";
+}