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

#include <src/DbDatabaseObj.h>

Inheritance diagram for pool::DbDatabaseObj:
Collaboration diagram for pool::DbDatabaseObj:

Public Types

typedef std::map< std::string, DbContainerObj * > Keys
 
typedef Keys::iterator iterator
 
typedef Keys::const_iterator const_iterator
 

Public Member Functions

 DbDatabaseObj (DbDomain &dom, const std::string &pfn, const std::string &fid, DbAccessMode mode=pool::READ)
 Standard constructor of a Database obejct. More...
 
virtual ~DbDatabaseObj ()
 Standard Destructor. More...
 
const std::string & logon () const
 Access to the logon string. More...
 
long long int size ()
 Access the size of the database: May be undefined for some technologies. More...
 
IDbDatabaseinfo ()
 Access to technology dependent implementation. More...
 
const IDbDatabaseinfo () const
 
DbDomaindomain ()
 Access to domain handle (CONST) More...
 
const DbDomaindomain () const
 
int age () const
 Access age value. More...
 
const Tokentoken () const
 Access the token of the database object. More...
 
DbStatus open ()
 Open Database object. More...
 
DbStatus reopen (DbAccessMode mode)
 Re-open database with changing access permissions. More...
 
DbStatus close ()
 Close database object. More...
 
DbStatus retire ()
 End database access, but still leave database accessible. More...
 
DbStatus transAct (Transaction::Action action)
 Execute Database Transaction action. More...
 
DbStatus read (const Token &token, ShapeH shape, void **object)
 read an object referenced by the token More...
 
DbStatus getLink (const Token::OID_t &oid, Token *pTok)
 Expand OID into a full Token, based on the Links table. More...
 
std::string cntName (Token &token)
 Retrieve container name from link container (using token oid, rather than contID) More...
 
DbStatus makeLink (Token *pToken, Token::OID_t &refLink)
 Add association link to link container. More...
 
const DbTypeInfoobjectShape (const TypeH &classH)
 Retrieve persistent type information by class handle. More...
 
const DbTypeInfoobjectShape (const Guid &nam)
 Retrieve persistent type information by shape identifier. More...
 
const DbTypeInfocontShape (const std::string &nam)
 Retrieve persistent type information by container. More...
 
DbStatus addShape (const DbTypeInfo *pType)
 Add persistent type to the Database. More...
 
const TokencntToken (const std::string &cntName)
 Access local container token (if container exists) More...
 
DbStatus containers (std::vector< const Token * > &conts, bool intern)
 Allow access to all known containers. More...
 
DbStatus containers (std::vector< IDbContainer * > &conts, bool intern)
 
DbStatus associations (std::vector< const Token * > &conts)
 Allow access to all known associations between containers. More...
 
DbStatus shapes (std::vector< const DbTypeInfo * > &shaps)
 Allow access to all known shapes used by the database. More...
 
int nParam ()
 Retrieve the number of user parameters. More...
 
DbStatus addParam (const std::string &nam, const std::string &val)
 Add a persistent parameter to the file. More...
 
DbStatus param (const std::string &nam, std::string &val)
 Retrieve existing parameter by name. More...
 
DbStatus params (std::vector< std::pair< std::string, std::string > > &vals)
 Retrieve all parameters. More...
 
DbStatus setOption (const DbOption &refOpt)
 Set options. More...
 
DbStatus getOption (DbOption &refOpt)
 Access options. More...
 
void setAge (int value)
 Update database age. More...
 
const std::string & name () const
 Access the instance name. More...
 
void setName (const std::string &n)
 Access the instance name. More...
 
DbAccessMode mode () const
 Access mode. More...
 
void setMode (DbAccessMode m)
 Set Access mode. More...
 
const DbTypetype () const
 
const IOODatabasedb () const
 Allow access to the Database implementation. More...
 
IOODatabasedb ()
 
int refCount () const
 Access reference counter. More...
 
int addRef () const
 Add reference count. More...
 
int release () const
 Remove reference count. More...
 
DbStatus clearEntries ()
 Object cleanup: remove all entries. More...
 
