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

#include <mythstorage.h>

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

Public Member Functions

 DBStorage (StorageUser *user, const QString &table, const QString &column)
 
virtual ~DBStorage ()=default
 
- Public Member Functions inherited from Storage
 Storage ()=default
 
virtual ~Storage ()=default
 
virtual void Load (void)=0
 
virtual void Save (void)=0
 
virtual void Save (const QString &)
 
virtual bool IsSaveRequired (void) const
 
virtual void SetSaveRequired (void)
 

Protected Member Functions

QString GetColumnName (void) const
 
QString GetTableName (void) const
 

Protected Attributes

StorageUserm_user {nullptr}
 
QString m_tablename
 
QString m_columnname
 

Detailed Description

Definition at line 34 of file mythstorage.h.

Constructor & Destructor Documentation

◆ DBStorage()

DBStorage::DBStorage ( StorageUser user,
const QString &  table,
const QString &  column 
)
inline

Definition at line 37 of file mythstorage.h.

◆ ~DBStorage()

virtual DBStorage::~DBStorage ( )
virtualdefault

Member Function Documentation

◆ GetColumnName()

QString DBStorage::GetColumnName ( void  ) const
inlineprotected

◆ GetTableName()

QString DBStorage::GetTableName ( void  ) const
inlineprotected

Definition at line 44 of file mythstorage.h.

Referenced by SimpleDBStorage::Load(), and SimpleDBStorage::Save().

Member Data Documentation

◆ m_user

StorageUser* DBStorage::m_user {nullptr}
protected

◆ m_tablename

QString DBStorage::m_tablename
protected

Definition at line 47 of file mythstorage.h.

◆ m_columnname

QString DBStorage::m_columnname
protected

Definition at line 48 of file mythstorage.h.


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