ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
APR
APRTests
PersistencySvc_FileCatalogOperations
PersistencySvc_FileCatalogOperations/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
#include "
SimpleTestClass.h
"
12
13
class
Token
;
14
15
namespace
Gaudi
{
16
class
IFileCatalog;
17
class
IFileCatalogMgr;
18
}
19
20
namespace
pool
{
21
22
class
TestDriver
{
23
public
:
24
explicit
TestDriver
(
const
std::string& catname =
"FCO.catatlog.xml"
);
25
~TestDriver
();
26
TestDriver
(
const
TestDriver
& ) =
delete
;
27
TestDriver
&
operator=
(
const
TestDriver
& ) =
delete
;
28
void
loadLibraries
(
const
std::vector<std::string>& libraries );
29
void
write
();
30
void
addlfns
();
31
void
read
();
32
private
:
33
SmartIF<Gaudi::IFileCatalogMgr>
m_fileCatalogMgr
;
34
SmartIF<Gaudi::IFileCatalog>
m_fileCatalog
;
35
std::string
m_fileName1
;
36
std::string
m_lfn1
;
37
std::string
m_fileName2
;
38
std::string
m_lfn2
;
39
std::string
m_fileName3
;
40
std::string
m_lfn3
;
41
int
m_events
;
42
};
43
44
}
45
46
#endif
SimpleTestClass.h
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_fileName3
std::string m_fileName3
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:39
pool::TestDriver::m_fileCatalog
SmartIF< Gaudi::IFileCatalog > m_fileCatalog
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:36
pool::TestDriver::m_lfn2
std::string m_lfn2
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:38
pool::TestDriver::m_fileName1
std::string m_fileName1
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:35
pool::TestDriver::write
void write()
pool::TestDriver::m_lfn1
std::string m_lfn1
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:36
pool::TestDriver::read
void read()
pool::TestDriver::m_lfn3
std::string m_lfn3
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:40
pool::TestDriver::m_fileName2
std::string m_fileName2
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:37
pool::TestDriver::TestDriver
TestDriver(const std::string &catname="FCO.catatlog.xml")
pool::TestDriver::TestDriver
TestDriver(const TestDriver &)=delete
pool::TestDriver::m_events
int m_events
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:39
pool::TestDriver::addlfns
void addlfns()
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