oqlctbmthbe-skel.cc

00001 
00002 /*
00003  * EyeDB Version 2.8.0 Copyright (c) 1995-2006 SYSRA
00004  *
00005  * File 'oqlctbmthbe-skel.cc'
00006  *
00007  * Package Name 'oqlctb'
00008  *
00009  * Generated by eyedbodl at Fri May  4 10:14:33 2007
00010  *
00011  */
00012 
00013 #include <eyedb/eyedb.h>
00014 
00015 #include "oqlctb.h"
00016 
00017 using namespace eyedb;
00018 
00019 // To implement and use user methods, perform the following operations
00020 /*
00021 
00022 #1. Copy the skeleton file
00023 cp oqlctbmthbe-skel.cc oqlctbmthbe.cc
00024 
00025 #2. Implement the user methods in oqlctbmthbe.cc using a text editor
00026 
00027 #3. Compile the shared library
00028 
00029 #4. Copy the shared library to the eyedb loadable library directory
00030 cp oqlctbmthbe-2.8.0.so <eyedbinstalldir>/lib/eyedb
00031 
00032 #5. Change the file access mode
00033 chmod a+r <eyedbinstalldir>/lib/eyedb/oqlctbmthbe-2.8.0.so
00034 
00035 */
00036 
00037 static Bool __oqlctb_init = False;
00038 
00039 #define _packageInit(DB) \
00040  \
00041   if (!__oqlctb_init) { \
00042     oqlctb::init(); \
00043     __oqlctb_init = True; \
00044   } \
00045  \
00046   if (!(DB)->getUserData("eyedb:oqlctb")) { \
00047      Status s = oqlctbDatabase::checkSchema((DB)->getSchema()); \
00048      if (s) return s; \
00049      oqlctbDatabase::setConsApp(DB); \
00050      (DB)->setUserData("eyedb:oqlctb", (void *)1); \
00051   }
00052 

Generated on Mon Dec 22 18:16:04 2008 for eyedb by  doxygen 1.5.3