File indexing completed on 2025-12-18 09:24:04
0001
0002
0003 #ifndef RDBC_TSQLImporter_h
0004 #define RDBC_TSQLImporter_h
0005
0006
0007
0008
0009
0010 #ifndef ROOT_TQObject
0011 #include <TQObject.h>
0012 #endif
0013
0014 class TSQLImportClient;
0015 class TSQLConnection;
0016 class TSQLException;
0017
0018 class TSQLImporter: public TQObject
0019 {
0020 protected:
0021 TSQLConnection* fConnection;
0022 TSQLImportClient* fClient;
0023
0024 private:
0025 void LoadCatalog(const TString& url);
0026 void LoadTable(const TString& url);
0027 Int_t fStatus;
0028
0029 public:
0030 TSQLImporter();
0031 TSQLImporter(const TString& url,TSQLConnection* con) { Import(url,con); }
0032 virtual ~TSQLImporter();
0033 virtual Int_t Import(const TString& url,TSQLConnection* con);
0034 virtual Bool_t IsValid() const;
0035 void Throw( TSQLException* e ) { Emit("Throw(TSQLException*)",(long)e); }
0036
0037 ClassDef(TSQLImporter,0)
0038 };
0039
0040 #endif