COPASI API  4.16.103
CEvaluationNodeWhiteSpace.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/function/CEvaluationNodeWhiteSpace.h,v $
3  $Revision: 1.4 $
4  $Name: $
5  $Author: gauges $
6  $Date: 2009/02/19 15:38:50 $
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 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 #ifndef COPASI_CEvaluationNodeWhiteSpace
19 #define COPASI_CEvaluationNodeWhiteSpace
20 
21 class ASTNode;
22 class CCopasiDataModel;
23 
24 /**
25  * This is class for nodes presenting numbers used in an evaluation trees
26  */
28  {
29  public:
30  /**
31  * Enumeration of possible node types.
32  */
33  enum SubType
34  {
35  INVALID = 0x00FFFFFF,
36  ANY = 0x00000000
37  };
38 
39  // Operations
40  private:
41  /**
42  * Default constructor
43  */
45 
46  public:
47  /**
48  * Default constructor
49  * @param const SubType & subType
50  * @param const Data & data
51  */
53  const Data & data);
54 
55  /**
56  * Copy constructor
57  * @param const CEvaluationNodeWhiteSpace & src
58  */
60 
61  /**
62  * Destructor
63  */
65 
66  /**
67  * Create a new ASTNode corresponding to this OperatorNode.
68  * @return ASTNode* return a pointer to the newly created node;
69  */
70  virtual ASTNode* toAST(const CCopasiDataModel* pDataModel) const;
71  };
72 
73 #endif // COPASI_CEvaluationNodeWhiteSpace
static Type subType(const Type &type)
virtual ASTNode * toAST(const CCopasiDataModel *pDataModel) const