const DbContainerObjfind (const std::string &key) const
 Find object by key (CONST) More...
 
DbContainerObjfind (const std::string &key)
 Find object by key. More...
 
DbStatus add (const std::string &key, DbContainerObj *val)
 Add entry to container. More...
 
DbStatus remove (const DbContainerObj *val)
 Remove entry from container. More...
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Private Types

typedef RootType TypeH
 Reflection class identifier. More...
 
typedef std::pair< std::string, std::string > Parameter
 Database parameter definition. More...
 
typedef std::vector< ParameterParameters
 Database parameter container definition. More...
 
typedef std::vector< DbContainerObjContainers
 Collection of retired database containers. More...
 
typedef std::map< std::string, std::string > ParamMap
 Parameter map definition. More...
 
typedef std::map< Guid, Token * > LinkMap
 Definition of map with link elements. More...
 
typedef std::vector< Token * > LinkVector
 Definition of array with link elements. More...
 
typedef std::map< Guid, const DbTypeInfo * > ShapeMap
 Definition of map with shape elements. More...
 
typedef std::map< long long int, int > IndexMap
 Definition of map with index elements. More...
 
typedef DbAccessObj< std::string, DbContainerObjBase
 Base class convenience typdef. More...
 

Private Member Functions

DbStatus cleanup ()
 Perform cleanup of internal data structures. More...
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

DbDomain m_dom
 Handle to domain. More...
 
DbContainer m_links
 Handle to link container. More...
 
DbContainer m_shapes
 Handle to shapes container. More...
 
DbContainer m_params
 Handle to the parameter container. More...
 
IDbDatabasem_info
 Technology dependent implementation block. More...
 
LinkMap m_linkMap
 Map containing all links. More...
 
LinkVector m_linkVec
 Random access array containing all links. More...
 
IndexMap m_indexMap
 Map containing all index. More...
 
ShapeMap m_shapeMap
 Map containing all shapes. More...
 
ParamMap m_paramMap
 Map with all cached file properties. More...
 
std::map< TypeH, const DbTypeInfo * > m_classMap
 Map with all cached mappings between known reflection classes. More...
 
Containers m_retiredConts
 Collection of retired database containers. More...
 
const DbTypeInfom_string_t
 Internal string representation type. More...
 
std::string m_logon
 Physical Database login. More...
 
int m_fileAge
 File age counter. More...
 
Tokenm_token
 Token describing the object. More...
 
std::atomic< int > m_refCount
 Reference counter. More...
 
DbAccessMode m_mode
 Access mode. More...
 
std::string m_name
 Name of the instance. More...
 
DbType m_type
 Database type. More...
 
Keys m_keys
 Key entry buffer. More...
 
IOODatabasem_pool
 Pointer to specific pool implementation. More...
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Description:

Implementation independent part of a Database object objects.

Author
M.Frank
Version
1.0

Definition at line 47 of file DbDatabaseObj.h.

Member Typedef Documentation

◆ Base

typedef DbAccessObj<std::string, DbContainerObj > pool::DbDatabaseObj::Base
private

Base class convenience typdef.

Definition at line 68 of file DbDatabaseObj.h.

◆ const_iterator

typedef Keys::const_iterator pool::DbAccessObj< std::string , DbContainerObj >::const_iterator
inherited

Definition at line 53 of file DbAccessObj.h.

◆ Containers

typedef std::vector< DbContainerObj > pool::DbDatabaseObj::Containers
private

Collection of retired database containers.

Definition at line 56 of file DbDatabaseObj.h.

◆ IndexMap

typedef std::map< long long int , int > pool::DbDatabaseObj::IndexMap
private

Definition of map with index elements.

Definition at line 66 of file DbDatabaseObj.h.

◆ iterator

typedef Keys::iterator pool::DbAccessObj< std::string , DbContainerObj >::iterator
inherited

Definition at line 52 of file DbAccessObj.h.

◆ Keys

typedef std::map< std::string , DbContainerObj * > pool::DbAccessObj< std::string , DbContainerObj >::Keys
inherited

