MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HostDBStorage Class Reference

#include <mythstorage.h>

Inheritance diagram for HostDBStorage:
Inheritance graph
[legend]
Collaboration diagram for HostDBStorage:
Collaboration graph
[legend]

Public Member Functions

 HostDBStorage (StorageUser *_user, QString name)
 
void Save (void) override
 
void Save (void) override
 
void Save (const QString &table) override
 
- Public Member Functions inherited from SimpleDBStorage
 SimpleDBStorage (StorageUser *user, const QString &table, const QString &column)
 
 ~SimpleDBStorage () override=default
 
void Load (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
 

Protected Member Functions

QString GetWhereClause (MSqlBindings &bindings) const override
 
QString GetSetClause (MSqlBindings &bindings) const override
 
- Protected Member Functions inherited from DBStorage
QString GetColumnName (void) const
 
QString GetTableName (void) const
 

Protected Attributes

QString m_settingname
 
- Protected Attributes inherited from SimpleDBStorage
QString m_initval
 
- Protected Attributes inherited from DBStorage
StorageUserm_user {nullptr}
 
QString m_tablename
 
QString m_columnname
 

Detailed Description

Definition at line 111 of file mythstorage.h.

Constructor & Destructor Documentation

◆ HostDBStorage()

HostDBStorage::HostDBStorage ( StorageUser _user,
QString  name 
)

Definition at line 131 of file mythstorage.cpp.

Member Function Documentation

◆ Save() [1/3]

void HostDBStorage::Save ( void  )
overridevirtual

Reimplemented from SimpleDBStorage.

Definition at line 168 of file mythstorage.cpp.

◆ GetWhereClause()

QString HostDBStorage::GetWhereClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Implements SimpleDBStorage.

Definition at line 136 of file mythstorage.cpp.

◆ GetSetClause()

QString HostDBStorage::GetSetClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Reimplemented from SimpleDBStorage.

Definition at line 153 of file mythstorage.cpp.

◆ Save() [2/3]

void SimpleDBStorage::Save
override

Definition at line 81 of file mythstorage.cpp.

◆ Save() [3/3]

void SimpleDBStorage::Save
override

Definition at line 35 of file mythstorage.cpp.

Member Data Documentation

◆ m_settingname

QString HostDBStorage::m_settingname
protected

Definition at line 123 of file mythstorage.h.

Referenced by GetSetClause(), GetWhereClause(), and Save().


The documentation for this class was generated from the following files: