#include <mythstorage.h>

Definition at line 51 of file mythstorage.h.
Public Member Functions | |
| SimpleDBStorage (StorageUser *_user, QString _table, QString _column) | |
| virtual | ~SimpleDBStorage () |
| virtual void | Load (void) |
| virtual void | Save (void) |
| virtual void | Save (QString destination) |
| virtual bool | IsSaveRequired (void) const |
| virtual void | SetSaveRequired (void) |
Protected Member Functions | |
| virtual QString | GetWhereClause (MSqlBindings &bindings) const =0 |
| virtual QString | GetSetClause (MSqlBindings &bindings) const |
Protected Attributes | |
| QString | initval |
| SimpleDBStorage::SimpleDBStorage | ( | StorageUser * | _user, | |
| QString | _table, | |||
| QString | _column | |||
| ) | [inline] |
Definition at line 54 of file mythstorage.h.
| virtual SimpleDBStorage::~SimpleDBStorage | ( | ) | [inline, virtual] |
Definition at line 57 of file mythstorage.h.
| void SimpleDBStorage::Load | ( | void | ) | [virtual] |
Implements Storage.
Reimplemented in ManagedListSetting, Source, TimeStretch, SampleRate, MPEG2audType, DVBCardNum, CardID, SourceID, and HDHomeRunDeviceID.
Definition at line 7 of file mythstorage.cpp.
Referenced by CardInput::channelScanner(), SourceID::Load(), CardID::Load(), HDHomeRunDeviceID::Load(), DVBCardNum::Load(), MPEG2audType::Load(), SampleRate::Load(), TimeStretch::Load(), ManagedListSetting::Load(), Source::Load(), and CardInput::sourceFetch().
| void SimpleDBStorage::Save | ( | void | ) | [virtual] |
Implements Storage.
Reimplemented in TimeStretch, DVBAudioDevice, and DVBVbiDevice.
Definition at line 82 of file mythstorage.cpp.
Referenced by CardInput::channelScanner(), DVBVbiDevice::Save(), DVBAudioDevice::Save(), NoGrabber_config::Save(), EITOnly_config::Save(), TimeStretch::Save(), and CardInput::sourceFetch().
| void SimpleDBStorage::Save | ( | QString | destination | ) | [virtual] |
Reimplemented from Storage.
Reimplemented in DVBAudioDevice, and DVBVbiDevice.
Definition at line 32 of file mythstorage.cpp.
| bool SimpleDBStorage::IsSaveRequired | ( | void | ) | const [virtual] |
| void SimpleDBStorage::SetSaveRequired | ( | void | ) | [virtual] |
Reimplemented from Storage.
Definition at line 102 of file mythstorage.cpp.
Referenced by DVBVbiDevice::Save(), and DVBAudioDevice::Save().
| virtual QString SimpleDBStorage::GetWhereClause | ( | MSqlBindings & | bindings | ) | const [protected, pure virtual] |
| QString SimpleDBStorage::GetSetClause | ( | MSqlBindings & | bindings | ) | const [protected, virtual] |
Reimplemented in GenericDBStorage, HostDBStorage, GlobalDBStorage, ChannelDBStorage, ProfileGroupStorage, CodecParamStorage, MuxDBStorage, VideoSourceDBStorage, CaptureCardDBStorage, CardInputDBStorage, and GameDBStorage.
Definition at line 87 of file mythstorage.cpp.
Referenced by Save().
QString SimpleDBStorage::initval [protected] |
Definition at line 70 of file mythstorage.h.
Referenced by IsSaveRequired(), Load(), and SetSaveRequired().
1.5.5