Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Database
APR
StorageSvc
src
DbSessionObj.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: DbSessionObj.h 726071 2016-02-25 09:23:05Z krasznaa $
6
//====================================================================
7
// DbSessionObj object definition
8
//--------------------------------------------------------------------
9
//
10
// Package : System (The POOL project)
11
//
12
// Description: Generic data persistency
13
//
14
// @author M.Frank
15
//====================================================================
16
#ifndef POOL_DBSESSIONOBJ_H
17
#define POOL_DBSESSIONOBJ_H 1
18
19
// Framework includes
20
#include "
StorageSvc/DbAccessObj.h
"
21
22
/*
23
* POOL namespace declaration
24
*/
25
namespace
pool
{
26
27
// Forward declarations
28
class
DbDomainObj;
29
class
IOODatabase;
30
45
class
DbSessionObj
:
public
DbAccessObj
<DbType, DbDomainObj > {
46
private
:
48
std::map<DbType, IOODatabase*>
m_dbTypes
;
49
public
:
51
DbSessionObj
();
53
virtual
~DbSessionObj
();
55
IOODatabase
*
db
(
const
DbType
& typ) ;
57
DbStatus
open
();
59
DbStatus
close
();
60
};
61
}
// End namespace pool
62
#endif // POOL_DBSESSIONOBJ_H
pool::DbSessionObj::close
DbStatus close()
Close Database session.
pool::DbStatus
Definition:
DbStatus.h:67
pool::DbSessionObj::DbSessionObj
DbSessionObj()
Standard constructor.
pool::DbSessionObj::db
IOODatabase * db(const DbType &typ)
Allow access to the Database implementation.
DbAccessObj.h
pool::DbSessionObj::m_dbTypes
std::map< DbType, IOODatabase * > m_dbTypes
Known Implementation types.
Definition:
DbSessionObj.h:48
pool::DbSessionObj::open
DbStatus open()
Open session.
pool
pool namespace
Definition:
libname.h:15
pool::DbAccessObj
Definition:
DbAccessObj.h:47
pool::DbType
Definition:
DbType.h:31
pool::DbSessionObj
Db objects: DbSessionObj.
Definition:
DbSessionObj.h:45
pool::DbSessionObj::~DbSessionObj
virtual ~DbSessionObj()
Standard destructor.
pool::IOODatabase
Definition:
IOODatabase.h:50
Generated on Thu Mar 13 2025 21:09:29 for ATLAS Offline Software by
1.8.18