00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef __MSD_DEFS_H__
00014 #define __MSD_DEFS_H__
00015
00016
00017 #define OTL_STL // Turn on STL features
00018 #define OTL_ANSI_CPP // Turn on ANSI C++ typecasts
00019
00020 #define MAX_RESULT_SET 50000
00021 #define MAX_COLS 32
00022 #define MAXBLOBSIZE 70000
00023 #define MSD_ORACLE
00024 #define OTL_ORA9I
00025
00026
00027
00028
00029 #define MAXCONN 8
00030 #define MAXSQL 16
00031 #define MAXCRITERIAS 16
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #define msdDeclareClass(CN)\
00044 class CName; \
00045 typedef CN * p##CN; \
00046 typedef CN & r##CN; \
00047 typedef p##CN * pp##CN; \
00048 typedef P##CN & rp##CN;
00049
00050 #define msdDeclareStruc(SN)\
00051 struct SN; \
00052 typedef SN * p##SN; \
00053 typedef SN & r##SN; \
00054 typedef p##SN * pp##SN; \
00055 typedef p##SN & rp##SN;
00056
00057
00058 #define LPP_True_NODEFINE 1
00059 #define msdTrue Lpp_True
00060
00061
00062 #define LPP_S_NODEFINE 1
00063 #define msdSymbol Lpp_S
00064
00065
00066 #define LPP_C_NODEFINE 1
00067 #define msdConst Lpp_C
00068
00069
00070
00071 #define LPP_O_NODEFINE 1
00072 #define msdObj Lpp_O
00073
00074
00075
00076 #define LPP_L_NODEFINE 1
00077 #define msdLpp Lpp_L
00078
00079
00080 #define LPP_cL_NODEFINE 1
00081 #define msdcLpp Lpp_cL
00082
00083
00084 #define LPP_iL_NODEFINE 1
00085 #define msdiLpp Lpp_iL
00086
00087
00088 #define LPP_pL_NODEFINE 1
00089 #define msdpLpp Lpp_pL
00090
00091
00092 #define LPP_sL_NODEFINE 1
00093 #define msdsLpp Lpp_sL
00094
00095
00096 #define LPP_pC_NODEFINE 1
00097 #define msdpConst Lpp_pC
00098
00099
00100 #define LPP_EM_NODEFINE 1
00101 #define msdEnd Lpp_EM
00102
00103
00104
00105 #ifndef LPPSTREAM_H
00106 #include "LppStream.hh"
00107 #endif
00108
00109 #ifndef __XLISP_H__
00110 #include "xlisp.h"
00111 #endif
00112
00113
00114 #ifndef __OTL_H__
00115 #include "otlv4.h"
00116 #endif
00117
00118
00119 #define msdbConnect otl_connect
00120 #define msdbStream otl_stream
00121 #define msdbException otl_exception
00122 #define msdbInit otl_initialize
00123 #define msdbDate otl_datetime
00124
00125
00126 #define __WITH_XMMDB__
00127
00128 using namespace std;
00129
00130 #endif // __MSD_DEFS_H__
00131