COPASI API  4.16.103
Public Member Functions | Private Attributes | List of all members
CMiaseTask Class Reference

#include <CMiaseTask.h>

Inheritance diagram for CMiaseTask:
Inheritance graph
[legend]
Collaboration diagram for CMiaseTask:
Collaboration graph
[legend]

Public Member Functions

void addMeasurement (CMiaseMeasurementData *measurement)
 
 CMiaseTask ()
 
CMiaseMeasurementDatagetLastMeasurement ()
 
CMiaseMeasurementDatagetMeasurement (int num)
 
std::string getModelReference ()
 
int getNumberOfMeasurements ()
 
std::string getSimulationReference ()
 
void setModelReference (std::string model)
 
void setSimulationReference (std::string simulation)
 
 ~CMiaseTask ()
 
- Public Member Functions inherited from CMiaseBaseEnhanced
 CMiaseBaseEnhanced ()
 
std::string getId ()
 
std::string getName ()
 
void setId (std::string id)
 
void setName (std::string name)
 
 ~CMiaseBaseEnhanced ()
 
- Public Member Functions inherited from CMiaseBase
void addAnnotation (CMiaseAnnotation *ann)
 
void addNotes (CMiaseNotes *notes)
 
 CMiaseBase ()
 
CMiaseAnnotationgetAnnotation ()
 
std::string getMetaId ()
 
CMiaseNotesgetNotes ()
 
void setAnyNote (std::string anyAnnotation)
 
void setMetaId (std::string metaId)
 
void setXmlNs (std::string xmlNs)
 
 ~CMiaseBase ()
 

Private Attributes

std::vector
< CMiaseMeasurementData * > 
mListOfMeasurements
 
std::string mModelReference
 
std::string mSimulationReference
 

Detailed Description

Definition at line 42 of file CMiaseTask.h.

Constructor & Destructor Documentation

CMiaseTask::CMiaseTask ( )

Definition at line 44 of file CMiaseTask.cpp.

45 {}
CMiaseTask::~CMiaseTask ( )

Definition at line 47 of file CMiaseTask.cpp.

48 {
49  //TODO:
50  //delete content of following vector: mListOfMeasurements
51 }

Member Function Documentation

void CMiaseTask::addMeasurement ( CMiaseMeasurementData measurement)

Definition at line 53 of file CMiaseTask.cpp.

References mListOfMeasurements.

Referenced by CMiaseParser::newMeasurementData().

54 {
55  mListOfMeasurements.push_back(measurement);
56 }
std::vector< CMiaseMeasurementData * > mListOfMeasurements
Definition: CMiaseTask.h:70
CMiaseMeasurementData * CMiaseTask::getLastMeasurement ( )

Definition at line 68 of file CMiaseTask.cpp.

References mListOfMeasurements.

Referenced by CMiaseParser::getLastObj(), CMiaseParser::newAnnotation(), CMiaseParser::newMeasurementData(), and CMiaseParser::newNotes().

69 {
70  return mListOfMeasurements[ mListOfMeasurements.size() - 1];
71 }
std::vector< CMiaseMeasurementData * > mListOfMeasurements
Definition: CMiaseTask.h:70
CMiaseMeasurementData * CMiaseTask::getMeasurement ( int  num)

Definition at line 58 of file CMiaseTask.cpp.

References mListOfMeasurements.

Referenced by CMiaseParser::testDataStructure().

59 {
60  return mListOfMeasurements[ num ];
61 }
std::vector< CMiaseMeasurementData * > mListOfMeasurements
Definition: CMiaseTask.h:70
std::string CMiaseTask::getModelReference ( )

Definition at line 83 of file CMiaseTask.cpp.

References mModelReference.

84 {
86 }
std::string mModelReference
Definition: CMiaseTask.h:67
int CMiaseTask::getNumberOfMeasurements ( )

Definition at line 63 of file CMiaseTask.cpp.

References mListOfMeasurements.

Referenced by CMiaseParser::testDataStructure().

64 {
65  return mListOfMeasurements.size();
66 }
std::vector< CMiaseMeasurementData * > mListOfMeasurements
Definition: CMiaseTask.h:70
std::string CMiaseTask::getSimulationReference ( )

Definition at line 88 of file CMiaseTask.cpp.

References mSimulationReference.

89 {
91 }
std::string mSimulationReference
Definition: CMiaseTask.h:68
void CMiaseTask::setModelReference ( std::string  model)

Definition at line 73 of file CMiaseTask.cpp.

References mModelReference.

Referenced by CMiaseParser::newTask().

74 {
75  mModelReference = model;
76 }
std::string mModelReference
Definition: CMiaseTask.h:67
void CMiaseTask::setSimulationReference ( std::string  simulation)

Definition at line 78 of file CMiaseTask.cpp.

References mSimulationReference.

Referenced by CMiaseParser::newTask().

79 {
80  mSimulationReference = simulation;
81 }
std::string mSimulationReference
Definition: CMiaseTask.h:68

Member Data Documentation

std::vector< CMiaseMeasurementData* > CMiaseTask::mListOfMeasurements
private
std::string CMiaseTask::mModelReference
private

Definition at line 67 of file CMiaseTask.h.

Referenced by getModelReference(), and setModelReference().

std::string CMiaseTask::mSimulationReference
private

Definition at line 68 of file CMiaseTask.h.

Referenced by getSimulationReference(), and setSimulationReference().


The documentation for this class was generated from the following files: