ATLAS Offline Software
|
pool namespace More...
Namespaces | |
CollectionBaseNames | |
DbPrintLvl | |
FileCatalog | |
PersistencySvc | |
RootCollection | |
Typedefs | |
typedef std::map< std::string, ArgQual > | QualList |
typedef const class Shape * | ShapeH |
typedef RootType | TypeH |
typedef std::string | FileID |
typedef class DatabaseConnection * | ConnectionH |
typedef const DatabaseConnection * | ConstConnectionH |
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 > | |
DbBlob & | operator<< (DbBlob &s, const std::vector< T > &v) |
template<class T > | |
DbBlob & | operator>> (DbBlob &s, std::vector< T > &v) |
template<class T > | |
DbBlob & | operator<< (DbBlob &s, const std::list< T > &l) |
template<class T > | |
DbBlob & | operator>> (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) |
IStorageSvc * | createStorageSvc (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... | |
pool namespace
Framework include files.
typedef class DatabaseConnection * pool::ConnectionH |
Definition at line 28 of file FileDescriptor.h.
Definition at line 29 of file FileDescriptor.h.
typedef int pool::DbAccessMode |
Definition at line 47 of file Database/APR/StorageSvc/StorageSvc/pool.h.
typedef std::pair< long long, long long > pool::DbLink |
Definition at line 48 of file Database/APR/StorageSvc/StorageSvc/pool.h.
typedef void pool::DbObject |
Definition at line 35 of file Database/APR/StorageSvc/StorageSvc/pool.h.
typedef std::string pool::FileID |
Definition at line 27 of file FileDescriptor.h.
typedef ::Guid pool::Guid |
Definition at line 19 of file T_AthenaPoolCustCnv.h.
typedef std::map<std::string,ArgQual> pool::QualList |
typedef class Session * pool::SessionH |
Definition at line 35 of file IStorageExplorer.h.
typedef const class Shape * pool::ShapeH |
Definition at line 27 of file DbContainerObj.h.
typedef RootType pool::TypeH |
Definition at line 30 of file DbReflex.h.
enum pool::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.
const char* pool::accessMode | ( | pool::DbAccessMode | access_mode | ) |
Translate access mode to string.
|
inline |
IStorageSvc* pool::createStorageSvc | ( | const std::string & | componentName | ) |
void pool::debugBreak | ( | ) |
Issue a debug break.
Issue a debug break with error message (to std::cout !!)
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.
|
inline |
|
inline |
Delete a pointer.
Definition at line 102 of file Database/APR/StorageSvc/StorageSvc/pool.h.
bool pool::doTrace | ( | ) |
Check for tracing.
void pool::dumpAttributes | ( | const pool::ICollectionDescription & | description | ) |
void pool::dumpGroups | ( | const pool::ICollectionDescription & | description | ) |
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 | ||
) |
void pool::dumpTokens | ( | const pool::ICollectionDescription & | description | ) |
std::set<std::string> pool::findGroups | ( | const pool::ICollectionDescription & | desc | ) |
std::pair<unsigned int,unsigned int> pool::getColumnWidths | ( | const pool::ICollectionDescription & | description, |
bool | tokens | ||
) |
std::string pool::getGroup | ( | const std::string & | encoded | ) |
Definition at line 129 of file DbStatus.h.
Definition at line 131 of file DbStatus.h.
|
inline |
Release a pointer.
Definition at line 110 of file Database/APR/StorageSvc/StorageSvc/pool.h.
void pool::Tokenize | ( | const std::string & | str, |
std::vector< std::string > & | tokens, | ||
const std::string & | delimiters = " " |
||
) |
std::vector<PAYLOAD> pool::vectorizeMapPayload | ( | const std::map< KEY, PAYLOAD > & | m | ) |