ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
APR
APRTests
PersistencySvc_NoClassID
PersistencySvc_NoClassID/TestDriver.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TESTDRIVER_H
6
#define TESTDRIVER_H
7
8
#include <vector>
9
#include <string>
10
#include "GaudiKernel/SmartIF.h"
11
12
class
Token
;
13
14
namespace
Gaudi
{
15
class
IFileCatalog;
16
class
IFileCatalogMgr;
17
}
18
19
namespace
pool
{
20
21
class
TestDriver
{
22
public
:
23
explicit
TestDriver
(
const
std::string& filename =
"NCI.pool.root"
,
const
std::string& catname =
"NCI.catatlog.xml"
);
24
~TestDriver
();
25
TestDriver
(
const
TestDriver
& ) =
delete
;
26
TestDriver
&
operator=
(
const
TestDriver
& ) =
delete
;
27
void
loadLibraries
(
const
std::vector<std::string>& libraries );
28
void
write
();
29
void
read
();
30
private
:
31
SmartIF<Gaudi::IFileCatalogMgr>
m_fileCatalogMgr
;
32
SmartIF<Gaudi::IFileCatalog>
m_fileCatalog
;
33
std::string
m_fileName
;
34
int
m_events
;
35
std::vector< Token* >
m_tokens
;
36
};
37
38
}
39
40
#endif
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
pool::TestDriver
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:23
pool::TestDriver::loadLibraries
void loadLibraries(const std::vector< std::string > &libraries)
pool::TestDriver::m_fileCatalogMgr
SmartIF< Gaudi::IFileCatalogMgr > m_fileCatalogMgr
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:35
pool::TestDriver::TestDriver
TestDriver(const std::string &catname="PersExtF.catatlog.xml")
pool::TestDriver::~TestDriver
~TestDriver()
pool::TestDriver::m_fileName
std::string m_fileName
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:37
pool::TestDriver::m_fileCatalog
SmartIF< Gaudi::IFileCatalog > m_fileCatalog
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:36
pool::TestDriver::write
void write()
pool::TestDriver::read
void read()
pool::TestDriver::TestDriver
TestDriver(const TestDriver &)=delete
pool::TestDriver::m_tokens
std::vector< Token * > m_tokens
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:40
pool::TestDriver::m_events
int m_events
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:39
pool::TestDriver::TestDriver
TestDriver(const std::string &filename="NCI.pool.root", const std::string &catname="NCI.catatlog.xml")
pool::TestDriver::operator=
TestDriver & operator=(const TestDriver &)=delete
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:274
pool
Framework include files.
Definition
libname.h:15
Generated on
for ATLAS Offline Software by
1.17.0