Definition at line 51 of file DbAccessObj.h.

◆ LinkMap

typedef std::map< Guid , Token* > pool::DbDatabaseObj::LinkMap
private

Definition of map with link elements.

Definition at line 60 of file DbDatabaseObj.h.

◆ LinkVector

typedef std::vector<Token*> pool::DbDatabaseObj::LinkVector
private

Definition of array with link elements.

Definition at line 62 of file DbDatabaseObj.h.

◆ Parameter

typedef std::pair<std::string, std::string> pool::DbDatabaseObj::Parameter
private

Database parameter definition.

Definition at line 52 of file DbDatabaseObj.h.

◆ Parameters

typedef std::vector< Parameter > pool::DbDatabaseObj::Parameters
private

Database parameter container definition.

Definition at line 54 of file DbDatabaseObj.h.

◆ ParamMap

typedef std::map<std::string, std::string> pool::DbDatabaseObj::ParamMap
private

Parameter map definition.

Definition at line 58 of file DbDatabaseObj.h.

◆ ShapeMap

typedef std::map< Guid , const DbTypeInfo* > pool::DbDatabaseObj::ShapeMap
private

Definition of map with shape elements.

Definition at line 64 of file DbDatabaseObj.h.

◆ TypeH

Reflection class identifier.

Definition at line 50 of file DbDatabaseObj.h.

Constructor & Destructor Documentation

◆ DbDatabaseObj()

pool::DbDatabaseObj::DbDatabaseObj ( DbDomain dom,
const std::string &  pfn,
const std::string &  fid,
DbAccessMode  mode = pool::READ 
)

Standard constructor of a Database obejct.

◆ ~DbDatabaseObj()

virtual pool::DbDatabaseObj::~DbDatabaseObj ( )
virtual

Standard Destructor.

Member Function Documentation

◆ add()

DbStatus pool::DbAccessObj< std::string , DbContainerObj >::add ( const std::string &  key,
DbContainerObj val 
)
inlineinherited

Add entry to container.

Definition at line 142 of file DbAccessObj.h.

142  {
143  iterator i = m_keys.find(key);
144  if ( m_keys.end() == i ) {
145  m_keys.insert(std::make_pair(key, val));
146  val->addRef();
147  return Success;
148  }
149  return Error;
150  }

◆ addParam()

DbStatus pool::DbDatabaseObj::addParam ( const std::string &  nam,
const std::string &  val 
)

Add a persistent parameter to the file.

◆ addRef()

int pool::DbAccessObj< std::string , DbContainerObj >::addRef
inlineinherited

Add reference count.

Definition at line 91 of file DbAccessObj.h.

91  {
92 #ifdef DEBUG_REFCOUNTS
93  std::cout << typeid(*this).name()
94  << " "
95  << m_name
96  << " Refcount:"
97  << m_refCount+1
98  << std::endl;
99 #endif
100  return ++m_refCount;
101  }

◆ addShape()

DbStatus pool::DbDatabaseObj::addShape ( const DbTypeInfo pType)

Add persistent type to the Database.

◆ age()

int pool::DbDatabaseObj::age ( ) const
inline

Access age value.

Definition at line 125 of file DbDatabaseObj.h.

125 { return m_fileAge; }

◆ associations()

DbStatus pool::DbDatabaseObj::associations ( std::vector< const Token * > &  conts)

Allow access to all known associations between containers.

◆ begin() [1/2]

iterator pool::DbAccessObj< std::string , DbContainerObj >::begin
inlineinherited

Definition at line 163 of file DbAccessObj.h.

163 { return m_keys.begin(); }

◆ begin() [2/2]

const_iterator pool::DbAccessObj< std::string , DbContainerObj >::begin
inlineinherited

Definition at line 164 of file DbAccessObj.h.

164 { return m_keys.begin(); }

◆ cleanup()

DbStatus pool::DbDatabaseObj::cleanup ( )
private

Perform cleanup of internal data structures.

◆ clearEntries()

DbStatus pool::DbAccessObj< std::string , DbContainerObj >::clearEntries
inlineinherited

