ATLAS Offline Software
Loading...
Searching...
No Matches
RootKeyStorageFactory Class Reference

#include <RootTechFactory.h>

Inheritance diagram for RootKeyStorageFactory:
Collaboration diagram for RootKeyStorageFactory:

Public Types

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

Public Member Functions

 RootKeyStorageFactory ()
 Standard Constructor.
virtual const std::string & name () const
 Name of the Database implementation.
ITechDomain * createDomain ()
 Create Root Domain object.
ITechDatabase * createDatabase ()
 Create Root Database object (TFile).
ITechContainer * createContainer (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

ITechDomain * m_domainCache {}
 Non-owning cache for the domain pointer.
int m_count = 1

Detailed Description

Definition at line 44 of file RootTechFactory.h.

Member Typedef Documentation

◆ Factory

typedef Gaudi::PluginService::Factory<ITechFactory*()> RootTechFactory::Factory
inherited

Definition at line 22 of file RootTechFactory.h.

Constructor & Destructor Documentation

◆ RootKeyStorageFactory()

RootKeyStorageFactory::RootKeyStorageFactory ( )
inline

Standard Constructor.

Definition at line 47 of file RootTechFactory.h.

RootTechFactory(DbType typ=pool::ROOT_StorageType)
Standard Constructor.
static const DbType ROOTKEY_StorageType
Definition DbType.h:73

Member Function Documentation

◆ addRef()

int RefCounter::addRef ( )
inlineinherited

Increase the reference count.

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

◆ catalogLabel()

const char * RootKeyStorageFactory::catalogLabel ( )
inlinestatic

Label of the specific class.

Definition at line 49 of file RootTechFactory.h.

49{ return "ROOT_Key"; }

◆ createContainer()

ITechContainer * RootTechFactory::createContainer ( const std::string & name,
const DbType & typ )
virtualinherited

Create Root Container object.

Implements ITechFactory.

◆ createDatabase()

ITechDatabase * RootTechFactory::createDatabase ( )
virtualinherited

Create Root Database object (TFile).

Implements ITechFactory.

◆ createDomain()

ITechDomain * RootTechFactory::createDomain ( )
virtualinherited

Create Root Domain object.

Implements ITechFactory.

◆ name()

virtual const std::string & RootTechFactory::name ( ) const
virtualinherited

Name of the Database implementation.

Implements ITechFactory.

◆ release()

void ITechFactory::release ( )
inlineinherited

delete object if ref count drops to 0

Definition at line 43 of file ITechFactory.h.

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

◆ subRef()

int RefCounter::subRef ( )
inlineinherited

Decrease the reference count.

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

56{ return --m_count; }

Member Data Documentation

◆ m_count

int RefCounter::m_count = 1
privateinherited

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

◆ m_domainCache

ITechDomain* RootTechFactory::m_domainCache {}
privateinherited

Non-owning cache for the domain pointer.

Definition at line 41 of file RootTechFactory.h.

41{};

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