ATLAS Offline Software
Namespaces | Classes | Typedefs | Enumerations | Functions
pool Namespace Reference

pool namespace More...

Namespaces

 CollectionBaseNames
 
 DbPrintLvl
 
 FileCatalog
 
 PersistencySvc
 
 RootCollection
 

Classes

class  ArgQual
 
class  Args2Container
 
class  CatalogInfo
 
class  CmdLineArgs
 
class  CmdLineArgs2
 
class  CollAppendBase
 
class  CollectionColumn
 
class  CollectionDescription
 
class  CollectionFactory
 
class  CollectionIndex
 
class  CollectionPool
 
class  CollectionRowBuffer
 
class  CollectionService
 
class  CollSplitByGUIDBase
 
class  CommandLine
 
class  DatabaseConnection
 
class  DatabaseConnectionPolicy
 
class  DatabaseSpecification
 
class  DbAccessObj
 
class  DbArray
 
class  DbBlob
 
class  DbColumn
 
class  DbConnection
 
class  DbContainer
 
class  DbContainerImp
 
class  DbContainerObj
 
class  DbDatabase
 
class  DbDatabaseObj
 
class  DbDomain
 
class  DbDomainObj
 Db objects: DbDomainObj. More...
 
class  DbHandle
 
class  DbHandle< DbObject >
 No void handles allowed: type must be polymorphic! More...
 
class  DbHandleBase
 
class  DbHeap
 Db objects: class DbHeap. More...
 
class  DbIter
 
class  DbIter< DbObject >
 No void objects allowed on the user side! More...
 
class  DbObjectAccessor
 Db objects: class DbObjectAccessor. More...
 
class  DbObjectBuffer
 
class  DbObjectGuard
 
class  DbObjectHandle
 
struct  DbObjectHolder
 
class  DbObjectSet
 
class  DbObjectSetBase
 
class  DbOption
 
class  DbPrint
 
class  DbReflex
 
class  DbSelect
 
class  DbSession
 Db objects: class DbSession. More...
 
class  DbSessionObj
 Db objects: DbSessionObj. More...
 
class  DbStatus
 
class  DbStorageExplorer
 
class  DbStorageSvc
 
class  DbString
 Declaration of DbString class. More...
 
class  DbToken
 Db objects: DbToken, DbToken.h, POOLCore/DbToken.h. More...
 
class  DbTransform
 
class  DbType
 
class  DbTypeInfo
 
class  DstInfo
 
class  Exception
 Base exception class for the POOL system. More...
 
class  FileDescriptor
 
class  ICollection
 
class  ICollectionColumn
 
class  ICollectionCursor
 
class  ICollectionDataEditor
 
class  ICollectionDescription
 
class  ICollectionIndex
 
class  ICollectionQuery
 
class  ICollectionSchemaEditor
 
class  ICollectionService
 
class  IContainer
 
class  IDatabase
 
class  IDbContainer
 
class  IDbDatabase
 
class  IDbDomain
 
class  IFileCatalog
 
class  ImplicitCollection
 An implicit collection implementation of the ICollection interface. More...
 
class  ImplicitCollectionIterator
 
class  IOODatabase
 
class  IPersistencySvc
 
class  IPositionSeek
 Abstract interface for seeking inside a collection. More...
 
class  ISession
 
class  IStorageExplorer
 
class  IStorageSvc
 
class  ITechnologySpecificAttributes
 
class  ITokenIterator
 
class  ITransaction
 
class  MaxEventsInfo
 
class  PersistencySvcException
 Exception class thrown by the classes in the PersistencySvc package. More...
 
class  Progress
 
class  QueryInfo
 
class  RefCounter
 
class  RNTupleContainer
 
class  RootCallEnv
 Helper structure to access context from streamer. More...
 
class  RootDatabase
 
union  RootDataPtr
 
class  RootDomain
 
class  RootKeyContainer
 
class  RootKeyIOHandler
 
class  RootOODb
 
class  RootOOKey
 
class  RootOORNTuple
 
class  RootOOTree
 
class  RootOOTreeIndex
 
class  RootTreeContainer
 
class  RootTreeIndexContainer
 
class  Shape
 
class  SimpleUtilityBase
 Common base class for POOL utilities. More...
 
class  SrcInfo
 
class  SystemTools
 
class  TestDriver
 
class  TokenList
 
class  Transaction
 
class  URIParser
 
class  Utils
 shortcut for reading file GUID from python More...
 

Typedefs

typedef std::map< std::string, ArgQualQualList
 
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

