00001 // <oraload - loads and gets lobs (Large Objects) into and out of an Oracle Database> 00002 // Copyright (C) <2004-2007> <Ralf Duenkelmann> 00003 // 00004 // This library is free software; you can redistribute it and/or modify it under the terms of the 00005 // GNU Lesser General Public License as published by the Free Software Foundation; 00006 // either version 2.1 of the License, or (at your option) any later version. 00007 // 00008 // This library is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00010 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 00011 // 00012 // You should have received a copy of the GNU Lesser General Public License along with this library; 00013 // if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00014 00025 00026 #include <iostream> 00027 #include <stdlib.h> 00028 #include <fstream> 00029 #include <cstdio> 00030 #include <occi.h> 00031 using namespace oracle::occi; 00032 using namespace std; 00033 #include "Lob.hpp" 00034 #ifndef CHAR_LOB_HPP 00035 #define CHAR_LOB_HPP 00036 00048 class CharLob:public Lob 00049 { 00050 00051 public: 00054 CharLob (); 00062 CharLob (char* user , char* pass , char* db, char* cfile); 00069 CharLob (char* user , char* pass , char* db); 00072 ~CharLob (); 00078 int DownloadClobData(void); 00084 int UploadClobData(void); 00085 00086 };//end of class 00087 #endif