roadrunner  2.6.0
Fast simulator for SBML models
ASTNodeFactory.h
1 /*
2  * rrLLVMASTNodeFactory.h
3  *
4  * Created on: Jul 4, 2013
5  * Author: andy
6  */
7 
8 #ifndef LLVMASTNodeFactoryH
9 #define LLVMASTNodeFactoryH
10 
11 #include <sbml/math/ASTNode.h>
12 #include <list>
13 
14 namespace rrllvm
15 {
16 
28 {
29 public:
31  ~ASTNodeFactory();
32 
49  libsbml::ASTNode *create(libsbml::ASTNodeType_t type = libsbml::AST_UNKNOWN);
50 
51 
58  libsbml::ASTNode *create(libsbml::Token_t *token);
59 
60 
66  libsbml::ASTNode *create(const libsbml::ASTNode& orig);
67 
68 private:
72  ASTNodeFactory(const ASTNodeFactory&) {};
73  ASTNodeFactory& operator=( const ASTNodeFactory& rhs ) {return *this;};
74 
78  std::list<libsbml::ASTNode*> nodes;
79 };
80 
81 } /* namespace rr */
82 #endif /* LLVMASTNodeFactoryH */
Manages a set of ASTNodes.
Definition: ASTNodeFactory.h:28
libsbml::ASTNode * create(libsbml::ASTNodeType_t type=libsbml::AST_UNKNOWN)
Creates and returns a new ASTNode.
Definition: ASTNodeFactory.cpp:29