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

#include <libmythtv/videosource.h>

Inheritance diagram for CardInputDBStorage:
[legend]
Collaboration diagram for CardInputDBStorage:
[legend]

Public Member Functions

 CardInputDBStorage (StorageUser *_user, const CardInput &_parent, const QString &_name)
 
int getInputID (void) const
 
- 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
 

Protected Member Functions

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

Private Attributes

const CardInputm_parent
 

Additional Inherited Members

- 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 777 of file videosource.h.

Constructor & Destructor Documentation

◆ CardInputDBStorage()

CardInputDBStorage::CardInputDBStorage ( StorageUser _user,
const CardInput _parent,
const QString &  _name 
)
inline

Definition at line 780 of file videosource.h.

Member Function Documentation

◆ getInputID()

int CardInputDBStorage::getInputID ( void  ) const

Definition at line 3510 of file videosource.cpp.

Referenced by InputName::fillSelections(), and StartingChannel::SetSourceID().

◆ fillSelections()

void CardInputDBStorage::fillSelections ( )
protected

◆ GetSetClause()

QString CardInputDBStorage::GetSetClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Reimplemented from SimpleDBStorage.

Definition at line 3462 of file videosource.cpp.

◆ GetWhereClause()

QString CardInputDBStorage::GetWhereClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Implements SimpleDBStorage.

Definition at line 3451 of file videosource.cpp.

Member Data Documentation

◆ m_parent

const CardInput& CardInputDBStorage::m_parent
private

Definition at line 796 of file videosource.h.

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


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