GenericDBStorage Class Reference

#include <mythstorage.h>

Inheritance diagram for GenericDBStorage:
SimpleDBStorage DBStorage Storage

List of all members.

Public Member Functions

 GenericDBStorage (StorageUser *_user, QString _table, QString _column, QString _keycolumn, QString _keyvalue=QString::null)
virtual ~GenericDBStorage ()
void SetKeyValue (const QString val)
void SetKeyValue (long long val)

Protected Member Functions

virtual QString GetWhereClause (MSqlBindings &bindings) const
virtual QString GetSetClause (MSqlBindings &bindings) const

Protected Attributes

QString keycolumn
QString keyvalue

Detailed Description

Definition at line 73 of file mythstorage.h.


Constructor & Destructor Documentation

GenericDBStorage::GenericDBStorage ( StorageUser _user,
QString  _table,
QString  _column,
QString  _keycolumn,
QString  _keyvalue = QString::null 
) [inline]

Definition at line 76 of file mythstorage.h.

virtual GenericDBStorage::~GenericDBStorage (  )  [inline, virtual]

Definition at line 81 of file mythstorage.h.


Member Function Documentation

void GenericDBStorage::SetKeyValue ( const QString  val  )  [inline]

Definition at line 83 of file mythstorage.h.

void GenericDBStorage::SetKeyValue ( long long  val  )  [inline]

Definition at line 84 of file mythstorage.h.

QString GenericDBStorage::GetWhereClause ( MSqlBindings bindings  )  const [protected, virtual]

Implements SimpleDBStorage.

Definition at line 109 of file mythstorage.cpp.

QString GenericDBStorage::GetSetClause ( MSqlBindings bindings  )  const [protected, virtual]

Reimplemented from SimpleDBStorage.

Definition at line 118 of file mythstorage.cpp.


Member Data Documentation

QString GenericDBStorage::keycolumn [protected]

Definition at line 91 of file mythstorage.h.

Referenced by GetSetClause(), and GetWhereClause().

QString GenericDBStorage::keyvalue [protected]

Definition at line 92 of file mythstorage.h.

Referenced by GetSetClause(), and GetWhereClause().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sat Feb 11 06:42:01 2012 for MythTV by  doxygen 1.6.3