ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
pool::RootOOTree Class Reference

#include <RootOODb.h>

Inheritance diagram for pool::RootOOTree:
Collaboration diagram for pool::RootOOTree:

Public Types

typedef Gaudi::PluginService::Factory< IOODatabase *()> Factory
 

Public Member Functions

 RootOOTree ()
 Standard Constructor. More...
 
virtual const std::string & name () const
 Name of the Database implementation. More...
 
IDbDomaincreateDomain ()
 Create Root Domain object. More...
 
IDbDatabasecreateDatabase ()
 Create Root Database object (TFile) More...
 
IDbContainercreateContainer (const DbType &typ)
 Create Root Container object. More...
 
void release ()
 delete object if ref count drops to 0 More...
 
int addRef ()
 Increase the reference count. More...
 
int subRef ()
 Decrease the reference count. More...
 

Static Public Member Functions

static const char * catalogLabel ()
 Label of the specific class. More...
 

Private Attributes

int m_count = 1
 

Detailed Description

Definition at line 69 of file RootOODb.h.

Member Typedef Documentation

◆ Factory

typedef Gaudi::PluginService::Factory<IOODatabase*()> pool::RootOODb::Factory
inherited

Definition at line 40 of file RootOODb.h.

Constructor & Destructor Documentation

◆ RootOOTree()

pool::RootOOTree::RootOOTree ( )
inline

Standard Constructor.

Definition at line 72 of file RootOODb.h.

72 : RootOODb(ROOTTREE_StorageType) { }

Member Function Documentation

◆ addRef()

int pool::RefCounter::addRef ( )
inlineinherited

Increase the reference count.

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

139 { return ++m_count; }

◆ catalogLabel()

static const char* pool::RootOOTree::catalogLabel ( )
inlinestatic

Label of the specific class.

Definition at line 74 of file RootOODb.h.

74 { return "ROOT_Tree"; }

◆ createContainer()

IDbContainer* pool::RootOODb::createContainer ( const DbType typ)
virtualinherited

Create Root Container object.

Implements pool::IOODatabase.

◆ createDatabase()

IDbDatabase* pool::RootOODb::createDatabase ( )
virtualinherited

Create Root Database object (TFile)

Implements pool::IOODatabase.

◆ createDomain()

IDbDomain* pool::RootOODb::createDomain ( )
virtualinherited

Create Root Domain object.

Implements pool::IOODatabase.

◆ name()

virtual const std::string& pool::RootOODb::name ( ) const
virtualinherited

Name of the Database implementation.

Implements pool::IOODatabase.

◆ release()

void pool::IOODatabase::release ( )
inlineinherited

delete object if ref count drops to 0

Definition at line 66 of file IOODatabase.h.

66 { if( RefCounter::subRef() <= 0 ) delete this; }

◆ subRef()

int pool::RefCounter::subRef ( )
inlineinherited

Decrease the reference count.

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

141 { return --m_count; }

Member Data Documentation

◆ m_count

int pool::RefCounter::m_count = 1
privateinherited

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


The documentation for this class was generated from the following file:
pool::RefCounter::m_count
int m_count
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:132
pool::RefCounter::subRef
int subRef()
Decrease the reference count.
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:141
pool::RootOODb::RootOODb
RootOODb(DbType typ=ROOT_StorageType)
Standard Constructor.