#include <StorageSvc/DbType.h>
Definition at line 31 of file DbType.h.
◆ DbType() [1/3]
Standard constructor.
Definition at line 45 of file DbType.h.
◆ DbType() [2/3]
pool::DbType::DbType |
( |
int |
value | ) |
|
|
inline |
Constructor with initializer from.
Definition at line 47 of file DbType.h.
◆ DbType() [3/3]
◆ ~DbType()
pool::DbType::~DbType |
( |
| ) |
|
|
default |
◆ badStorageType()
void pool::DbType::badStorageType |
( |
| ) |
const |
Error processing on bad storage type.
◆ check()
void pool::DbType::check |
( |
| ) |
const |
|
inline |
Check if type is within allowed range.
Definition at line 87 of file DbType.h.
◆ exactMatch()
bool pool::DbType::exactMatch |
( |
const DbType & |
typ | ) |
const |
|
inline |
◆ getType()
static DbType pool::DbType::getType |
( |
const std::string & |
name | ) |
|
|
static |
Access known storage type object by name.
◆ majorType()
int pool::DbType::majorType |
( |
| ) |
const |
|
inline |
Access to major type.
Definition at line 68 of file DbType.h.
◆ match()
bool pool::DbType::match |
( |
DbType |
typ | ) |
const |
|
inline |
Check if types match.
Definition at line 72 of file DbType.h.
72 {
return type() == typ.type(); }
◆ minorType()
int pool::DbType::minorType |
( |
| ) |
const |
|
inline |
Access to minor type.
Definition at line 70 of file DbType.h.
◆ missingDriver()
void pool::DbType::missingDriver |
( |
DbPrint & |
str | ) |
const |
Error message on missing back-end driver implementation.
◆ operator<()
bool pool::DbType::operator< |
( |
const DbType & |
typ | ) |
const |
|
inline |
Operator less.
Definition at line 63 of file DbType.h.
◆ operator=()
Assignment operator.
Definition at line 53 of file DbType.h.
◆ operator==()
bool pool::DbType::operator== |
( |
const DbType & |
typ | ) |
const |
|
inline |
Equal operator.
Definition at line 60 of file DbType.h.
◆ storageName()
const std::string pool::DbType::storageName |
( |
| ) |
const |
Human readable storage type.
◆ type()
int pool::DbType::type |
( |
| ) |
const |
|
inline |
Access to full type.
Definition at line 66 of file DbType.h.
◆ m_type
Database type.
Definition at line 34 of file DbType.h.
◆ MAJOR_MASK
constexpr const unsigned int pool::DbType::MAJOR_MASK = MASK<<8 |
|
staticconstexpr |
MAJOR type mask (3 high bytes set)
Definition at line 41 of file DbType.h.
◆ MASK
constexpr const unsigned int pool::DbType::MASK = ~0x0 |
|
staticconstexpr |
MASK: all bits set (All bits set)
Definition at line 37 of file DbType.h.
◆ MINOR_MASK
const int pool::DbType::MINOR_MASK = 0xFF |
|
static |
MINOR type mask (1 low byte set)
Definition at line 39 of file DbType.h.
The documentation for this class was generated from the following file: