ATLAS Offline Software
Database
APR
APRTests
PersistencySvc_ExtraFunctionality
PersistencySvc_ExtraFunctionality/TestDriver.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 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 "
TestClassSTLContainersExt.h
"
11
12
class
Token
;
13
14
namespace
pool
{
15
class
IFileCatalog;
16
class
DbType;
17
18
class
TestDriver
{
19
public
:
20
explicit
TestDriver
(
const
std::string& catname =
"PersExtF.catatlog.xml"
);
21
~TestDriver
();
22
TestDriver
(
const
TestDriver
& ) =
delete
;
23
TestDriver
&
operator=
(
const
TestDriver
& ) =
delete
;
24
void
loadLibraries
(
const
std::vector<std::string>& libraries );
25
void
write
(
pool::DbType
storageType );
26
void
read
();
27
void
clearCache
();
28
29
private
:
30
pool::IFileCatalog
*
m_fileCatalog
;
31
std::string
m_fileName
;
32
int
m_eventsToCommitAndHold
;
33
int
m_events
;
34
std::vector< Token* >
m_tokens
;
35
std::vector< TestClassSTLContainersExt >
m_testClassSTLContainersExt
;
36
};
37
38
}
39
40
#endif
pool::TestDriver
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:18
pool::TestDriver::TestDriver
TestDriver(const std::string &catname="PersExtF.catatlog.xml")
pool
pool namespace
Definition:
libname.h:15
pool::TestDriver::m_fileName
std::string m_fileName
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:31
pool::TestDriver::operator=
TestDriver & operator=(const TestDriver &)=delete
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition:
Token.h:21
pool::IFileCatalog
Definition:
IFileCatalog.h:23
pool::TestDriver::m_tokens
std::vector< Token * > m_tokens
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:34
pool::DbType
Definition:
DbType.h:30
pool::TestDriver::m_events
int m_events
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:33
pool::TestDriver::~TestDriver
~TestDriver()
pool::TestDriver::read
void read()
TestClassSTLContainersExt.h
pool::TestDriver::m_testClassSTLContainersExt
std::vector< TestClassSTLContainersExt > m_testClassSTLContainersExt
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:35
pool::TestDriver::write
void write(pool::DbType storageType)
pool::TestDriver::TestDriver
TestDriver(const TestDriver &)=delete
pool::TestDriver::m_eventsToCommitAndHold
int m_eventsToCommitAndHold
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:32
pool::TestDriver::m_fileCatalog
pool::IFileCatalog * m_fileCatalog
Definition:
PersistencySvc_ExtraFunctionality/TestDriver.h:30
pool::TestDriver::clearCache
void clearCache()
pool::TestDriver::loadLibraries
void loadLibraries(const std::vector< std::string > &libraries)
Definition:
libname.h:17
Generated on Sun Nov 9 2025 21:18:48 for ATLAS Offline Software by
1.8.18