ATLAS Offline Software
Loading...
Searching...
No Matches
pool Namespace Reference

pool namespace More...

Namespaces

namespace  CollectionNames
namespace  FileCatalog
namespace  PersistencySvc
namespace  RootCollection

Classes

class  APRMessaging
 AthMessaging wrapper to set the output level in APR components. More...
class  CollectionColumn
 An implementation of the ICollectionColumn interface for retrieving a description of a column of a collection. More...
class  CollectionDescription
 An implementation of the ICollectionDescription interface used to define the properties of a collection to be constructed and to retrieve these properties after construction. More...
class  CollectionRowBuffer
 A class that acts as a buffer to be filled with the event reference and associated metadata values of a given row to be inserted into a collection by its data editor object. More...
class  CollectionService
 A service for creating, accessing and managing an ensemble of collections of event references. More...
class  CommandLine
class  DatabaseConnection
 Definition of the DbConnection class. More...
class  DatabaseConnectionPolicy
 DatabaseConnectionPolicy is a class holding information on the policy to be followed whenever a database is opened under different situations in terms of transaction context and database existence. More...
class  DatabaseSpecification
class  DbAccessObj
 Description: More...
class  DbColumn
 Description: Definition of the generic column in a (relational) Database. More...
class  DbConnection
 Definition of the DbConnection class. More...
class  DbContainer
 Description: Definition of the object describing a database container Handle managing a DbContainerObj, which is a container of persistent objects. More...
class  DbContainerImp
 "Generic" Container implementation More...
class  DbContainerObj
 Description: More...
class  DbDatabase
 Description: Handle managing a DbDatabaseObj, a generic Database object. More...
class  DbDatabaseObj
 Description: More...
class  DbDomain
 Description: More...
class  DbDomainObj
 Db objects: DbDomainObj. More...
class  DbHandleBase
 Description: Definition of the generic database object handle. More...
struct  DbObjectHolder
class  DbOption
 Description: Definition an option to be supplied to database objects. More...
class  DbPrint
struct  DbPrintLvl
class  DbReflex
 Description: Handle transparent loading of reflection classes. More...
class  DbSelect
 Definition of the DbSelect class. More...
class  DbSession
 Db objects: class DbSession. More...
class  DbSessionObj
 Db objects: DbSessionObj. More...
class  DbStatus
 This class is highly inspired by the error code distribution system as it is used in DEC/VMS or MS/WNT. More...
class  DbStorageExplorer
 The DbStorageExplorer class is able to handle user request for accessing database information such as the container information and to issue scans over database containers. More...
class  DbStorageSvc
 The DbStorageSvc class is able to handle user request for. More...
class  DbString
 Declaration of DbString class. More...
class  DbTransform
class  DbType
class  DbTypeInfo
 Definition of class DbTypeInfo. More...
class  FileDescriptor
 Description: More...
class  ICollection
 An interface to a storage technology specific collection of event references and attributes. More...
class  ICollectionColumn
 An interface for retrieving a description of a column of a collection. More...
class  ICollectionCursor
 An interface used to navigate the result of a query on a collection. More...
class  ICollectionDescription
 An interface used to define the properties of a collection to be constructed and to retrieve these properties after construction. More...
class  IContainer
 IContainer is the base class for container objects. More...
class  IDatabase
 IDatabase is the base class for database objects. More...
class  IDbContainer
 Description: More...
class  IDbDatabase
 IDbDatabase interface. More...
class  IDbDomain
 IDbDomain interface. More...
class  IFileCatalog
class  ImplicitCollection
 An implicit collection implementation of the ICollection interface. More...
class  ImplicitCollectionIterator
 Iterator over an implicit collection. More...
class  IOODatabase
class  IPersistencySvc
 IPersistencySvc is the abstract interface for all services which execute the conversion between transient and persistent objects. More...
class  ISession
 ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a database can be performed within a session. More...
class  IStorageExplorer
 The IStorageExplorer interface is able to handle user request for. More...
class  IStorageSvc
 The IStorageSvc interface is able to handle user request for. More...
