QParserFinder.hh

Go to the documentation of this file.
00001 
00002 #ifndef __QPARSERFINDER_HH_
00003 #define __QPARSERFINDER_HH_
00004 
00005 #include <map>
00006 #include <string>
00007 
00008 #include "QCuore.hh"
00009 #include "QCommand.hh"
00010 
00011 class QBaseCmdParser;
00012 
00024 class QParserFinder
00025 {
00026 public:
00028    virtual ~QParserFinder();
00029    
00031    static QParserFinder* Get();
00032    
00034    QBaseCmdParser& GetParser() {return *fParser;}
00035    
00036 private:
00038    QParserFinder();
00039    
00041    static QParserFinder *me;
00042    
00044    void SetParser(QBaseCmdParser* p) { fParser=p; }
00045    
00047    QBaseCmdParser *fParser;
00048    
00049    friend int main(int,char**);
00050 };
00051 #endif

Generated on Tue Nov 16 10:49:59 2010 for CUORE Software by  doxygen 1.5.6