COPASI API  4.16.103
CSimSummaryInfo.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layoutUI/CSimSummaryInfo.h,v $
3 // $Revision: 1.4 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/03/07 19:29:16 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 - 2010 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 #ifndef CSIMSUMMARYINFO_H_
19 #define CSIMSUMMARYINFO_H_
20 
21 #include <string>
22 #include <map>
23 
24 #include "copasi.h"
25 
27 {
28 private:
33 
34  std::map<std::string, C_FLOAT64> minMap; // contains the minimum value for each reactant
35  std::map<std::string, C_FLOAT64> maxMap; // contains the maximum value for each reactant
36 
37 public:
39  CSimSummaryInfo(size_t steps, size_t numReactants, C_FLOAT32 time);
40 
41  C_FLOAT64 getTotalTime() {return this->mTotalTime;}
42  size_t getNumberOfSteps() {return this->mNumberOfSteps;}
43  size_t getNumberOfReactants() {return this->mNumberOfReactants;}
44 
48 
49  void storeMax(std::string ndKey, C_FLOAT64 maxR);
50  void storeMin(std::string ndKey, C_FLOAT64 minR);
51 
52  C_FLOAT64 getMaxForSpecies(std::string ndKey);
53  C_FLOAT64 getMinForSpecies(std::string ndKey);
54 
55  friend std::ostream & operator<<(std::ostream &os, const CSimSummaryInfo & inf);
56 };
57 
58 #endif
size_t getNumberOfSteps()
std::map< std::string, C_FLOAT64 > maxMap
C_FLOAT64 getMinOverallConcentration()
void storeMin(std::string ndKey, C_FLOAT64 minR)
void storeMax(std::string ndKey, C_FLOAT64 maxR)
C_FLOAT64 getMinForSpecies(std::string ndKey)
C_FLOAT64 getMaxOverallConcentration()
C_FLOAT64 getMaxForSpecies(std::string ndKey)
size_t getNumberOfReactants()
C_FLOAT64 getTotalTime()
#define C_FLOAT64
Definition: copasi.h:92
friend std::ostream & operator<<(std::ostream &os, const CSimSummaryInfo &inf)
C_FLOAT64 mTotalTime
size_t mNumberOfReactants
std::map< std::string, C_FLOAT64 > minMap
void setMaxOverallConcentration(C_FLOAT64 max)
#define C_FLOAT32
Definition: copasi.h:93
C_FLOAT64 mMaxOverallConcentration
#define max(a, b)
Definition: f2c.h:176