COPASI API  4.16.103
CMiaseTask.cpp
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/miase/CMiaseTask.cpp,v $
3 // $Revision: 1.6 $
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 #include "CMiaseTask.h"
15 
17 {}
18 
20 {}
21 
23 {
24  return mSource;
25 }
26 
28 {
29  return mName;
30 }
31 
32 void CMiaseMeasurementData::setSource(std::string source)
33 {
34  mSource = source;
35 }
36 
37 void CMiaseMeasurementData::setName(std::string name)
38 {
39  mName = name;
40 }
41 
42 //*****************************************************************************
43 
45 {}
46 
48 {
49  //TODO:
50  //delete content of following vector: mListOfMeasurements
51 }
52 
54 {
55  mListOfMeasurements.push_back(measurement);
56 }
57 
59 {
60  return mListOfMeasurements[ num ];
61 }
62 
64 {
65  return mListOfMeasurements.size();
66 }
67 
69 {
70  return mListOfMeasurements[ mListOfMeasurements.size() - 1];
71 }
72 
73 void CMiaseTask::setModelReference (std::string model)
74 {
75  mModelReference = model;
76 }
77 
78 void CMiaseTask::setSimulationReference (std::string simulation)
79 {
80  mSimulationReference = simulation;
81 }
82 
84 {
86 }
87 
89 {
91 }
CMiaseMeasurementData * getMeasurement(int num)
Definition: CMiaseTask.cpp:58
void setName(std::string name)
Definition: CMiaseTask.cpp:37
void setSource(std::string source)
Definition: CMiaseTask.cpp:32
CMiaseMeasurementData * getLastMeasurement()
Definition: CMiaseTask.cpp:68
int getNumberOfMeasurements()
Definition: CMiaseTask.cpp:63
void setSimulationReference(std::string simulation)
Definition: CMiaseTask.cpp:78
void addMeasurement(CMiaseMeasurementData *measurement)
Definition: CMiaseTask.cpp:53
std::string mSimulationReference
Definition: CMiaseTask.h:68
std::vector< CMiaseMeasurementData * > mListOfMeasurements
Definition: CMiaseTask.h:70
void setModelReference(std::string model)
Definition: CMiaseTask.cpp:73
std::string getModelReference()
Definition: CMiaseTask.cpp:83
std::string getSource()
Definition: CMiaseTask.cpp:22
std::string getName()
Definition: CMiaseTask.cpp:27
std::string mName
Definition: CMiaseTask.h:39
std::string mSource
Definition: CMiaseTask.h:38
std::string mModelReference
Definition: CMiaseTask.h:67
std::string getSimulationReference()
Definition: CMiaseTask.cpp:88