1 #ifndef art_Framework_IO_Root_RootDB_SQLite3Wrapper_h 2 #define art_Framework_IO_Root_RootDB_SQLite3Wrapper_h 29 int flags = SQLITE_OPEN_READONLY);
32 std::string
const&
key,
33 int flags = SQLITE_OPEN_READWRITE);
41 operator sqlite3*() {
return db_; }
49 void reset(std::string
const&
key,
int flags = SQLITE_OPEN_READONLY);
51 void reset(TFile* tfile,
52 std::string
const& key,
53 int flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_TRANSIENT_DB);
60 void initDB(
int flags, TFile* tfile = 0);
int(* callback_t)(void *, int, char **, char **)
void swap(SQLite3Wrapper &other)
static bool wantTracing()
void initDB(int flags, TFile *tfile=0)
SQLite3Wrapper & operator=(SQLite3Wrapper const &)=delete
std::string const & key() const