X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fplotfile.h;h=af627b4ed82414927c7b1e8ddb32147e90f0811c;hp=35c7f9ff9a15a95555205d9e88fa4da8e3586bc3;hb=739e435359d44546dd812fff8c86b815a214d587;hpb=89997e727ff5d4d8828f6fdaee435d809b623ffe diff --git a/include/plotfile.h b/include/plotfile.h index 35c7f9f..af627b4 100644 --- a/include/plotfile.h +++ b/include/plotfile.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: plotfile.h,v 1.1 2000/12/19 21:37:10 kevin Exp $ +** $Id: plotfile.h,v 1.2 2000/12/20 14:39:09 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 @@ -93,13 +93,22 @@ public: void setTitle (const std::string& title) { m_strTitle = title; } + + void setTitle (const char* const title) + { m_strTitle = title; } void setXLabel (const std::string& label) { m_strXLabel = label; } + + void setXLabel (const char* const label) + { m_strXLabel = label; } void setYLabel (const std::string& label) { m_strYLabel = label; } + void setYLabel (const char* const label) + { m_strYLabel = label; } + void setCurveSize (int iNCurves, int iNRecords); void addDescription (const char* const pszDesc) @@ -109,6 +118,8 @@ public: bool addColumn (int iCol, const float* const pdColumn); + void getColumn (int iCol, double *pdColumnData) const; + const std::string& getTitle () const { return m_strTitle; } @@ -118,7 +129,7 @@ public: const std::string& getYLabel () const { return m_strXLabel; } - const std::string& getData () const + const std::string& getDate () const { return m_strDate; } int getNumColumns () const