13 using namespace Diana;
27 GlobalHandle<QVector>
hvec(
"MyQVector");
42 dm.
Set(&nHandle,
"dmtest.root");
QRunDataHandle rHandle(753)
GlobalHandle< QVector > hvec("MyQVector")
Object to manage I/O (DB, file, or memory) of diana global quantities.
void SetOwner(const std::string &owner)
set the module that is accessing this object
QError Set(GlobalHandle< Q > *gh, const std::string &outSource, bool printError=true) const
Set a QObject using a GlobalHandle.
QError Get(const std::string &owner, GlobalHandle< Q > *gh, const std::string &inSource, bool printError=true) const
Get an object using a global handle.
void Dump(std::ostream &o) const
Dump cached objects to stream.
global handle for QRunData
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...