class  ITechnologySpecificAttributes
 ITechnologySpecificAttributes is the interface for an object holding technology-specific attributes. More...
class  ITokenIterator
 ITokenIterator is the interface class for iterators of tokens. More...
class  ITransaction
 ITransaction is the interface class for user (macroscopic transactions) Every operation with the pool storage system should be performed within a transaction. More...
class  RefCounter
class  RootDatabase
 Description: ROOT specific implementation of Database file. More...
class  RootDomain
 Description: ROOT specific implementation of Database Domain. More...
class  RootKeyContainer
 Description: ROOT specific implementation of Database container. More...
class  RootKeyIOHandler
class  RootOODb
 Description: ROOT specific implementation of the POOL database structure. More...
class  RootOOKey
class  RootOORNTuple
class  RootOOTree
class  RootOOTreeIndex
class  RootTreeContainer
 Description: ROOT specific implementation of Database container. More...
class  RootTreeIndexContainer
 Description: Spezialization of RootTreeContainer ROOT specific implementation of Database container. More...
class  Shape
 Description: More...
class  SimpleUtilityBase
 Common base class for POOL utilities. More...
class  SystemTools
 Misc utility methods. More...
class  TestDriver
class  TokenList
 A container class to facilitate the use of Token objects. More...
class  Transaction
 Base class for Database Transactions. More...
class  URIParser
 URI parsing utility class. More...
class  Utils
 shortcut for reading file GUID from python More...

Typedefs

typedef const class ShapeShapeH
typedef RootType TypeH
typedef std::string FileID
typedef class DatabaseConnectionConnectionH
typedef const DatabaseConnectionConstConnectionH
typedef class Session * SessionH
typedef void DbObject
typedef int DbAccessMode
typedef std::pair< long long, long long > DbLink
typedef ::Guid Guid

Enumerations

enum  AccessMode {
  NONE = 0 , NOT_OPEN = 1<<0 , READ = 1<<1 , UPDATE = 1<<2 ,
  CREATE = 1<<3 , RECREATE = (1<<4)+(1<<3) , WRITE = 1<<3 , DESTROY = 1<<5
}
 Definition of access modes. More...

Functions

bool operator< (const DbStatus &a, const DbStatus &b)
bool operator> (const DbStatus &a, const DbStatus &b)
const DbType makeTechnology (int major_typ, int minor_typ)
IStorageSvccreateStorageSvc (const std::string &componentName)
static const DbStatus Success (DbStatus::Success)
static const DbStatus Warning (DbStatus::Warning)
static const DbStatus Error (DbStatus::Error)
static const DbStatus ConnTimeout (static_cast< unsigned int >(DbStatus::Error)+2)
void debugBreak ()
 Issue a debug break.
void debugBreak (const std::string &src, const std::string &msg, bool rethrow=true)
 Issue a debug break with error message (to std::cout !!)
void debugBreak (const std::string &src, const std::string &msg, const std::exception &e, bool rethrow=true)
 Debug break with printout and exception chaining.
bool doTrace ()
 Check for tracing.
const char * accessMode (pool::DbAccessMode access_mode)
 Translate access mode to string.
template<class T>
DbStatus deletePtr (T *&p)
 Delete a pointer.
template<class T>
DbStatus releasePtr (T *&p)
 Release a pointer.
template<class T>
int decrementPtr (T *&p)
 Release Reference countable pointer.

Variables

