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, QString _table, 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 (QString)
 
virtual bool IsSaveRequired (void) const
 
virtual void SetSaveRequired (void)
 

Protected Member Functions

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

Protected Attributes

StorageUseruser
 
QString tablename
 
QString columnname
 

Detailed Description

Definition at line 34 of file mythstorage.h.

Constructor & Destructor Documentation

◆ DBStorage()

DBStorage::DBStorage ( StorageUser _user,
QString  _table,
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

◆ user

StorageUser* DBStorage::user
protected

◆ tablename

QString DBStorage::tablename
protected

Definition at line 47 of file mythstorage.h.

◆ columnname

QString DBStorage::columnname
protected

Definition at line 48 of file mythstorage.h.


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