ATLAS Offline Software
Database
APR
StorageSvc
StorageSvc
DatabaseConnection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef STORAGESVC_DATABASECONNECTION_H
6
#define STORAGESVC_DATABASECONNECTION_H
7
8
#include <string>
9
10
/*
11
* POOL namespace
12
*/
13
namespace
pool
{
14
23
class
DatabaseConnection
{
24
protected
:
26
virtual
~DatabaseConnection
() { }
27
public
:
29
virtual
const
std::string&
name
()
const
= 0;
31
virtual
int
type
()
const
= 0;
33
virtual
void
*
handle
() = 0;
34
virtual
const
void
*
handle
()
const
= 0;
35
};
36
}
// End namespace pool
37
38
#endif
pool::DatabaseConnection
Definition:
DatabaseConnection.h:23
pool::DatabaseConnection::handle
virtual void * handle()=0
Access object identifier.
pool::DatabaseConnection::handle
virtual const void * handle() const =0
pool
pool namespace
Definition:
libname.h:15
pool::DatabaseConnection::~DatabaseConnection
virtual ~DatabaseConnection()
Destructor (called only by sub-classes)
Definition:
DatabaseConnection.h:26
pool::DatabaseConnection::type
virtual int type() const =0
Access technoliogy type.
pool::DatabaseConnection::name
virtual const std::string & name() const =0
Access Database identifier.
Generated on Thu Nov 7 2024 21:13:06 for ATLAS Offline Software by
1.8.18