static const DbType TEST_StorageType = makeTechnology(0,0)
static const DbType POOL_StorageType = makeTechnology(1,0)
static const DbType ROOT_StorageType = makeTechnology(2,0)
static const DbType ROOTKEY_StorageType = makeTechnology(2,1)
static const DbType ROOTTREE_StorageType = makeTechnology(2,2)
static const DbType ROOTTREEINDEX_StorageType = makeTechnology(2,3)
static const DbType ROOTRNTUPLE_StorageType = makeTechnology(2,4)
static const DbType OBJY_StorageType = makeTechnology(3,0)
static const DbType ACCESS_StorageType = makeTechnology(4,0)
static const DbType EXCEL_StorageType = makeTechnology(5,0)
static const DbType TEXTJET_StorageType = makeTechnology(6,0)
static const DbType SQLSERVER_StorageType = makeTechnology(7,0)
static const DbType MYSQL_StorageType = makeTechnology(8,0)
static const DbType ORACLE_StorageType = makeTechnology(9,0)
static const DbType XML_StorageType = makeTechnology(10,0)
static const DbType POOL_RDBMS_StorageType = makeTechnology(11,0)
static const DbType POOL_RDBMS_HOMOGENEOUS_StorageType = makeTechnology(11,1)
static const DbType POOL_RDBMS_POLYMORPHIC_StorageType = makeTechnology(11,2)
static const long long int INVALID = ~0x0LL

Detailed Description

pool namespace

Framework include files.

Typedef Documentation

◆ ConnectionH

Definition at line 28 of file FileDescriptor.h.

◆ ConstConnectionH

Definition at line 29 of file FileDescriptor.h.

◆ DbAccessMode

typedef int pool::DbAccessMode

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

◆ DbLink

typedef std::pair< long long, long long > pool::DbLink

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

◆ DbObject

typedef void pool::DbObject

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

◆ FileID

typedef std::string pool::FileID

Definition at line 27 of file FileDescriptor.h.

◆ Guid

typedef ::Guid pool::Guid

Definition at line 19 of file T_AthenaPoolCustCnv.h.

◆ SessionH

typedef class Session * pool::SessionH

Definition at line 35 of file IStorageExplorer.h.

◆ ShapeH

typedef const class Shape * pool::ShapeH

Definition at line 27 of file DbContainerObj.h.

◆ TypeH

Definition at line 30 of file DbReflex.h.

Enumeration Type Documentation

◆ AccessMode

Definition of access modes.

Enumerator
NONE 
NOT_OPEN 
READ 
UPDATE 
CREATE 
RECREATE 
WRITE 
DESTROY 

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

Function Documentation

◆ accessMode()

const char * pool::accessMode ( pool::DbAccessMode access_mode)

Translate access mode to string.

◆ ConnTimeout()

const DbStatus pool::ConnTimeout ( static_cast< unsigned int >(DbStatus::Error)+ 2)
static

◆ createStorageSvc()

IStorageSvc * pool::createStorageSvc ( const std::string & componentName)

◆ debugBreak() [1/3]

void pool::debugBreak ( )

Issue a debug break.

◆ debugBreak() [2/3]

void pool::debugBreak ( const std::string & src,
const std::string & msg,
bool rethrow = true )

Issue a debug break with error message (to std::cout !!)

◆ debugBreak() [3/3]

void pool::debugBreak ( const std::string & src,
const std::string & msg,
const std::exception & e,
bool rethrow = true )

Debug break with printout and exception chaining.

◆ decrementPtr()

template<class T>
int pool::decrementPtr ( T *& p)
inline

Release Reference countable pointer.

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

94 {
95 if ( p ) {
96 int cnt = p->release();
97 if ( 0 >= cnt ) {
98 p = 0;
99 }
100 return cnt;
101 }
102 return ~0x0;
103 }

◆ deletePtr()

template<class T>
DbStatus pool::deletePtr ( T *& p)
inline

Delete a pointer.

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

77 {
78 if ( 0 != p ) {
79 delete p;
80 p = 0;
81 }
82 return Success;
83 }
static const DbStatus Success(DbStatus::Success)

◆ doTrace()

bool pool::doTrace ( )

Check for tracing.

◆ Error()

const DbStatus pool::Error ( DbStatus::Error )
static

◆ makeTechnology()

const DbType pool::makeTechnology ( int major_typ,
int minor_typ )
inline

Definition at line 93 of file DbType.h.

94 { return ((major_typ<<8) + (DbType::MINOR_MASK&minor_typ)); }
static const int MINOR_MASK
MINOR type mask (1 low byte set)
Definition DbType.h:38

