ATLAS Offline Software
Loading...
Searching...
No Matches
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
11class Token;
12
13namespace pool {
14 class IFileCatalog;
15
16 class TestDriver {
17 public:
18 explicit TestDriver(const std::string& filename = "NCI.pool.root", const std::string& catname = "NCI.catatlog.xml" );
20 TestDriver(const TestDriver & ) = delete;
21 TestDriver& operator=(const TestDriver & ) = delete;
22 void loadLibraries( const std::vector<std::string>& libraries );
23 void write();
24 void read();
25 private:
27 std::string m_fileName;
28 int m_events;
29 std::vector< Token* > m_tokens;
30 };
31
32}
33
34#endif
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:21
void loadLibraries(const std::vector< std::string > &libraries)
TestDriver(const std::string &catname="PersExtF.catatlog.xml")
TestDriver(const TestDriver &)=delete
TestDriver(const std::string &filename="NCI.pool.root", const std::string &catname="NCI.catatlog.xml")
TestDriver & operator=(const TestDriver &)=delete
pool namespace
Definition libname.h:15