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, const 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)
 
virtual ~SimpleDBStorage ()=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, const QString &table, const QString &column)
 
virtual ~DBStorage ()=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 106 of file mythstorage.h.

Constructor & Destructor Documentation

◆ HostDBStorage()

HostDBStorage::HostDBStorage ( StorageUser _user,
const QString &  name 
)

Definition at line 130 of file mythstorage.cpp.

Member Function Documentation

◆ Save() [1/3]

void HostDBStorage::Save ( void  )
overridevirtual

Reimplemented from SimpleDBStorage.

Definition at line 167 of file mythstorage.cpp.

◆ GetWhereClause()

QString HostDBStorage::GetWhereClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Implements SimpleDBStorage.

Definition at line 135 of file mythstorage.cpp.

◆ GetSetClause()

QString HostDBStorage::GetSetClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Reimplemented from SimpleDBStorage.

Definition at line 152 of file mythstorage.cpp.

◆ Save() [2/3]

void SimpleDBStorage::Save
override

Definition at line 80 of file mythstorage.cpp.

◆ Save() [3/3]

void SimpleDBStorage::Save
override

Definition at line 34 of file mythstorage.cpp.

Member Data Documentation

◆ m_settingname

QString HostDBStorage::m_settingname
protected

Definition at line 118 of file mythstorage.h.

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


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