◆ operator<()

bool pool::operator< ( const DbStatus & a,
const DbStatus & b )
inline

Definition at line 126 of file DbStatus.h.

127 { return a.m_code < b.m_code; }
static Double_t a

◆ operator>()

bool pool::operator> ( const DbStatus & a,
const DbStatus & b )
inline

Definition at line 128 of file DbStatus.h.

129 { return a.m_code < b.m_code; }

◆ releasePtr()

template<class T>
DbStatus pool::releasePtr ( T *& p)
inline

Release a pointer.

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

85 {
86 if ( 0 != p ) {
87 p->release();
88 p = 0;
89 }
90 return Success;
91 }

◆ Success()

const DbStatus pool::Success ( DbStatus::Success )
static

◆ Warning()

const DbStatus pool::Warning ( DbStatus::Warning )
static

Variable Documentation

◆ ACCESS_StorageType

const DbType pool::ACCESS_StorageType = makeTechnology(4,0)
static

Definition at line 105 of file DbType.h.

◆ EXCEL_StorageType

const DbType pool::EXCEL_StorageType = makeTechnology(5,0)
static

Definition at line 106 of file DbType.h.

◆ INVALID

const long long int pool::INVALID = ~0x0LL
static

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

◆ MYSQL_StorageType

const DbType pool::MYSQL_StorageType = makeTechnology(8,0)
static

Definition at line 109 of file DbType.h.

◆ OBJY_StorageType

const DbType pool::OBJY_StorageType = makeTechnology(3,0)
static

Definition at line 104 of file DbType.h.

◆ ORACLE_StorageType

const DbType pool::ORACLE_StorageType = makeTechnology(9,0)
static

Definition at line 110 of file DbType.h.

◆ POOL_RDBMS_HOMOGENEOUS_StorageType

const DbType pool::POOL_RDBMS_HOMOGENEOUS_StorageType = makeTechnology(11,1)
static

Definition at line 114 of file DbType.h.

◆ POOL_RDBMS_POLYMORPHIC_StorageType

const DbType pool::POOL_RDBMS_POLYMORPHIC_StorageType = makeTechnology(11,2)
static

Definition at line 115 of file DbType.h.

◆ POOL_RDBMS_StorageType

const DbType pool::POOL_RDBMS_StorageType = makeTechnology(11,0)
static

Definition at line 113 of file DbType.h.

◆ POOL_StorageType

const DbType pool::POOL_StorageType = makeTechnology(1,0)
static

Definition at line 98 of file DbType.h.

◆ ROOT_StorageType

const DbType pool::ROOT_StorageType = makeTechnology(2,0)
static

Definition at line 99 of file DbType.h.

◆ ROOTKEY_StorageType

const DbType pool::ROOTKEY_StorageType = makeTechnology(2,1)
static

Definition at line 100 of file DbType.h.

◆ ROOTRNTUPLE_StorageType

const DbType pool::ROOTRNTUPLE_StorageType = makeTechnology(2,4)
static

Definition at line 103 of file DbType.h.

◆ ROOTTREE_StorageType

const DbType pool::ROOTTREE_StorageType = makeTechnology(2,2)
static

Definition at line 101 of file DbType.h.

◆ ROOTTREEINDEX_StorageType

const DbType pool::ROOTTREEINDEX_StorageType = makeTechnology(2,3)
static

Definition at line 102 of file DbType.h.

◆ SQLSERVER_StorageType

const DbType pool::SQLSERVER_StorageType = makeTechnology(7,0)
static

Definition at line 108 of file DbType.h.

◆ TEST_StorageType

const DbType pool::TEST_StorageType = makeTechnology(0,0)
static

Definition at line 97 of file DbType.h.

◆ TEXTJET_StorageType

const DbType pool::TEXTJET_StorageType = makeTechnology(6,0)
static

Definition at line 107 of file DbType.h.

◆ XML_StorageType

const DbType pool::XML_StorageType = makeTechnology(10,0)
static

Definition at line 111 of file DbType.h.