swift
|
What and how to read web services. More...
Public Types | |
enum | DataRetrievalModeFlag { Unspecified = 0 , DbReading = 1 << 0 , DbWriting = 1 << 1 , Shared = 1 << 2 , SharedInfoOnly = 1 << 3 , Cached = 1 << 4 , Canceled = 1 << 5 , Ignore = 1 << 6 , CacheThenDb = DbReading | Cached , CacheThenShared = Shared | Cached , CacheAndSharedInfo = SharedInfoOnly | Cached , DbReadingOrShared = DbReading | Shared } |
Which data to read, requires corresponding readers. More... | |
Static Public Member Functions | |
static bool | readsFromWeb (CDbFlags::DataRetrievalMode mode) |
Reads from web (or just cached) | |
static QString | flagToString (DataRetrievalModeFlag flag) |
Convert to string. | |
static QString | flagToString (CDbFlags::DataRetrievalMode mode) |
Convert to string. | |
static DataRetrievalModeFlag | modeToModeFlag (DataRetrievalMode mode) |
Mode to flag. More... | |
static DataRetrievalMode | adjustWhenDbIsDown (DataRetrievalMode mode) |
Adjust flag as we already know DB is down. | |
static void | registerMetadata () |
Register metadata. | |
Which data to read, requires corresponding readers.
|
static |
Mode to flag.
Definition at line 49 of file dbflags.cpp.