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>
11
12class Token;
13
14namespace pool {
15 class IFileCatalog;
16 class DbType;
17
18 class TestDriver {
19 public:
20 explicit TestDriver( const std::string& catname = "PersExtF.catatlog.xml" );
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:
31 std::string m_fileName;
34 std::vector< Token* > m_tokens;
35 std::vector< TestClassSTLContainersExt > m_testClassSTLContainersExt;
36 };
37
38}
39
40#endif
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:21
std::vector< TestClassSTLContainersExt > m_testClassSTLContainersExt
TestDriver(const std::string &catname="PersExtF.catatlog.xml")
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
pool namespace
Definition libname.h:15