ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roseTranslators.h
Go to the documentation of this file.
1 #ifndef ROSETRANSLATORS_H
2 #define ROSETRANSLATORS_H
3 
4 // MSTL
5 #include <Translator.h>
6 
7 //#include <sage3.h>
8 #include <AstDOTGeneration.h>
9 #include <AstPDFGeneration.h>
10 #include <AstConsistencyTests.h>
11 
17 class ROSE_DLL_API CppToCppTranslator : public Translator<int> {
18 
19  public:
21  virtual ~CppToCppTranslator();
22  virtual void setOptions(int argc,char** argv);
23  virtual void frontend();
24  virtual void midend();
25  virtual void backend();
27  virtual int status();
30  virtual void printMessage(std::string s);
31 
32  protected:
35  SgProject* getAstRoot();
37  void setAstRoot(SgProject*);
38  void setStatusCode(int code) { statusCode=code; }
39  private:
42 };
43 
45 protected:
47  virtual void backend();
48 };
49 
51  protected:
53  virtual void backend();
54 };
55 
56 
58  protected:
60  void backend();
61 };
62 
63 
65  protected:
68  virtual void midend();
69 };
70 
71 #endif
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83