template<class KEY , class PAYLOAD >
std::vector< PAYLOAD > vectorizeMapPayload (const std::map< KEY, PAYLOAD > &m)
 
std::string getKey (const std::string &key, const std::string &encoded)
 
std::string getGroup (const std::string &encoded)
 
std::set< std::string > findGroups (const pool::ICollectionDescription &desc)
 
void dumpAttributes (const pool::ICollectionDescription &description)
 
void dumpTokens (const pool::ICollectionDescription &description)
 
void dumpGroups (const pool::ICollectionDescription &description)
 
void dumpOverlapEval (const pool::ICollectionDescription &desc0, const pool::ICollectionDescription &desc1, const std::vector< std::pair< std::string, std::string > > &spec0, const std::vector< std::pair< std::string, std::string > > &spec1, const std::string &spectype)
 
std::pair< unsigned int, unsigned int > getColumnWidths (const pool::ICollectionDescription &description, bool tokens)
 
void Tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ")
 
template<class T >
DbBloboperator<< (DbBlob &s, const std::vector< T > &v)
 
template<class T >
DbBloboperator>> (DbBlob &s, std::vector< T > &v)
 
template<class T >
DbBloboperator<< (DbBlob &s, const std::list< T > &l)
 
template<class T >
DbBloboperator>> (DbBlob &s, std::list< T > &l)
 
template<class T >
DbStatus DbObjectHandle< T >::makeLink ATLAS_NOT_THREAD_SAFE (const Token *pToken, Token::OID_t &linkH) const
 Add persistent association entry. More...
 
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)
 
void debugBreak ()
 Issue a debug break. More...
 
void debugBreak (const std::string &src, const std::string &msg, bool rethrow=true)
 Issue a debug break with error message (to std::cout !!) More...
 
void debugBreak (const std::string &src, const std::string &msg, const std::exception &e, bool rethrow=true)
 Debug break with printout and exception chaining. More...
 
bool doTrace ()
 Check for tracing. More...
 
const char * accessMode (pool::DbAccessMode access_mode)
 Translate access mode to string. More...
 
template<class T >
DbStatus deletePtr (T *&p)
 Delete a pointer. More...
 
template<class T >
DbStatus releasePtr (T *&p)
 Release a pointer. More...
 
template<class T >
int decrementPtr (T *&p)
 Release Reference countable pointer. More...
 

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 47 of file Database/APR/StorageSvc/StorageSvc/pool.h.

◆ DbLink

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

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

◆ DbObject

typedef void pool::DbObject

Definition at line 35 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.

◆ QualList

typedef std::map<std::string,ArgQual> pool::QualList

Definition at line 120 of file ArgQual.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 65 of file Database/APR/StorageSvc/StorageSvc/pool.h.

65  {
66  NONE = 0,
67  NOT_OPEN = 1<<0,
68  READ = 1<<1,
69  UPDATE = 1<<2,
70  CREATE = 1<<3,
71  RECREATE = (1<<4)+(1<<3),
72  WRITE = 1<<3,
73  DESTROY = 1<<5
74  };

Function Documentation

◆ accessMode()

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

Translate access mode to string.

◆ ATLAS_NOT_THREAD_SAFE()

template<class T >
DbStatus DbObjectHandle<T>::makeLink pool::ATLAS_NOT_THREAD_SAFE ( const Token pToken,
Token::OID_t linkH 
) const
inline

Add persistent association entry.

Definition at line 220 of file DbObject.h.

221  { return DbObjectAccessor::makeObjectLink(Base::ptr(), pToken, linkH); }

◆ 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 119 of file Database/APR/StorageSvc/StorageSvc/pool.h.

119  {
120  if ( p ) {
121  int cnt = p->release();
122  if ( 0 >= cnt ) {
123  p = 0;
124  }
125  return cnt;
126  }
127  return ~0x0;
128  }

◆ deletePtr()

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

Delete a pointer.

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

102  {
103  if ( 0 != p ) {
104  delete p;
105  p = 0;
106  }
107  return Success;
108  }

◆ doTrace()

bool pool::doTrace ( )

Check for tracing.

◆ dumpAttributes()

void pool::dumpAttributes ( const pool::ICollectionDescription description)

◆ dumpGroups()

void pool::dumpGroups ( const pool::ICollectionDescription description)

◆ dumpOverlapEval()

