Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Examples  

ocicpp.h

00001 #ifndef __OCICPP_H_
00002 #define __OCICPP_H_
00003 
00004 /* 
00005    Main include file should be included 
00006    by all applications using ocicpp lib 
00007 */
00008 
00009 #define OCICPPLIBVER   0x000500
00010 #define OCICPPLIBMAJOR 0
00011 #define OCICPPLIBMINOR 5
00012 #define OCICPPLIBMICRO 0
00013 
00014 #define OCILIBVER      "8.0"
00015 #define OCILIBVERMAJOR 8
00016 #define OCILIBVERMINOR 0
00017 
00018 
00019 #include <oci.h>
00020 #include <string>
00021 #include <map>
00022 using namespace std;
00023 #include <stdlib.h>
00024 #include <string.h>
00025 #include <stdio.h>
00026 #include <stdarg.h>
00027 
00028 #define DEFAULT 0
00029 #define REFCURSOR 1
00030 #define NTABLE 2
00031 #define QUERY 1
00032 #define REQUEST 2
00033 #define CELL_NOT_EXISTS   -1
00034 #define CELL_TYPE_UNSUPPORTED -2
00035 #define CELL_UNK_ERROR    -3
00036 #define CELL_OK           1
00037 #define CELL_NULL         2
00038 #define WAS_ERROR(exp) ((exp)!=CELL_OK)
00039 
00040 #define SET 1
00041 #define CUR 2
00042 #define END 3
00043 
00044 #define CLOB        SQLT_CLOB
00045 #define BLOB        SQLT_BLOB
00046 #define BFILE       SQLT_FILE
00047 
00048 #define CACHE_ON    1
00049 #define CACHE_OFF   2
00050 
00051 #define DURATION_SESSION    1
00052 #define DURATION_CALL       2
00053 
00054 
00055 #define DLEV_FATAL  0
00056 #define DLEV_ERROR  1
00057 #define DLEV_DEBUG  2
00058 #define DLEV_INFO   3
00059 #define DEBUG_LEVEL DLEV_FATAL
00060 
00061 #define SERIALIZABLE    OCI_TRANS_SERIALIZABLE
00062 #define READONLY        OCI_TRANS_READONLY
00063 
00064 enum ErrorType {
00065     ORAERROR, OCICPPERROR
00066 };
00067 
00068 namespace OCICPP {
00069   void DEBUG(int level,const char *text,...);
00070   void CHECKERR(OCIError *err,sword status);
00071   void version(void);
00072 }
00073 
00074 #ifndef __OCICPP_INTERNAL_USE_
00075 
00076 #include "db.h"
00077 
00078 #include "Connection.h"
00079 
00080 #include "Cursor.h"
00081 
00082 #include "OraError.h"
00083 
00084 #include "Lob.h"
00085 
00086 #include "BFile.h"
00087 
00088 #include "TLob.h"
00089 
00090 #include "RowID.h"
00091 
00092 #include "OraType.h"
00093 
00094 #include "OraString.h"
00095 
00096 #include "OraRaw.h"
00097 
00098 #include "OraLabel.h"
00099 
00100 #include "OraNumber.h"
00101 
00102 #include "OraDummy.h"
00103 
00104 #include "OraDate.h"
00105 
00106 #include "OraLob.h"
00107 
00108 #include "OraBFile.h"
00109 
00110 #include "OraRowID.h"
00111 
00112 #include "OraRefCur.h"
00113 
00114 #endif /* __OCICPP_INTERNAL_USE_ */
00115 
00116 #endif /* __OCICPP_H_ */

Generated at Tue Jun 12 10:37:29 2001 for OCI C++ Library by doxygen1.2.4-20010128 written by Dimitri van Heesch, © 1997-2001