OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
include.h
Go to the documentation of this file.
1 //$$ include.h include files required by various versions of C++
2 
3 #ifndef INCLUDE_LIB
4 #define INCLUDE_LIB
5 
6 #define use_namespace // define name spaces
8 #define SETUP_C_SUBSCRIPTS // allow element access via A[i][j]
9 
10 // Activate just one of the following 3 statements
11 
12 //#define SimulateExceptions // use simulated exceptions
13 #define UseExceptions // use C++ exceptions
14 //#define DisableExceptions // do not use exceptions
15 
16 
17 //#define TEMPS_DESTROYED_QUICKLY // for compilers that delete
18  // temporaries too quickly
19 
20 //#define TEMPS_DESTROYED_QUICKLY_R // the same thing but applied
21  // to return from functions only
22 
23 //#define DO_FREE_CHECK // check news and deletes balance
24 
25 #define USING_DOUBLE // elements of type double
26 //#define USING_FLOAT // elements of type float
27 
28 #define bool_LIB 0 // for compatibility with my older libraries
29 
30 //#define ios_format_flags ios::fmtflags // for Gnu 3 and Intel for Linux
31 
32 
33 //#define _STANDARD_ // using standard library
34 
35 //#define use_float_h // use float.h for precision data
36 
37 
38 //#define HAS_INT64 // if unsigned _int64 is recognised
39  // used by newran03
40 
41 // comment out next line if Exception causes a problem
42 #define TypeDefException
43 
44 //*********************** end of options set by user ********************
45 
46 #ifdef use_namespace
47 namespace RBD_COMMON {
48 #endif
49 
50 
51 #ifdef USING_FLOAT // set precision type to float
52 typedef float Real;
53 typedef double long_Real;
54 #endif
55 
56 #ifdef USING_DOUBLE // set precision type to double
57 typedef double Real;
58 //typedef long double long_Real;
59 typedef double long_Real;
60 #endif
61 
62 
63 #ifdef use_namespace
64 }
65 #endif
66 
67 
68 #ifdef use_namespace
69 namespace RBD_COMMON {}
70 namespace RBD_LIBRARIES // access all my libraries
71 {
72  using namespace RBD_COMMON;
73 }
74 #endif
75 
76 
77 #endif
double long_Real
Definition: include.h:59
double Real
Definition: include.h:57