ATLAS Offline Software
Loading...
Searching...
No Matches
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 */
13namespace pool {
14
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
Definition of the DbConnection class.
virtual void * handle()=0
Access object identifier.
virtual const void * handle() const =0
virtual const std::string & name() const =0
Access Database identifier.
virtual ~DatabaseConnection()
Destructor (called only by sub-classes)
virtual int type() const =0
Access technoliogy type.
pool namespace
Definition libname.h:15