EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairDbRollbackDates.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairDbRollbackDates.h
1
#ifndef FAIRDBROLLBACKDATES_H
2
#define FAIRDBROLLBACKDATES_H
3
4
#include <map>
5
#include <string>
6
7
#ifndef ROOT_Rtypes
8
#if !defined(__CINT__) || defined(__MAKECINT__)
9
#include "Rtypes.h"
10
#endif
11
#endif
12
13
class
FairRegistry
;
14
15
class
FairDbRollbackDates
16
{
17
18
public
:
19
20
typedef
std::map<std::string,std::string>
name_map_t
;
21
22
// Constructors and destructors.
23
FairDbRollbackDates
();
24
virtual
~FairDbRollbackDates
();
25
26
// State testing member functions
27
28
const
std::string&
GetDate
(
const
std::string& tableName)
const
;
29
const
std::string&
GetType
(
const
std::string& tableName)
const
;
30
void
Show
()
const
;
31
32
// State changing member functions
33
34
void
Clear
() {
fTableToDate
.clear();
fTableToType
.clear();}
35
void
Set
(
FairRegistry
& reg);
//Modifies Registry
36
37
private
:
38
39
// Data members
40
42
name_map_t
fTableToDate
;
44
name_map_t
fTableToType
;
45
46
ClassDef(
FairDbRollbackDates
,0)
// Rollback dates by table name.
47
48
};
49
50
51
#endif // FAIRDBROLLBACKDATES_H
EicRoot
blob
master
dbase
dbInterface
FairDbRollbackDates.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration