1 #ifndef __KVSQLROOTFILE_H
2 #define __KVSQLROOTFILE_H
7 #include <unordered_map>
77 std::unique_ptr<TFile> fObjStore;
78 std::unique_ptr<KVSQLite::database> fObjDB;
81 void save_working_directory()
85 void restore_working_directory()
92 return fObjDB->get_table(
"objTable");
96 return fObjDB->get_table(
"objInfos");
99 mutable std::unordered_map<std::string, TObject*> fObjList;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Base class for KaliVeda framework.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Combine ROOT file containing objects with SQLite database with info on the objects.
void WriteObject(const TObject *, const KVNameValueList &)
void FillListOfObjectsWithSelection(KVSeqCollection *list, const KVString &where)
TObject * Get(const KVString &name) const
Return pointer to object with given name.
void ls(Option_t *="") const override
List the contents of the file with associated infos.
KVSQLROOTFile(const KVString &filepath, Option_t *option="READ")
KaliVeda extensions to ROOT collection classes.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....