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
#include "
PoolTestBase.h
"
12
13
class
Token
;
14
15
namespace
Gaudi
{
16
class
IFileCatalog;
17
class
IFileCatalogMgr;
18
}
19
20
class
TestDriver
:
public
PoolTestBase
{
21
public
:
22
explicit
TestDriver
(
const
std::string& filename =
"NCI.pool.root"
,
const
std::string& catname =
"NCI.catatlog.xml"
);
23
~TestDriver
();
24
25
void
write
();
26
void
read
();
27
private
:
28
SmartIF<Gaudi::IFileCatalogMgr>
m_fileCatalogMgr
;
29
SmartIF<Gaudi::IFileCatalog>
m_fileCatalog
;
30
std::string
m_fileName
;
31
int
m_events
;
32
std::vector< Token* >
m_tokens
;
33
};
34
35
#endif
PoolTestBase.h
PoolTestBase
Small helper base class for pool tests.
Definition
PoolTestBase.h:17
TestDriver
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:25
TestDriver::TestDriver
TestDriver(const std::string &filename="NCI.pool.root", const std::string &catname="NCI.catatlog.xml")
TestDriver::~TestDriver
~TestDriver()
TestDriver::m_fileCatalogMgr
SmartIF< Gaudi::IFileCatalogMgr > m_fileCatalogMgr
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:35
TestDriver::m_fileName
std::string m_fileName
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:37
TestDriver::m_fileCatalog
SmartIF< Gaudi::IFileCatalog > m_fileCatalog
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:36
TestDriver::m_tokens
std::vector< Token * > m_tokens
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:40
TestDriver::m_events
int m_events
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:39
TestDriver::read
void read()
TestDriver::write
void write()
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:274
Generated on
for ATLAS Offline Software by
1.17.0