rosedefs.h

Go to the documentation of this file.
00001 #ifndef __rosedefs
00002 #define __rosedefs
00003 
00004 
00005 #include "stdio.h"
00006 #include <cassert>
00007 #include <cstdio>
00008 #include <list>
00009 #include <vector>
00010 #include <string>
00011 #include <set>
00012 #include <map>
00013 #include <sstream>
00014 
00015 // DQ (9/25/2007): Need to move this to here so that all of ROSE will see it.
00016 #define Rose_STL_Container std::vector
00017 
00018 // DQ (2/5/2010): include stdint.h always.
00019 // #ifdef _MSC_VER
00020 // #include "stdint.h"
00021 // //typedef __int64 uint64_t;
00022 // #endif
00023 
00024 #include "stdint.h"
00025 typedef uint64_t rose_addr_t; /* address and size (file and memory) */
00026 #define ROSE_DEPRECATED_FUNCTION 
00027 
00028 // DQ (2/10/2010): Added assert.h (not clear where else it is included).
00029 #include "assert.h"
00030 
00031 #include "roseInternal.h"
00032 
00033 
00034 //#include "rose_attributes_list.h"
00035 
00036 // DQ (10/14/2010): We don't want to include this into our header file system
00037 // since then users will see the defined macros in our autoconf generated 
00038 // config.h (which we generate as rose_config.h to avoid filename conflicts).
00039 // This fixes the problem that causes macro names to conflict (e.g. PACKAGE_BUGREPORT).
00040 // #include "rose_config.h"
00041 
00042 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
00043 #include "virtualCFG.h" 
00044 
00045 // DQ (10/29/2010): This must be included as a header file since the function 
00046 // declarations in SgAsmStatement require it in the generated Cxx_Grammar.h file.
00047 #include "virtualBinCFG.h" 
00048 
00049 #include "staticCFG.h"
00050 #else
00051 
00052 // DQ (11/12/2011): We need a declaration that can be used in Cxx_Grammar.h
00053 class VirtualCFG
00054    {
00055      public:
00056           typedef int CFGNode;
00057           typedef int CFGEdge;
00058    };
00059 
00060 class VirtualBinCFG
00061    {
00062      public:
00063           typedef int AuxiliaryInformation;
00064           typedef int CFGNode;
00065           typedef int CFGEdge;
00066    };
00067 
00068 #endif
00069 
00070 #endif

Generated on Sat May 19 00:53:07 2012 for ROSE by  doxygen 1.4.7