ATLAS Offline Software
Loading...
Searching...
No Matches
pool::IOODatabase Class Referenceabstract

More...

#include <IOODatabase.h>

Inheritance diagram for pool::IOODatabase:
Collaboration diagram for pool::IOODatabase:

Public Member Functions

virtual ~IOODatabase ()
virtual const std::string & name () const =0
 Name of the Database implementation.
virtual IDbDomaincreateDomain (void)=0
 Create Database domain.
virtual IDbDatabasecreateDatabase (void)=0
 Create Database.
virtual IDbContainercreateContainer (const std::string &name, const DbType &typ)=0
 Create Database container.
void release ()
 delete object if ref count drops to 0
int addRef ()
 Increase the reference count.
int subRef ()
 Decrease the reference count.

Private Attributes

int m_count = 1

Detailed Description

The IOODatabase interface allows to:

  • Create Database domains.
  • Create Database files.
  • Create Database containers.
  • The Db conversion service also supports storage technology independent object linking.
Author
Markus Frank
Version
1.0

Definition at line 50 of file IOODatabase.h.

Constructor & Destructor Documentation

◆ ~IOODatabase()

virtual pool::IOODatabase::~IOODatabase ( )
inlinevirtual

Definition at line 52 of file IOODatabase.h.

52{}

Member Function Documentation

◆ addRef()

int pool::RefCounter::addRef ( )
inlineinherited

Increase the reference count.

Definition at line 114 of file Database/APR/StorageSvc/StorageSvc/pool.h.

◆ createContainer()

virtual IDbContainer * pool::IOODatabase::createContainer ( const std::string & name,
const DbType & typ )
pure virtual

Create Database container.

Implemented in pool::RootOODb.

◆ createDatabase()

virtual IDbDatabase * pool::IOODatabase::createDatabase ( void )
pure virtual

Create Database.

Implemented in pool::RootOODb.

◆ createDomain()

virtual IDbDomain * pool::IOODatabase::createDomain ( void )
pure virtual

Create Database domain.

Implemented in pool::RootOODb.

◆ name()

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

Name of the Database implementation.

Implemented in pool::RootOODb.

◆ release()

void pool::IOODatabase::release ( )
inline

delete object if ref count drops to 0

Definition at line 66 of file IOODatabase.h.

66{ if( RefCounter::subRef() <= 0 ) delete this; }
int subRef()
Decrease the reference count.

◆ subRef()

int pool::RefCounter::subRef ( )
inlineinherited

Decrease the reference count.

Definition at line 116 of file Database/APR/StorageSvc/StorageSvc/pool.h.

116{ return --m_count; }

Member Data Documentation

◆ m_count

int pool::RefCounter::m_count = 1
privateinherited

Definition at line 107 of file Database/APR/StorageSvc/StorageSvc/pool.h.


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