X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsupport%2Fplotfile.cpp;h=81682b9187488e1e41dd5bc91ce323a7e7c023bd;hb=ca7c001fce978b680543f8338a404b8c0701a935;hp=b7e1d57584ec6d6942d00ca6fbd3f86d21e29c37;hpb=c00c639073653fac7463a88f2b000f263236550d;p=ctsim.git diff --git a/libctsupport/plotfile.cpp b/libctsupport/plotfile.cpp index b7e1d57..81682b9 100644 --- a/libctsupport/plotfile.cpp +++ b/libctsupport/plotfile.cpp @@ -7,9 +7,9 @@ ** Date Started: Dec 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: plotfile.cpp,v 1.10 2001/01/02 16:02:13 kevin Exp $ +** $Id: plotfile.cpp,v 1.12 2001/01/28 19:10:18 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"; +}