COPASI API  4.16.103
CMoietiesMethod.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/moieties/CMoietiesMethod.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2008/03/12 02:12:24 $
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_CMoietiesMethod
15 #define COPASI_CMoietiesMethod
16 
18 
19 class CProcessReport;
20 class CMoietiesProblem;
21 
23  {
24  private:
25  /**
26  * Default constructor
27  */
29 
30  protected:
31  /**
32  * Specific constructor
33  * @param const CCopasiTask::Type & type
34  * @param const CCopasiMethod::SubType & subType
35  * @param const CCopasiContainer * pParent (default: NULL)
36  */
37  CMoietiesMethod(const CCopasiTask::Type & taskType,
38  const SubType & subType,
39  const CCopasiContainer * pParent = NULL);
40 
41  public:
42  /**
43  * Create a trajectory method for a special problem.
44  * Note: the returned object has to be released after use with delete
45  * a problem is also passed so that the method has a chance to choose an
46  * appropriate simulation method.
47  * @param const CCopasiMethod::SubType & subType (default: CCopasiMethod::Householder)
48  * @return CMoietiesMethod *
49  */
50  static
52 
53  /**
54  * Copy constructor
55  * @param const CMoietiesMethod & src
56  * @param const CCopasiContainer * pParent (default: NULL)
57  */
58  CMoietiesMethod(const CMoietiesMethod & src,
59  const CCopasiContainer * pParent = NULL);
60 
61  /**
62  * Destructor
63  */
64  virtual ~CMoietiesMethod();
65 
66  /**
67  * Determine the independent metabolites.
68  */
69  virtual bool process();
70 
71  /**
72  * Set the problem
73  * @param CMoietiesProblem * pProblem
74  */
75  void setProblem(CMoietiesProblem * pProblem);
76 
77  // Attributes
78  protected:
79  /**
80  * The problem to be processed
81  */
83  };
84 
85 #endif // COPASI_CMoietiesMethod
virtual bool process()
void setProblem(CMoietiesProblem *pProblem)
CMoietiesProblem * mpProblem
static CMoietiesMethod * createMethod(const CCopasiMethod::SubType &subType=CCopasiMethod::Householder)
virtual ~CMoietiesMethod()