/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 #ifndef DBIASCIIDBIMPORTER_H 00002 #define DBIASCIIDBIMPORTER_H 00003 00029 #include "DatabaseInterface/DbiExceptionLog.h" 00030 00031 class DbiAsciiTablePreparer; 00032 class TSQLServer; 00033 class TString; 00034 00035 00036 class DbiAsciiDbImporter 00037 { 00038 public: 00039 DbiAsciiDbImporter(); 00040 DbiAsciiDbImporter(const TString& url,TSQLServer* server); 00041 virtual ~DbiAsciiDbImporter(); 00042 00043 const DbiExceptionLog& GetExceptionLog() const { return fExceptionLog; } 00044 Int_t Import(const TString& url,TSQLServer* server); 00045 Bool_t IsValid() const; 00046 00047 00048 private: 00049 void LoadCatalog(const TString& url); 00050 void LoadTable(const TString& url); 00051 00052 00054 Int_t fStatus; 00055 00057 DbiExceptionLog fExceptionLog; 00058 00060 TSQLServer* fServer; 00061 00063 DbiAsciiTablePreparer* fTablePreparer; 00064 00065 00066 // Removed: ClassDef(DbiAsciiDbImporter,0)// class used to create a temporary ASCII database 00067 }; 00068 00069 00070 #endif // DBIASCIIDBIMPORTER_H