Object cleanup: remove all entries.

Definition at line 123 of file DbAccessObj.h.

123  {
124  Keys k = m_keys;
125  for(iterator j = k.begin(); j != k.end(); ++j ) {
126  (*j).second->release();
127  }
128  m_keys.clear();
129  return Success;
130  }

◆ close()

DbStatus pool::DbDatabaseObj::close ( )

Close database object.

◆ cntName()

std::string pool::DbDatabaseObj::cntName ( Token token)

Retrieve container name from link container (using token oid, rather than contID)

◆ cntToken()

const Token* pool::DbDatabaseObj::cntToken ( const std::string &  cntName)

Access local container token (if container exists)

◆ containers() [1/2]

DbStatus pool::DbDatabaseObj::containers ( std::vector< const Token * > &  conts,
bool  intern 
)

Allow access to all known containers.

◆ containers() [2/2]

DbStatus pool::DbDatabaseObj::containers ( std::vector< IDbContainer * > &  conts,
bool  intern 
)

◆ contShape()

const DbTypeInfo* pool::DbDatabaseObj::contShape ( const std::string &  nam)

Retrieve persistent type information by container.

◆ db() [1/2]

IOODatabase* pool::DbAccessObj< std::string , DbContainerObj >::db
inlineinherited

Definition at line 87 of file DbAccessObj.h.

87 { return m_pool; }

◆ db() [2/2]

const IOODatabase* pool::DbAccessObj< std::string , DbContainerObj >::db
inlineinherited

Allow access to the Database implementation.

Definition at line 86 of file DbAccessObj.h.

86 { return m_pool; }

◆ domain() [1/2]

DbDomain& pool::DbDatabaseObj::domain ( )
inline

Access to domain handle (CONST)

Definition at line 122 of file DbDatabaseObj.h.

122 { return m_dom; }

◆ domain() [2/2]

const DbDomain& pool::DbDatabaseObj::domain ( ) const
inline

Definition at line 123 of file DbDatabaseObj.h.

123 { return m_dom; }

◆ end() [1/2]

iterator pool::DbAccessObj< std::string , DbContainerObj >::end
inlineinherited

Definition at line 165 of file DbAccessObj.h.

165 { return m_keys.end(); }

◆ end() [2/2]

const_iterator pool::DbAccessObj< std::string , DbContainerObj >::end
inlineinherited

Definition at line 166 of file DbAccessObj.h.

166 { return m_keys.end(); }

◆ find() [1/2]

DbContainerObj * pool::DbAccessObj< std::string , DbContainerObj >::find ( const std::string &  key)
inlineinherited

Find object by key.

Definition at line 137 of file DbAccessObj.h.

137  {
138  iterator i = m_keys.find(key);
139  return (m_keys.end() == i) ? 0 : (*i).second;
140  }

◆ find() [2/2]

const DbContainerObj * pool::DbAccessObj< std::string , DbContainerObj >::find ( const std::string &  key) const
inlineinherited

Find object by key (CONST)

Definition at line 132 of file DbAccessObj.h.

132  {
133  const_iterator i = m_keys.find(key);
134  return (m_keys.end() == i) ? 0 : (*i).second;
135  }

◆ getLink()

DbStatus pool::DbDatabaseObj::getLink ( const Token::OID_t oid,
Token pTok 
)

Expand OID into a full Token, based on the Links table.

◆ getOption()

DbStatus pool::DbDatabaseObj::getOption ( DbOption refOpt)

Access options.

◆ info() [1/2]

IDbDatabase* pool::DbDatabaseObj::info ( )
inline

Access to technology dependent implementation.

Definition at line 119 of file DbDatabaseObj.h.

119 { return m_info; }

◆ info() [2/2]

const IDbDatabase* pool::DbDatabaseObj::info ( ) const
inline

Definition at line 120 of file DbDatabaseObj.h.

120 { return m_info; }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  // If user did not set an explicit level, set a default
43  if (m_lvl == MSG::NIL) {
44  m_lvl = m_imsg ?
45  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
46  MSG::INFO;
47  }
48 }

