#ifndef HGUPSTORE_H #define HGUPSTORE_H // base class for all store classes needed for update of GEANT geometry // in database #include "hadesstd.h" #include "hstring.h" #include class HGupStore { public: HGupStore() { versIndex=-1; } ~HGupStore() {} virtual void sqlHandleError(const char* msg); // Error handle for errors during SQL SELECT or INSERT virtual void rollback(); // rolls all work back virtual void commit(); // commits all work // next free VersIndex used by all store routines int versIndex; }; #endif