|
swift
|
Class with datastore related utilities. More...
#include <datastoreutility.h>
Public Member Functions | |
| CDatastoreUtility ()=delete | |
| No constructor. | |
Static Public Member Functions | |
| static const QStringList & | getLogCategories () |
| Log.categories. | |
| static bool | dbBoolStringToBool (const QString &dbBool) |
| DB Bool value to bool. | |
| static const QString & | boolToDbYN (bool v) |
| Bool to DB yes/no. | |
| static int | extractIntegerKey (const QString &stringWithKey) |
| Extract key from string like "MyAircraft (33)". | |
| static QString | stripKeyInParentheses (const QString &valueWithKey) |
| Strip the parentheses part, e.g. "foo (123)" => "foo". | |
| static QDateTime | parseTimestamp (const QString ×tamp) |
| Parse a timestamp object. | |
| static bool | parseAutoPublishResponse (const QString &jsonResponse, CStatusMessageList &messages) |
| Auto publish response. | |
Class with datastore related utilities.
Definition at line 24 of file datastoreutility.h.
|
static |
Bool to DB yes/no.
Definition at line 31 of file datastoreutility.cpp.
|
static |
DB Bool value to bool.
Definition at line 29 of file datastoreutility.cpp.
|
static |
Extract key from string like "MyAircraft (33)".
Definition at line 38 of file datastoreutility.cpp.
|
static |
Log.categories.
Definition at line 23 of file datastoreutility.cpp.
|
static |
Auto publish response.
Definition at line 92 of file datastoreutility.cpp.
Parse a timestamp object.
Definition at line 83 of file datastoreutility.cpp.
|
static |
Strip the parentheses part, e.g. "foo (123)" => "foo".
Definition at line 69 of file datastoreutility.cpp.