◆ logon()

const std::string& pool::DbDatabaseObj::logon ( ) const
inline

Access to the logon string.

Definition at line 115 of file DbDatabaseObj.h.

115 { return m_logon; }

◆ makeLink()

DbStatus pool::DbDatabaseObj::makeLink ( Token pToken,
Token::OID_t refLink 
)

Add association link to link container.

◆ mode()

DbAccessMode pool::DbAccessObj< std::string , DbContainerObj >::mode
inlineinherited

Access mode.

Definition at line 80 of file DbAccessObj.h.

80 { return m_mode; }

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 163 of file AthMessaging.h.

164 {
165  MsgStream* ms = m_msg_tls.get();
166  if (!ms) {
167  if (!m_initialized.test_and_set()) initMessaging();
168  ms = new MsgStream(m_imsg,m_nm);
169  m_msg_tls.reset( ms );
170  }
171 
172  ms->setLevel (m_lvl);
173  return *ms;
174 }

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level  lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 178 of file AthMessaging.h.

179 { return msg() << lvl; }

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (m_lvl <= lvl) {
154  msg() << lvl;
155  return true;
156  } else {
157  return false;
158  }
159 }

◆ name()

const std::string& pool::DbAccessObj< std::string , DbContainerObj >::name
inlineinherited

Access the instance name.

Definition at line 76 of file DbAccessObj.h.

76 { return m_name; }

◆ nParam()

int pool::DbDatabaseObj::nParam ( )

Retrieve the number of user parameters.

◆ objectShape() [1/2]

const DbTypeInfo* pool::DbDatabaseObj::objectShape ( const Guid nam)

Retrieve persistent type information by shape identifier.

◆ objectShape() [2/2]

const DbTypeInfo* pool::DbDatabaseObj::objectShape ( const TypeH classH)

Retrieve persistent type information by class handle.

◆ open()

DbStatus pool::DbDatabaseObj::open ( )

Open Database object.

◆ param()

DbStatus pool::DbDatabaseObj::param ( const std::string &  nam,
std::string &  val 
)

Retrieve existing parameter by name.

◆ params()

DbStatus pool::DbDatabaseObj::params ( std::vector< std::pair< std::string, std::string > > &  vals)

Retrieve all parameters.

◆ read()

DbStatus pool::DbDatabaseObj::read ( const Token token,
ShapeH  shape,
void **  object 
)

read an object referenced by the token

◆ refCount()

int pool::DbAccessObj< std::string , DbContainerObj >::refCount
inlineinherited

Access reference counter.

Definition at line 89 of file DbAccessObj.h.

89 { return m_refCount; }

◆ release()

int pool::DbAccessObj< std::string , DbContainerObj >::release
inlineinherited

Remove reference count.

Definition at line 103 of file DbAccessObj.h.

103  {
104  int count = --m_refCount;
105 #ifdef DEBUG_REFCOUNTS
106  std::cout << typeid(*this).name()
107  << " "
108  << m_name
109  << " Refcount:"
110  << count
111  << std::endl;
112 #endif
113  if ( count == 0 ) {
114  delete this;
115  }
116  return count;
117  }

◆ remove()

DbStatus pool::DbAccessObj< std::string , DbContainerObj >::remove ( const DbContainerObj val)
inlineinherited

Remove entry from container.

Definition at line 152 of file DbAccessObj.h.

152  {
153  for (iterator j = m_keys.begin(); j != m_keys.end(); ++j ) {
154  if ( (*j).second == val ) {
155  TYPE* p = (*j).second;
156  m_keys.erase(j);
157  p->release();
158  return Success;
159  }
160  }
161  return Error;
162  }

◆ reopen()

DbStatus pool::DbDatabaseObj::reopen ( DbAccessMode  mode)

Re-open database with changing access permissions.

◆ retire()

DbStatus pool::DbDatabaseObj::retire ( )

End database access, but still leave database accessible.

◆ setAge()

void pool::DbDatabaseObj::setAge ( int  value)