void pool::dumpOverlapEval ( const pool::ICollectionDescription desc0,
const pool::ICollectionDescription desc1,
const std::vector< std::pair< std::string, std::string > > &  spec0,
const std::vector< std::pair< std::string, std::string > > &  spec1,
const std::string &  spectype 
)

◆ dumpTokens()

void pool::dumpTokens ( const pool::ICollectionDescription description)

◆ findGroups()

std::set<std::string> pool::findGroups ( const pool::ICollectionDescription desc)

◆ getColumnWidths()

std::pair<unsigned int,unsigned int> pool::getColumnWidths ( const pool::ICollectionDescription description,
bool  tokens 
)

◆ getGroup()

std::string pool::getGroup ( const std::string &  encoded)

◆ getKey()

std::string pool::getKey ( const std::string &  key,
const std::string &  encoded 
)

◆ makeTechnology()

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

Definition at line 94 of file DbType.h.

95  { return ((major_typ<<8) + (DbType::MINOR_MASK&minor_typ)); }

◆ operator<()

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

Definition at line 129 of file DbStatus.h.

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

◆ operator<<() [1/2]

template<class T >
DbBlob& pool::operator<< ( DbBlob s,
const std::list< T > &  l 
)
inline

Definition at line 370 of file DbBlob.h.

370  {
371  int len = (int)l.size();
372  s << len;
373  for ( typename std::list<T>::const_iterator i = l.begin(); i != l.end(); ++i ) {
374  s << (*i);
375  }
376  return s;
377  }

◆ operator<<() [2/2]

template<class T >
DbBlob& pool::operator<< ( DbBlob s,
const std::vector< T > &  v 
)
inline

Definition at line 345 of file DbBlob.h.

345  {
346  int len = (int)v.size();
347  s << len;
348  for ( typename std::vector<T>::const_iterator i = v.begin(); i != v.end(); ++i ) {
349  s << (*i);
350  }
351  return s;
352  }

◆ operator>()

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

Definition at line 131 of file DbStatus.h.

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

◆ operator>>() [1/2]

template<class T >
DbBlob& pool::operator>> ( DbBlob s,
std::list< T > &  l 
)
inline

Definition at line 381 of file DbBlob.h.

381  {
382  int i, len;
383  s >> len;
384  l.clear();
385  for ( i = 0; i < len; i++ ) {
386  T temp;
387  s >> temp;
388  l.push_back(temp);
389  }
390  return s;
391  }

◆ operator>>() [2/2]

template<class T >
DbBlob& pool::operator>> ( DbBlob s,
std::vector< T > &  v 
)
inline

Definition at line 356 of file DbBlob.h.

356  {
357  int i, len;
358  s >> len;
359  v.clear();
360  for ( i = 0; i < len; i++ ) {
361  T temp;
362  s >> temp;
363  v.push_back(temp);
364  }
365  return s;
366  }

◆ releasePtr()

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

Release a pointer.

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

110  {
111  if ( 0 != p ) {
112  p->release();
113  p = 0;
114  }
115  return Success;
116  }

◆ Tokenize()

void pool::Tokenize ( const std::string &  str,
std::vector< std::string > &  tokens,
const std::string &  delimiters = " " 
)

◆ vectorizeMapPayload()

template<class KEY , class PAYLOAD >
std::vector<PAYLOAD> pool::vectorizeMapPayload ( const std::map< KEY, PAYLOAD > &  m)

Definition at line 21 of file Database/APR/CollectionUtilities/CollectionUtilities/UtilityFuncs.h.

22  {
23  std::vector<PAYLOAD> outputs;
24  for (typename std::map<KEY,PAYLOAD>::const_iterator j = m.begin(); j != m.end(); ++j) {
25  outputs.push_back(j->second);
26  }
27  return outputs;
28  }
NONE
@ NONE
Definition: sTGCenumeration.h:13
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
pool::WRITE
@ WRITE
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:72
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
pool::UPDATE
@ UPDATE
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:69
lumiFormat.i
int i
Definition: lumiFormat.py:92
python.CreateTierZeroArgdict.outputs
outputs
Definition: CreateTierZeroArgdict.py:189
pool::DESTROY
@ DESTROY
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:73
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
pool::READ
@ READ
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:68
pool::RECREATE
@ RECREATE
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:71
python.PyAthena.v
v
Definition: PyAthena.py:157
a
TList * a
Definition: liststreamerinfos.cxx:10
pool::NOT_OPEN
@ NOT_OPEN
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:67
trigbs_pickEvents.cnt
cnt
Definition: trigbs_pickEvents.py:71
CREATE
#define CREATE(__TYPE)
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35