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
Collaboration diagram for DBStorage:
Collaboration graph

Public Member Functions

 DBStorage (StorageUser *user, QString table, QString column)
 ~DBStorage () override=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 36 of file mythstorage.h.

Constructor & Destructor Documentation

◆ DBStorage()

DBStorage::DBStorage ( StorageUser user,
QString  table,
QString  column 

Definition at line 39 of file mythstorage.h.

◆ ~DBStorage()

DBStorage::~DBStorage ( )

Member Function Documentation

◆ GetColumnName()

QString DBStorage::GetColumnName ( void  ) const

◆ GetTableName()

QString DBStorage::GetTableName ( void  ) const

Definition at line 48 of file mythstorage.h.

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

Member Data Documentation

◆ m_user

StorageUser* DBStorage::m_user {nullptr}

◆ m_tablename

QString DBStorage::m_tablename

Definition at line 51 of file mythstorage.h.

◆ m_columnname

QString DBStorage::m_columnname

Definition at line 52 of file mythstorage.h.

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