Update database age.

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ setMode()

void pool::DbAccessObj< std::string , DbContainerObj >::setMode ( DbAccessMode  m)
inlineinherited

Set Access mode.

Definition at line 82 of file DbAccessObj.h.

82 { m_mode = m; }

◆ setName()

void pool::DbAccessObj< std::string , DbContainerObj >::setName ( const std::string &  n)
inlineinherited

Access the instance name.

Definition at line 78 of file DbAccessObj.h.

78 { m_name = n; }

◆ setOption()

DbStatus pool::DbDatabaseObj::setOption ( const DbOption refOpt)

Set options.

◆ shapes()

DbStatus pool::DbDatabaseObj::shapes ( std::vector< const DbTypeInfo * > &  shaps)

Allow access to all known shapes used by the database.

◆ size()

long long int pool::DbDatabaseObj::size ( )

Access the size of the database: May be undefined for some technologies.

◆ token()

const Token* pool::DbDatabaseObj::token ( ) const
inline

Access the token of the database object.

Definition at line 127 of file DbDatabaseObj.h.

127 { return m_token; }

◆ transAct()

DbStatus pool::DbDatabaseObj::transAct ( Transaction::Action  action)

Execute Database Transaction action.

◆ type()

const DbType& pool::DbAccessObj< std::string , DbContainerObj >::type
inlineinherited

Definition at line 84 of file DbAccessObj.h.

84 { return m_type; }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_classMap

std::map<TypeH, const DbTypeInfo*> pool::DbDatabaseObj::m_classMap
private

Map with all cached mappings between known reflection classes.

Definition at line 91 of file DbDatabaseObj.h.

◆ m_dom

DbDomain pool::DbDatabaseObj::m_dom
private

Handle to domain.

Definition at line 71 of file DbDatabaseObj.h.

◆ m_fileAge

int pool::DbDatabaseObj::m_fileAge
private

File age counter.

Definition at line 99 of file DbDatabaseObj.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_indexMap

IndexMap pool::DbDatabaseObj::m_indexMap
private

Map containing all index.

Definition at line 85 of file DbDatabaseObj.h.

◆ m_info

IDbDatabase* pool::DbDatabaseObj::m_info
private

Technology dependent implementation block.

Definition at line 79 of file DbDatabaseObj.h.

◆ m_keys

Keys pool::DbAccessObj< std::string , DbContainerObj >::m_keys
privateinherited

Key entry buffer.

Definition at line 64 of file DbAccessObj.h.

◆ m_linkMap

LinkMap pool::DbDatabaseObj::m_linkMap
private

Map containing all links.

Definition at line 81 of file DbDatabaseObj.h.

◆ m_links

DbContainer pool::DbDatabaseObj::m_links
private

Handle to link container.

Definition at line 73 of file DbDatabaseObj.h.

◆ m_linkVec

LinkVector pool::DbDatabaseObj::m_linkVec
private

Random access array containing all links.

Definition at line 83 of file DbDatabaseObj.h.

◆ m_logon

std::string pool::DbDatabaseObj::m_logon
private

Physical Database login.

Definition at line 97 of file DbDatabaseObj.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_mode

DbAccessMode pool::DbAccessObj< std::string , DbContainerObj >::m_mode
privateinherited

Access mode.

Definition at line 58 of file DbAccessObj.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_name

std::string pool::DbAccessObj< std::string , DbContainerObj >::m_name
privateinherited

Name of the instance.

Definition at line 60 of file DbAccessObj.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_paramMap

ParamMap pool::DbDatabaseObj::m_paramMap
private

Map with all cached file properties.

Definition at line 89 of file DbDatabaseObj.h.

◆ m_params

DbContainer pool::DbDatabaseObj::m_params
private

Handle to the parameter container.

Definition at line 77 of file DbDatabaseObj.h.

◆ m_pool

IOODatabase* pool::DbAccessObj< std::string , DbContainerObj >::m_pool
privateinherited

Pointer to specific pool implementation.

Definition at line 66 of file DbAccessObj.h.

◆ m_refCount

