COPASI API  4.16.103
CFixLocalReactionParameters.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/xml/CFixLocalReactionParameters.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2008/03/12 00:34:41 $
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 COPASI_CFixLocalReactionParameters
15 #define COPASI_CFixLocalReactionParameters
16 
17 #include <map>
18 
19 class CModel;
20 class CCopasiParameter;
21 class CExpression;
22 
24  {
25  // Operations
26  public:
27  /**
28  * Constructor
29  */
31 
32  /**
33  * Constructor
34  */
36 
37  /**
38  * Check and fix the given model if needed
39  * @param CModel * pModel
40  */
41  void fixModel(CModel * pModel);
42 
43  private:
44  /**
45  * Checks whether the model needs to be fixed and builds
46  * the listed of needed changes
47  */
48  void checkModel();
49 
50  /**
51  * Change the model
52  */
53  void changeModel();
54 
55  // Attributes
56  private:
57  /**
58  * The model which needs to be fixed.
59  */
61 
62  /**
63  *
64  */
65  std::multimap< CCopasiParameter *, CExpression * > mChanges;
66  };
67 
68 #endif // COPASI_CFixLocalReactionParameters
std::multimap< CCopasiParameter *, CExpression * > mChanges
Definition: CModel.h:50