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

SflexWorkerFactory.hpp

gehe zur Dokumentation dieser Datei
00001 #ifndef BOERN_SFLEX_WORKER_FACTORY_HPP
00002 #define BOERN_SFLEX_WORKER_FACTORY_HPP
00003 
00004 // Copyright (C) 2002 Bernhard Assmann <b.assmann@uni-koeln.de>
00005 //  
00006 // This program is free software; you can redistribute it and/or modify
00007 // it under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 2 of the License, or
00009 // (at your option) any later version.
00010 //  
00011 // This program is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // GNU General Public License for more details.
00015 //  
00016 // You should have received a copy of the GNU General Public License
00017 // along with this program; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019 //  
00020 
00021 #include <string>
00022 #include <sstream>
00023 
00024 class SflexModule;
00025 class SflexXslt;
00026 class SflexPdf;
00027 class SflexXslOutput;
00028 
00040 class SflexWorkerFactory 
00041 {
00042 public:
00043         
00044     ~SflexWorkerFactory();
00045 
00051     static SflexWorkerFactory *
00052     getFactory();
00053 
00060     SflexModule * 
00061     makeModule( std::string moduleName );
00062 
00068     SflexXslt *
00069     makeXslt();
00070 
00077     SflexPdf *
00078     makePdf();
00079 
00089     SflexXslOutput *
00090     makeXslOutput( std::string extension );
00091     
00097     const std::string 
00098     getError() const;
00099     
00100 
00101 private:
00106     SflexWorkerFactory();
00107 
00112     static SflexWorkerFactory * factory_;
00113 
00118     std::ostringstream errorStream_;
00119 };
00120 
00121 #endif

Erzeugt am Fri Apr 12 10:54:42 2002 für SfleX von doxygen1.2.14 geschrieben von Dimitri van Heesch, © 1997-2002