MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GameDBStorage Struct Reference

Game player database table reader/writer. More...

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

Public Member Functions

 GameDBStorage (StorageUser *user, const PlayerId &id, const QString &name)
 
- 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 GetWhereClause (MSqlBindings &bindings) const override
 
QString GetSetClause (MSqlBindings &bindings) const override
 
- Protected Member Functions inherited from DBStorage
QString GetColumnName (void) const
 
QString GetTableName (void) const
 

Protected Attributes

const PlayerIdm_id
 
- Protected Attributes inherited from SimpleDBStorage
QString m_initval
 
- Protected Attributes inherited from DBStorage
StorageUserm_user {nullptr}
 
QString m_tablename
 
QString m_columnname
 

Detailed Description

Game player database table reader/writer.

Definition at line 193 of file gamesettings.cpp.

Constructor & Destructor Documentation

◆ GameDBStorage()

GameDBStorage::GameDBStorage ( StorageUser user,
const PlayerId id,
const QString &  name 
)
inline

Definition at line 195 of file gamesettings.cpp.

Member Function Documentation

◆ GetWhereClause()

QString GameDBStorage::GetWhereClause ( MSqlBindings bindings) const
inlineoverrideprotectedvirtual

Implements SimpleDBStorage.

Definition at line 200 of file gamesettings.cpp.

◆ GetSetClause()

QString GameDBStorage::GetSetClause ( MSqlBindings bindings) const
inlineoverrideprotectedvirtual

Reimplemented from SimpleDBStorage.

Definition at line 206 of file gamesettings.cpp.

Member Data Documentation

◆ m_id

const PlayerId& GameDBStorage::m_id
protected

Definition at line 198 of file gamesettings.cpp.

Referenced by GetSetClause(), and GetWhereClause().


The documentation for this struct was generated from the following file: