ATLAS Offline Software
Loading...
Searching...
No Matches
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 "GaudiKernel/SmartIF.h"
12
13class Token;
14
15namespace Gaudi {
16 class IFileCatalog;
17 class IFileCatalogMgr;
18}
19
20namespace pool {
21 class DbType;
22
23 class TestDriver {
24 public:
25 explicit TestDriver( const std::string& catname = "PersExtF.catatlog.xml" );
27 TestDriver(const TestDriver & ) = delete;
28 TestDriver& operator=(const TestDriver & ) = delete;
29 void loadLibraries( const std::vector<std::string>& libraries );
30 void write( pool::DbType storageType );
31 void read();
32 void clearCache();
33
34 private:
35 SmartIF<Gaudi::IFileCatalogMgr> m_fileCatalogMgr;
36 SmartIF<Gaudi::IFileCatalog> m_fileCatalog;
37 std::string m_fileName;
40 std::vector< Token* > m_tokens;
41 std::vector< TestClassSTLContainersExt > m_testClassSTLContainersExt;
42 };
43
44}
45
46#endif
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:22
std::vector< TestClassSTLContainersExt > m_testClassSTLContainersExt
SmartIF< Gaudi::IFileCatalogMgr > m_fileCatalogMgr
TestDriver(const std::string &catname="PersExtF.catatlog.xml")
SmartIF< Gaudi::IFileCatalog > m_fileCatalog
TestDriver(const TestDriver &)=delete
void loadLibraries(const std::vector< std::string > &libraries)
Definition libname.h:17
void write(pool::DbType storageType)
TestDriver & operator=(const TestDriver &)=delete
=============================================================================
Framework include files.
Definition libname.h:15