COPASI API  4.16.103
CMiaseOutput.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/miase/CMiaseOutput.h,v $
3 // $Revision: 1.5 $
4 // $Name: $
5 // $Author: akoenig $
6 // $Date: 2008/04/02 12:14:39 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 #ifndef CMIASEOUTPUT
15 #define CMIASEOUTPUT
16 
17 #include "CMiaseBase.h"
18 #include <string>
19 
20 class CMiaseColumn : public CMiaseBase
21  {
22 
23  public:
24 
25  CMiaseColumn();
26 
27  ~CMiaseColumn();
28 
29  std::string getId();
30  std::string getName();
31 
32  void setId(std::string id);
33  void setName(std::string name);
34 
35  private:
36 
37  std::string mId;
38  std::string mName;
39  };
40 
41 class CMiasePlot2D : public CMiaseBase
42  {
43 
44  public:
45 
46  CMiasePlot2D();
47 
48  ~CMiasePlot2D();
49 
50  std::string getId();
51  std::string getName();
52  std::string getXData();
53  std::string getVData();
54 
55  void setId(std::string id);
56  void setName(std::string name);
57  void setXData(std::string xData);
58  void setVData(std::string vData);
59 
60  private:
61 
62  std::string mId;
63  std::string mName;
64  std::string mXData;
65  std::string mVData;
66  };
67 
69  {
70 
71  public:
72 
73  CMiaseOutput();
74 
75  ~CMiaseOutput();
76 
77  void addColumn (CMiaseColumn* column);
78  void addPlot2D (CMiasePlot2D* plot);
79 
80  CMiaseColumn* getColumn(int num);
82 
83  CMiasePlot2D* getPlot2D(int num);
85 
86  void saveWholeOutput(std::string output);
87  std::string getWholeOutput();
88 
89  private:
90 
91  std::vector < CMiaseColumn* > mListOfColumns;
92  std::vector < CMiasePlot2D* > mListOfPlots;
93  std::string mWholeOutput;
94  };
95 
96 #endif //CMIASEOUTPUT
std::vector< CMiaseColumn * > mListOfColumns
Definition: CMiaseOutput.h:91
void setId(std::string id)
std::string mXData
Definition: CMiaseOutput.h:64
std::vector< CMiasePlot2D * > mListOfPlots
Definition: CMiaseOutput.h:92
void setId(std::string id)
void setVData(std::string vData)
std::string getName()
std::string getId()
CMiasePlot2D * getPlot2D(int num)
std::string getId()
CMiaseColumn * getLastColumn()
std::string getXData()
std::string getVData()
std::string mName
Definition: CMiaseOutput.h:38
std::string getWholeOutput()
std::string mId
Definition: CMiaseOutput.h:62
void addColumn(CMiaseColumn *column)
std::string mName
Definition: CMiaseOutput.h:63
void saveWholeOutput(std::string output)
CMiasePlot2D * getLastPlot2D()
void setXData(std::string xData)
std::string mVData
Definition: CMiaseOutput.h:65
void addPlot2D(CMiasePlot2D *plot)
void setName(std::string name)
std::string getName()
std::string mWholeOutput
Definition: CMiaseOutput.h:93
CMiaseColumn * getColumn(int num)
void setName(std::string name)
std::string mId
Definition: CMiaseOutput.h:37