COPASI API  4.16.103
CCrossSectionMethod.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/crosssection/CCrossSectionMethod.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: ssahle $
6 // $Date: 2010/05/24 12:45:49 $
7 // End CVS Header
8 
9 // Copyright (C) 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 #ifndef CCROSSSECTIONMETHOD_H
15 #define CCROSSSECTIONMETHOD_H
16 
18 
20 
22 {
23 private:
24  /**
25  * Default constructor.
26  */
28 
29 protected:
30  /**
31  * Specific constructor.
32  * @param CCopasiMethod::SubType subType
33  * @param const CCopasiContainer * pParent (default: NULL)
34  */
36  const CCopasiContainer * pParent = NULL);
37 
38 public:
39  /**
40  * Create a cross section method.
41  * Note: the returned object has to be released after use with delete
42  */
43  static CCrossSectionMethod *
46 
47  /**
48  * Copy constructor.
49  * @param "const CCrossSectionMethod &" src
50  * @param const CCopasiContainer * pParent (default: NULL)
51  */
53  const CCopasiContainer * pParent = NULL);
54 
55  /**
56  * Destructor.
57  */
59 
60  /**
61  */
62  bool process(CProcessReport * handler);
63 
64  /**
65  * initializes the subtask, creates the internal data structures of the method
66  * resizes the result arrays and creates the array annotations
67  */
68  bool initialize(CCrossSectionProblem* problem);
69 
70  /**
71  * Check if the method is suitable for this problem
72  * @return bool suitability of the method
73  */
74  virtual bool isValidProblem(const CCopasiProblem * pProblem);
75 };
76 
77 #endif // CCROSSSECTIONMETHOD_H
virtual bool isValidProblem(const CCopasiProblem *pProblem)
bool initialize(CCrossSectionProblem *problem)
bool process(CProcessReport *handler)
static CCrossSectionMethod * createCrossSectionMethod(CCopasiMethod::SubType subType=CCopasiMethod::crossSectionMethod)