projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r307: additions for plotfile
[ctsim.git]
/
include
/
plotfile.h
diff --git
a/include/plotfile.h
b/include/plotfile.h
index 35c7f9ff9a15a95555205d9e88fa4da8e3586bc3..af627b4ed82414927c7b1e8ddb32147e90f0811c 100644
(file)
--- 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
**
** 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
**
** 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 std::string& title)
{ m_strTitle = title; }
+
\r
+ void setTitle (const char* const title)
\r
+ { m_strTitle = title; }
\r
void setXLabel (const std::string& label)
{ m_strXLabel = label; }
void setXLabel (const std::string& label)
{ m_strXLabel = label; }
+
\r
+ void setXLabel (const char* const label)
\r
+ { m_strXLabel = label; }
\r
void setYLabel (const std::string& label)
{ m_strYLabel = label; }
void setYLabel (const std::string& label)
{ m_strYLabel = label; }
+ void setYLabel (const char* const label)
\r
+ { m_strYLabel = label; }
\r
+
\r
void setCurveSize (int iNCurves, int iNRecords);
void addDescription (const char* const pszDesc)
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);
\r
\r
bool addColumn (int iCol, const float* const pdColumn);
\r
\r
+ void getColumn (int iCol, double *pdColumnData) const;
\r
+
\r
const std::string& getTitle () const
{ return m_strTitle; }
const std::string& getTitle () const
{ return m_strTitle; }
@@
-118,7
+129,7
@@
public:
const std::string& getYLabel () const
{ return m_strXLabel; }
const std::string& getYLabel () const
{ return m_strXLabel; }
- const std::string& getDat
a
() const
+ const std::string& getDat
e
() const
{ return m_strDate; }
int getNumColumns () const
{ return m_strDate; }
int getNumColumns () const