|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef IOVDbSvc_IOVDbConn_h
9 #define IOVDbSvc_IOVDbConn_h
11 #include "CoolKernel/IDatabase.h"
12 #include "CoolKernel/IFolder.h"
27 const std::string&
name()
const;
31 void summary(
const float fread);
41 template<
typename T=cool::IFolderPtr>
44 if (not
m_coolDb.get())
return nullptr;
83 #endif // IOVDbSvc_IOVDbConn_h
CoraCoolDatabasePtr m_coracoolDb
const std::string & name() const
cool::IDatabasePtr m_coolDb
T getFolderPtr(const std::string &folderName)
cool::IDatabasePtr getCoolDb()
unsigned int nFolders() const
IOVDbConn(const std::string &dbname, const bool readOnly, MsgStream &msg)
boost::shared_ptr< CoraCoolFolder > CoraCoolFolderPtr
void summary(const float fread)
boost::shared_ptr< CoraCoolDatabase > CoraCoolDatabasePtr
void setReadOnly(const bool readOnly)
const std::string m_connstr
CoraCoolDatabasePtr getCoraCoolDb()