ATLAS Offline Software
Public Member Functions | Protected Member Functions | List of all members
pool::DatabaseConnection Class Referenceabstract

#include <StorageSvc/DatabaseConnection.h>

Inheritance diagram for pool::DatabaseConnection:
Collaboration diagram for pool::DatabaseConnection:

Public Member Functions

virtual const std::string & name () const =0
 Access Database identifier. More...
 
virtual int type () const =0
 Access technoliogy type. More...
 
virtual void * handle ()=0
 Access object identifier. More...
 
virtual const void * handle () const =0
 

Protected Member Functions

virtual ~DatabaseConnection ()
 Destructor (called only by sub-classes) More...
 

Detailed Description

Definition of the DbConnection class. The connection holds data specific to dealing with one type of Database.

Author
: M.Frank
Version
1.0

Definition at line 23 of file DatabaseConnection.h.

Constructor & Destructor Documentation

◆ ~DatabaseConnection()

virtual pool::DatabaseConnection::~DatabaseConnection ( )
inlineprotectedvirtual

Destructor (called only by sub-classes)

Definition at line 26 of file DatabaseConnection.h.

26 { }

Member Function Documentation

◆ handle() [1/2]

virtual const void* pool::DatabaseConnection::handle ( ) const
pure virtual

Implemented in pool::DbConnection.

◆ handle() [2/2]

virtual void* pool::DatabaseConnection::handle ( )
pure virtual

Access object identifier.

Implemented in pool::DbConnection.

◆ name()

virtual const std::string& pool::DatabaseConnection::name ( ) const
pure virtual

Access Database identifier.

Implemented in pool::DbConnection.

◆ type()

virtual int pool::DatabaseConnection::type ( ) const
pure virtual

Access technoliogy type.

Implemented in pool::DbConnection.


The documentation for this class was generated from the following file: