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

#include <channelsettings.h>

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

Public Member Functions

 ChannelDBStorage (StorageUser *_user, const ChannelID &_id, const QString &_name)
 
QString GetSetClause (MSqlBindings &bindings) const override
 
QString GetWhereClause (MSqlBindings &bindings) const 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 (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
 

Public Attributes

const ChannelIDm_id
 

Additional Inherited Members

- Protected Member Functions inherited from DBStorage
QString GetColumnName (void) const
 
QString GetTableName (void) const
 
- 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 93 of file channelsettings.h.

Constructor & Destructor Documentation

◆ ChannelDBStorage()

ChannelDBStorage::ChannelDBStorage ( StorageUser _user,
const ChannelID _id,
const QString &  _name 
)
inline

Definition at line 96 of file channelsettings.h.

Member Function Documentation

◆ GetSetClause()

QString ChannelDBStorage::GetSetClause ( MSqlBindings bindings) const
overridevirtual

Reimplemented from SimpleDBStorage.

Definition at line 25 of file channelsettings.cpp.

◆ GetWhereClause()

QString ChannelDBStorage::GetWhereClause ( MSqlBindings bindings) const
overridevirtual

Implements SimpleDBStorage.

Definition at line 15 of file channelsettings.cpp.

Member Data Documentation

◆ m_id

const ChannelID& ChannelDBStorage::m_id

Definition at line 102 of file channelsettings.h.

Referenced by GetSetClause(), and GetWhereClause().


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