Hauptseite | Liste aller Namensbereiche | Klassenhierarchie | Übersicht | Auflistung der Dateien | Elemente eines Namensbereiches | Datenstruktur-Elemente | Datei-Elemente

DbReadDriver.hpp

gehe zur Dokumentation dieser Datei
00001 #ifndef PSFA_DB_READ_DRIVER_HPP
00002 #define PSFA_DB_READ_DRIVER_HPP
00003 // Copyright (C) 2004 Bernhard Assmann <bernie@tuxomania.net>
00004 //  
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 2 of the License, or
00008 // (at your option) any later version.
00009 //  
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 //  
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00018 //  
00019 
00020 #include <string>
00021 #include <vector>
00022 
00023 #include "psfa/SearchData.hpp"
00024 #include "psfa/IndexData.hpp"
00025 
00026 namespace psfa 
00027 {
00028 
00029   typedef std::vector< std::string > sVec; 
00030   
00038   class DbReadDriver 
00039   {
00040   public:
00041     DbReadDriver();
00042     
00043     virtual ~DbReadDriver();
00044     
00050     virtual void
00051     getPools( sVec& result ) = 0;
00052     
00059     virtual void
00060     getSearchTags( std::string poolName, sVec& result ) = 0;
00061 
00068     virtual void
00069     getKontextTags( std::string poolName, sVec& result ) = 0;
00070 
00077     virtual void
00078     getUnits( std::string poolName, sVec& result ) = 0;
00079 
00086     virtual void
00087     getFiles( std::string poolName, sVec& result ) = 0;
00088 
00097     virtual void
00098     getUniqueContent( std::string poolName, sVec& result ) = 0;
00099 
00111     virtual int
00112     getEntries( std::string poolName, 
00113       SearchData& search,
00114       std::vector< IndexData_SP >& result ) = 0;
00115   };
00116 
00117 }
00118 #endif
00119 
00120  

Erzeugt am Mon Jul 12 11:45:04 2004 für PSFA von doxygen 1.3.4