Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
definitions.hpp
Go to the documentation of this file.
00001 
00002 #define __STDC_LIMIT_MACROS //nessessary to define and then include the header file, so UINTPTR_MAX is defined (used to get the architecture 32 or 64 bit)
00003 #include <stdint.h>
00004 
00005 #include <algorithm>
00006 #include <cstdlib>
00007 #include <iostream>
00008 #include <fstream>
00009 #include <cassert>
00010 #include <vector>
00011 
00012 
00013 
00014 //g++ compiler workaround for boost thread!
00015 #ifdef __GNUC__
00016    #pragma GCC visibility push(default) 
00017 #endif
00018    #include <boost/smart_ptr.hpp> 
00019    #include <boost/thread.hpp> 
00020    #include <boost/program_options.hpp> 
00021 //g++ compiler workaround for boost thread!
00022 #ifdef __GNUC__
00023 #pragma GCC visibility pop 
00024 #endif
00025 
00026 using namespace std;
00027 
00028 
00029 
00030 //enum Architecture{Architecture_32Bit,Architecture_64Bit};
00031 
00032 //const Architecture getArchitecture(){
00033 //
00034 //#if UINTPTR_MAX == 0xffffffff
00036 //return Architecture_32Bit;
00037 //#elif UINTPTR_MAX == 0xffffffffffffffff
00039 //return Architecture_64Bit;
00040 //#else
00042 //   #error "Could not determine Architecture!"
00043 //#endif
00044 //}
00045 
00046 
00047 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines