COPASI API  4.16.103
CEvaluationNodeStructure.cpp
Go to the documentation of this file.
1 /* Begin CVS Header
2 $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/function/CEvaluationNodeStructure.cpp,v $
3 $Revision: 1.9 $
4 $Name: $
5 $Author: gauges $
6 $Date: 2009/02/19 15:37:57 $
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 #include <limits.h>
19 
20 #include "copasi.h"
21 #include "CEvaluationNode.h"
22 
23 #include "sbml/math/ASTNode.h"
24 
26  CEvaluationNode(CEvaluationNode::INVALID, "")
27 {}
28 
30  const Data & data):
31  CEvaluationNode((Type) (CEvaluationNode::STRUCTURE | subType), data)
32 {
33  switch (subType)
34  {
35  case OPEN:
36  case VECTOR_OPEN:
38  break;
39 
40  case COMMA:
42  break;
43 
44  case CLOSE:
45  case VECTOR_CLOSE:
47  break;
48 
49  case INVALID:
50  fatalError();
51  break;
52  }
53 }
54 
56  CEvaluationNode(src)
57 {}
58 
60 
61 ASTNode* CEvaluationNodeStructure::toAST(const CCopasiDataModel* /*pDataModel*/) const
62  {
63  fatalError();
64  return NULL;
65  }
#define PRECEDENCE_STRUCTURE_CLOSE
#define PRECEDENCE_STRUCTURE_COMMA
#define fatalError()
class CEvaluationNode::CPrecedence mPrecedence
virtual ASTNode * toAST(const CCopasiDataModel *pDataModel) const
#define PRECEDENCE_STRUCTURE_OPEN