ATLAS Offline Software
Loading...
Searching...
No Matches
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.
virtual const std::string & name () const
 Name of the Database implementation.
IDbDomaincreateDomain ()
 Create Root Domain object.
IDbDatabasecreateDatabase ()
 Create Root Database object (TFile)
IDbContainercreateContainer (const std::string &name, const DbType &typ)
 Create Root Container object.
void release ()
 delete object if ref count drops to 0
int addRef ()
 Increase the reference count.
int subRef ()
 Decrease the reference count.

Static Public Member Functions

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

Private Attributes

IDbDomainm_domainCache {}
 Non-owning cache for the domain pointer.
int m_count = 1

Detailed Description

Definition at line 72 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 75 of file RootOODb.h.

RootOODb(DbType typ=ROOT_StorageType)
Standard Constructor.
static const DbType ROOTTREE_StorageType
Definition DbType.h:101

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.

◆ catalogLabel()

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

Label of the specific class.

Definition at line 77 of file RootOODb.h.

77{ return "ROOT_Tree"; }

◆ createContainer()

IDbContainer * pool::RootOODb::createContainer ( const std::string & name,
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; }
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.

◆ m_domainCache

IDbDomain* pool::RootOODb::m_domainCache {}
privateinherited

Non-owning cache for the domain pointer.

Definition at line 61 of file RootOODb.h.

61{};

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