![]() |
ATLAS Offline Software
|
Keeps information about storage technology. More...
#include <StorageSvc/DbType.h>
Public Member Functions | |
| DbType () | |
| Standard constructor. | |
| DbType (int value) | |
| Constructor with initializer from. | |
| DbType (const DbType &)=default | |
| Default copy constructor. | |
| ~DbType ()=default | |
| Standard destructor. | |
| DbType & | operator= (const DbType &typ) |
| Assignment operator. | |
| bool | operator== (const DbType &typ) const |
| Equal operator. | |
| bool | operator< (const DbType &typ) const |
| Operator less. | |
| int | type () const |
| Access to full type. | |
| int | majorType () const |
| Access to major type. | |
| int | minorType () const |
| Access to minor type. | |
| bool | match (DbType typ) const |
| Check if types match. | |
| bool | exactMatch (const DbType &typ) const |
| const std::string | storageName () const |
| Human readable storage type. | |
Static Public Member Functions | |
| static DbType | getType (const std::string &name) |
| Access known storage type object by name. | |
Static Public Attributes | |
| static const constexpr unsigned int | MASK = ~0x0 |
| MASK: all bits set (All bits set). | |
| static const int | MINOR_MASK = 0xFF |
| MINOR type mask (1 low byte set). | |
| static const constexpr unsigned int | MAJOR_MASK = MASK<<8 |
| MAJOR type mask (3 high bytes set). | |
Private Attributes | |
| int | m_type |
| Database type. | |
|
inline |
|
inline |
|
default |
Standard destructor.
|
inline |
Access to major type.
Definition at line 52 of file DbType.h.
|
inline |
|
inline |
Access to minor type.
Definition at line 54 of file DbType.h.
| const std::string DbType::storageName | ( | ) | const |
Human readable storage type.
|
inline |
|
staticconstexpr |
|
static |