|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #define POOL_DBTYPE_H 1
37 static const constexpr
unsigned int MASK = ~0x0;
103 static const DbType ROOTTREEINDEX_StorageType =
makeTechnology(2,3);
104 static const DbType ROOTRNTUPLE_StorageType =
makeTechnology(2,5);
114 static const DbType POOL_RDBMS_StorageType =
makeTechnology(11,0);
115 static const DbType POOL_RDBMS_HOMOGENEOUS_StorageType =
makeTechnology(11,1);
116 static const DbType POOL_RDBMS_POLYMORPHIC_StorageType =
makeTechnology(11,2);
119 #endif // POOL_DBTYPE_H
const std::string storageName() const
Human readable storage type.
static DbType getType(const std::string &name)
Access known storage type object by name.
DbType()
Standard constructor.
DbType & operator=(const DbType &typ)
Assignment operator.
static constexpr const unsigned int MAJOR_MASK
MAJOR type mask (3 high bytes set)
const DbType makeTechnology(int major_typ, int minor_typ)
void check() const
Check if type is within allowed range.
int type() const
Access to full type.
static const int MINOR_MASK
MINOR type mask (1 low byte set)
DbType(int value)
Constructor with initializer from.
void missingDriver(DbPrint &str) const
Error message on missing back-end driver implementation.
DbType(const DbType &)=default
Default copy constructor.
int minorType() const
Access to minor type.
int majorType() const
Access to major type.
bool operator<(const DbType &typ) const
Operator less.
~DbType()=default
Standard destructor.
bool exactMatch(const DbType &typ) const
bool match(DbType typ) const
Check if types match.
static constexpr const unsigned int MASK
MASK: all bits set (All bits set)
bool operator==(const DbType &typ) const
Equal operator.
void badStorageType() const
Error processing on bad storage type.