std::atomic<int> pool::DbAccessObj< std::string , DbContainerObj >::m_refCount
mutableprivateinherited

Reference counter.

Definition at line 56 of file DbAccessObj.h.

◆ m_retiredConts

Containers pool::DbDatabaseObj::m_retiredConts
private

Collection of retired database containers.

Definition at line 93 of file DbDatabaseObj.h.

◆ m_shapeMap

ShapeMap pool::DbDatabaseObj::m_shapeMap
private

Map containing all shapes.

Definition at line 87 of file DbDatabaseObj.h.

◆ m_shapes

DbContainer pool::DbDatabaseObj::m_shapes
private

Handle to shapes container.

Definition at line 75 of file DbDatabaseObj.h.

◆ m_string_t

const DbTypeInfo* pool::DbDatabaseObj::m_string_t
private

Internal string representation type.

Definition at line 95 of file DbDatabaseObj.h.

◆ m_token

Token* pool::DbDatabaseObj::m_token
private

Token describing the object.

Definition at line 101 of file DbDatabaseObj.h.

◆ m_type

DbType pool::DbAccessObj< std::string , DbContainerObj >::m_type
privateinherited

Database type.

Definition at line 62 of file DbAccessObj.h.


The documentation for this class was generated from the following file:
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
pool::DbAccessObj< std::string, DbContainerObj >::m_mode
DbAccessMode m_mode
Access mode.
Definition: DbAccessObj.h:58
pool::DbAccessObj< std::string, DbContainerObj >::m_type
DbType m_type
Database type.
Definition: DbAccessObj.h:62
pool::DbDatabaseObj::m_dom
DbDomain m_dom
Handle to domain.
Definition: DbDatabaseObj.h:71
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
XMLtoHeader.count
count
Definition: XMLtoHeader.py:84
pool::DbDatabaseObj::m_token
Token * m_token
Token describing the object.
Definition: DbDatabaseObj.h:101
pool::DbDatabaseObj::m_info
IDbDatabase * m_info
Technology dependent implementation block.
Definition: DbDatabaseObj.h:79
pool::DbAccessObj< std::string, DbContainerObj >::m_refCount
std::atomic< int > m_refCount
Reference counter.
Definition: DbAccessObj.h:56
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:727
pool::DbAccessObj< std::string, DbContainerObj >::const_iterator
Keys::const_iterator const_iterator
Definition: DbAccessObj.h:53
pool::DbAccessObj< std::string, DbContainerObj >::m_keys
Keys m_keys
Key entry buffer.
Definition: DbAccessObj.h:64
pool::DbAccessObj< std::string, DbContainerObj >::m_name
std::string m_name
Name of the instance.
Definition: DbAccessObj.h:60
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:163
pool::DbAccessObj< std::string, DbContainerObj >::iterator
Keys::iterator iterator
Definition: DbAccessObj.h:52
TYPE
#define TYPE(CODE, TYP, IOTYP)
pool::DbAccessObj< std::string, DbContainerObj >::Keys
std::map< std::string, DbContainerObj * > Keys
Definition: DbAccessObj.h:51
python.Constants.INFO
int INFO
Definition: Control/AthenaCommon/python/Constants.py:15
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
pool::DbDatabaseObj::m_fileAge
int m_fileAge
File age counter.
Definition: DbDatabaseObj.h:99
L1Topo::Error
Error
The different types of error that can be flagged in the L1TopoRDO.
Definition: Error.h:16
TrigConf::MSGTC::NIL
@ NIL
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:22
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
pool::DbAccessObj< std::string, DbContainerObj >::m_pool
IOODatabase * m_pool
Pointer to specific pool implementation.
Definition: DbAccessObj.h:66
pool::DbDatabaseObj::m_logon
std::string m_logon
Physical Database login.
Definition: DbDatabaseObj.h:97
fitman.k
k
Definition: fitman.py:528
python.SystemOfUnits.m
float m
Definition: SystemOfUnits.py:106
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
python.SystemOfUnits.ms
float ms
Definition: SystemOfUnits.py:148