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

#include <storagegroupeditor.h>

Inheritance diagram for StorageGroupDirStorage:
Inheritance graph
Collaboration diagram for StorageGroupDirStorage:
Collaboration graph

Public Member Functions

 StorageGroupDirStorage (StorageUser *_user, int id, QString group)
- 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

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

int m_id
QString m_group
- 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 43 of file storagegroupeditor.h.

Constructor & Destructor Documentation

◆ StorageGroupDirStorage()

StorageGroupDirStorage::StorageGroupDirStorage ( StorageUser _user,
int  id,
QString  group 

Definition at line 141 of file storagegroupeditor.cpp.

Member Function Documentation

◆ GetSetClause()

QString StorageGroupDirStorage::GetSetClause ( MSqlBindings bindings) const

Reimplemented from SimpleDBStorage.

Definition at line 150 of file storagegroupeditor.cpp.

◆ GetWhereClause()

QString StorageGroupDirStorage::GetWhereClause ( MSqlBindings bindings) const

Implements SimpleDBStorage.

Definition at line 161 of file storagegroupeditor.cpp.

Member Data Documentation

◆ m_id

int StorageGroupDirStorage::m_id

Definition at line 53 of file storagegroupeditor.h.

Referenced by GetWhereClause().

◆ m_group

QString StorageGroupDirStorage::m_group

Definition at line 54 of file storagegroupeditor.h.

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