ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rosedefs.h
Go to the documentation of this file.
1 #ifndef __rosedefs
2 #define __rosedefs
3 
4 
5 #include "stdio.h"
6 #include <cassert>
7 #include <cstdio>
8 #include <list>
9 #include <vector>
10 #include <string>
11 #include <set>
12 #include <map>
13 #include <sstream>
14 
15 // DQ (9/25/2007): Need to move this to here so that all of ROSE will see it.
16 #define Rose_STL_Container std::vector
17 
18 // DQ (2/5/2010): include stdint.h always.
19 // #ifdef _MSC_VER
20 // #include "stdint.h"
21 // //typedef __int64 uint64_t;
22 // #endif
23 
24 #include "stdint.h"
25 typedef uint64_t rose_addr_t; /* address and size (file and memory) */
26 #define ROSE_DEPRECATED_FUNCTION
27 
28 // DQ (2/10/2010): Added assert.h (not clear where else it is included).
29 #include "assert.h"
30 
31 #include "roseInternal.h"
32 
33 
34 //#include "rose_attributes_list.h"
35 
36 // DQ (10/14/2010): We don't want to include this into our header file system
37 // since then users will see the defined macros in our autoconf generated
38 // config.h (which we generate as rose_config.h to avoid filename conflicts).
39 // This fixes the problem that causes macro names to conflict (e.g. PACKAGE_BUGREPORT).
40 // #include "rose_config.h"
41 
42 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
43 #include "virtualCFG.h"
44 
45 // DQ (10/29/2010): This must be included as a header file since the function
46 // declarations in SgAsmStatement require it in the generated Cxx_Grammar.h file.
47 #include "virtualBinCFG.h"
48 
49 #include "staticCFG.h"
50 #else
51 
52 // DQ (11/12/2011): We need a declaration that can be used in Cxx_Grammar.h
53 class VirtualCFG
54  {
55  public:
56  typedef int CFGNode;
57  typedef int CFGEdge;
58  };
59 
60 class VirtualBinCFG
61  {
62  public:
63  typedef int AuxiliaryInformation;
64  typedef int CFGNode;
65  typedef int CFGEdge;
66  };
67 
68 #endif
69 
70 #endif