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

#include <videosource.h>

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

Public Member Functions

 VideoSourceDBStorage (StorageUser *_user, const VideoSource &_parent, const QString &name)
 
- 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
 

Protected Member Functions

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
 

Protected Attributes

const VideoSourcem_parent
 
- 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 39 of file videosource.h.

Constructor & Destructor Documentation

◆ VideoSourceDBStorage()

VideoSourceDBStorage::VideoSourceDBStorage ( StorageUser _user,
const VideoSource _parent,
const QString &  name 
)
inline

Definition at line 42 of file videosource.h.

Member Function Documentation

◆ GetSetClause()

QString VideoSourceDBStorage::GetSetClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Reimplemented from SimpleDBStorage.

Definition at line 182 of file videosource.cpp.

◆ GetWhereClause()

QString VideoSourceDBStorage::GetWhereClause ( MSqlBindings bindings) const
overrideprotectedvirtual

Implements SimpleDBStorage.

Definition at line 171 of file videosource.cpp.

Member Data Documentation

◆ m_parent

const VideoSource& VideoSourceDBStorage::m_parent
protected

Definition at line 53 of file videosource.h.

Referenced by GetSetClause(), and GetWhereClause().


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