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

#include <channelsettings.h>

Inheritance diagram for ChannelDBStorage:
Inheritance graph
Collaboration diagram for ChannelDBStorage:
Collaboration graph

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)
 ~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
- 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

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 95 of file channelsettings.h.

Constructor & Destructor Documentation

◆ ChannelDBStorage()

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

Definition at line 98 of file channelsettings.h.

Member Function Documentation

◆ GetSetClause()

QString ChannelDBStorage::GetSetClause ( MSqlBindings bindings) const

Reimplemented from SimpleDBStorage.

Definition at line 29 of file channelsettings.cpp.

◆ GetWhereClause()

QString ChannelDBStorage::GetWhereClause ( MSqlBindings bindings) const

Implements SimpleDBStorage.

Definition at line 19 of file channelsettings.cpp.

Member Data Documentation

◆ m_id

const ChannelID& ChannelDBStorage::m_id

Definition at line 104 of file channelsettings.h.

Referenced by GetSetClause(), and GetWhereClause().

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