MythTV
master
|
#include <mythstorage.h>
Public Member Functions | |
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 |
![]() | |
DBStorage (StorageUser *user, QString table, QString column) | |
~DBStorage () override=default | |
![]() | |
Storage ()=default | |
virtual | ~Storage ()=default |
Protected Member Functions | |
virtual QString | GetWhereClause (MSqlBindings &bindings) const =0 |
virtual QString | GetSetClause (MSqlBindings &bindings) const |
![]() | |
QString | GetColumnName (void) const |
QString | GetTableName (void) const |
Protected Attributes | |
QString | m_initval |
![]() | |
StorageUser * | m_user {nullptr} |
QString | m_tablename |
QString | m_columnname |
Definition at line 55 of file mythstorage.h.
|
inline |
Definition at line 58 of file mythstorage.h.
|
overridedefault |
|
overridevirtual |
Implements Storage.
Reimplemented in MPEG2audType, and SampleRate.
Definition at line 9 of file mythstorage.cpp.
Referenced by SampleRate::Load(), and MPEG2audType::Load().
|
overridevirtual |
Implements Storage.
Reimplemented in GlobalDBStorage, and HostDBStorage.
Definition at line 81 of file mythstorage.cpp.
Referenced by HostDBStorage::Save(), and GlobalDBStorage::Save().
|
overridevirtual |
Reimplemented from Storage.
Definition at line 35 of file mythstorage.cpp.
|
overridevirtual |
|
overridevirtual |
Reimplemented from Storage.
Definition at line 101 of file mythstorage.cpp.
|
protectedpure virtual |
Implemented in CardInputDBStorage, MuxDBStorage, CaptureCardDBStorage, GameDBStorage, GlobalDBStorage, HostDBStorage, IPTVChannelDBStorage, ChannelDBStorage, GenericDBStorage, VideoSourceDBStorage, StorageGroupDirStorage, CodecParamStorage, RecordingProfileStorage, ProfileGroupStorage, and PlayGroupDBStorage.
|
protectedvirtual |
Reimplemented in CardInputDBStorage, MuxDBStorage, CaptureCardDBStorage, GameDBStorage, GlobalDBStorage, HostDBStorage, IPTVChannelDBStorage, ChannelDBStorage, GenericDBStorage, VideoSourceDBStorage, StorageGroupDirStorage, CodecParamStorage, and ProfileGroupStorage.
Definition at line 86 of file mythstorage.cpp.
Referenced by Save().
|
protected |
Definition at line 74 of file mythstorage.h.
Referenced by IsSaveRequired(), Load(), and SetSaveRequired().