5#ifndef STORAGESVC_DBCONNECTION_H
6#define STORAGESVC_DBCONNECTION_H
68 virtual const std::string&
name()
const {
return m_name; }
Definition of the DbConnection class.
virtual const std::string & name() const
Access Database identifier.
int m_type
Connection type.
int m_refCount
Reference count.
DbConnection(const DbConnection &c)
Copy Constructor.
DbConnection(int typ, const std::string &nam, void *hdl)
Constructor with initializing arguments.
void * m_handle
True handle.
virtual int type() const
Access technoliogy type.
DbConnection & operator=(const DbConnection &)=delete
virtual void * handle()
Access object identifier.
int addRef()
Increase reference count.
int release()
Release token: Decrease reference count and eventually delete.
virtual const void * handle() const
virtual ~DbConnection()
Standard destructor.
std::string m_name
Name of this connection.
Description: Handle managing a DbDatabaseObj, a generic Database object.