#include <mythstorage.h>
Public Member Functions | |
| GenericDBStorage (StorageUser *_user, QString _table, QString _column, QString _keycolumn, QString _keyvalue=QString::null) | |
| virtual | ~GenericDBStorage () |
| void | SetKeyValue (const QString val) |
| void | SetKeyValue (long long val) |
Protected Member Functions | |
| virtual QString | GetWhereClause (MSqlBindings &bindings) const |
| virtual QString | GetSetClause (MSqlBindings &bindings) const |
Protected Attributes | |
| QString | keycolumn |
| QString | keyvalue |
Definition at line 73 of file mythstorage.h.
| GenericDBStorage::GenericDBStorage | ( | StorageUser * | _user, | |
| QString | _table, | |||
| QString | _column, | |||
| QString | _keycolumn, | |||
| QString | _keyvalue = QString::null | |||
| ) | [inline] |
Definition at line 76 of file mythstorage.h.
| virtual GenericDBStorage::~GenericDBStorage | ( | ) | [inline, virtual] |
Definition at line 81 of file mythstorage.h.
| void GenericDBStorage::SetKeyValue | ( | const QString | val | ) | [inline] |
Definition at line 83 of file mythstorage.h.
| void GenericDBStorage::SetKeyValue | ( | long long | val | ) | [inline] |
Definition at line 84 of file mythstorage.h.
| QString GenericDBStorage::GetWhereClause | ( | MSqlBindings & | bindings | ) | const [protected, virtual] |
Implements SimpleDBStorage.
Definition at line 109 of file mythstorage.cpp.
| QString GenericDBStorage::GetSetClause | ( | MSqlBindings & | bindings | ) | const [protected, virtual] |
Reimplemented from SimpleDBStorage.
Definition at line 118 of file mythstorage.cpp.
QString GenericDBStorage::keycolumn [protected] |
Definition at line 91 of file mythstorage.h.
Referenced by GetSetClause(), and GetWhereClause().
QString GenericDBStorage::keyvalue [protected] |
Definition at line 92 of file mythstorage.h.
Referenced by GetSetClause(), and GetWhereClause().
1.6.3