|
MythTV master
|
#include <libmythbase/mythstorage.h>
Public Member Functions | |
| GenericDBStorage (StorageUser *user, const QString &table, const QString &column, QString keycolumn, QString keyvalue=QString()) | |
| ~GenericDBStorage () override=default | |
| void | SetKeyValue (const QString &val) |
| void | SetKeyValue (long long val) |
Public Member Functions inherited from SimpleDBStorage | |
| SimpleDBStorage (StorageUser *user, const QString &table, const QString &column) | |
| ~SimpleDBStorage () override=default | |
| void | Load (void) override |
| void | Save (void) override |
| void | Save (const QString &table) override |
| bool | IsSaveRequired (void) const override |
| void | SetSaveRequired (void) override |
Public Member Functions inherited from DBStorage | |
| DBStorage (StorageUser *user, QString table, QString column) | |
| ~DBStorage () override=default | |
Public Member Functions inherited from Storage | |
| Storage ()=default | |
| virtual | ~Storage ()=default |
| virtual void | Load (void)=0 |
| virtual void | Save (void)=0 |
| virtual void | Save (const QString &) |
| virtual bool | IsSaveRequired (void) const |
| virtual void | SetSaveRequired (void) |
Protected Member Functions | |
| QString | GetWhereClause (MSqlBindings &bindings) const override |
| QString | GetSetClause (MSqlBindings &bindings) const override |
| virtual QString | GetWhereClause (MSqlBindings &bindings) const =0 |
| virtual QString | GetSetClause (MSqlBindings &bindings) const |
Protected Member Functions inherited from DBStorage | |
| QString | GetColumnName (void) const |
| QString | GetTableName (void) const |
Protected Attributes | |
| QString | m_keycolumn |
| QString | m_keyvalue |
Protected Attributes inherited from SimpleDBStorage | |
| QString | m_initval |
Protected Attributes inherited from DBStorage | |
| StorageUser * | m_user {nullptr} |
| QString | m_tablename |
| QString | m_columnname |
Definition at line 77 of file mythstorage.h.
|
inline |
Definition at line 80 of file mythstorage.h.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from SimpleDBStorage.
Definition at line 117 of file mythstorage.cpp.
|
overrideprotectedvirtual |
Implements SimpleDBStorage.
Definition at line 108 of file mythstorage.cpp.
|
inline |
Definition at line 88 of file mythstorage.h.
|
inline |
Definition at line 89 of file mythstorage.h.
|
protected |
Definition at line 96 of file mythstorage.h.
Referenced by GetSetClause(), and GetWhereClause().
|
protected |
Definition at line 97 of file mythstorage.h.
Referenced by GetSetClause(), and GetWhereClause().