X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsupport%2Fplotfile.cpp;h=ef492d64d47a06f7b6761cbff812d093ad772ef9;hp=b7e1d57584ec6d6942d00ca6fbd3f86d21e29c37;hb=acd157c5e61e2eeba8308a49b4d7fc4a4aba9a84;hpb=e9c20d8b9cf2a0f49d0086e50bd6a4eb2c6c2dac diff --git a/libctsupport/plotfile.cpp b/libctsupport/plotfile.cpp index b7e1d57..ef492d6 100644 --- a/libctsupport/plotfile.cpp +++ b/libctsupport/plotfile.cpp @@ -9,7 +9,7 @@ ** 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 @@ -359,3 +359,31 @@ PlotFile::printHeaders (std::ostringstream& os) const 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"; +}