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 "
SimpleTestClass.h
"
11
12
class
Token
;
13
14
namespace
pool
{
15
class
IFileCatalog
;
16
17
class
TestDriver
{
18
public
:
19
explicit
TestDriver
(
const
std::string& catname =
"FCO.catatlog.xml"
);
20
~TestDriver
();
21
TestDriver
(
const
TestDriver
& ) =
delete
;
22
TestDriver
&
operator=
(
const
TestDriver
& ) =
delete
;
23
void
loadLibraries
(
const
std::vector<std::string>& libraries );
24
void
write
();
25
void
addlfns
();
26
void
read
();
27
private
:
28
IFileCatalog
*
m_fileCatalog
;
29
std::string
m_fileName1
;
30
std::string
m_lfn1
;
31
std::string
m_fileName2
;
32
std::string
m_lfn2
;
33
std::string
m_fileName3
;
34
std::string
m_lfn3
;
35
int
m_events
;
36
};
37
38
}
39
40
#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::IFileCatalog
Definition
IFileCatalog.h:20
pool::TestDriver
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:18
pool::TestDriver::loadLibraries
void loadLibraries(const std::vector< std::string > &libraries)
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:33
pool::TestDriver::m_lfn2
std::string m_lfn2
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:32
pool::TestDriver::m_fileName1
std::string m_fileName1
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:29
pool::TestDriver::write
void write()
pool::TestDriver::m_lfn1
std::string m_lfn1
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:30
pool::TestDriver::read
void read()
pool::TestDriver::m_lfn3
std::string m_lfn3
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:34
pool::TestDriver::m_fileName2
std::string m_fileName2
Definition
PersistencySvc_FileCatalogOperations/TestDriver.h:31
pool::TestDriver::m_fileCatalog
pool::IFileCatalog * m_fileCatalog
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:30
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:33
pool::TestDriver::addlfns
void addlfns()
pool::TestDriver::operator=
TestDriver & operator=(const TestDriver &)=delete
pool
Framework include files.
Definition
libname.h:15
Generated on
for ATLAS Offline Software by
1.17.0