SingleValue Class Reference

#include <dbaccess.h>

Inheritance diagram for SingleValue:

VideoCast VideoCategory VideoCountry VideoGenre

List of all members.


Detailed Description

Definition at line 6 of file dbaccess.h.


Public Types

typedef std::pair< int, QString > entry
typedef std::vector< entryentry_list

Public Member Functions

int add (const QString &name)
bool get (int id, QString &value)
void remove (int id)
bool exists (int id)
bool exists (const QString &name)
const entry_listgetList ()
void load_data ()

Protected Member Functions

 SingleValue (SingleValueImp *imp)
virtual ~SingleValue ()

Private Attributes

SingleValueImpm_imp

Member Typedef Documentation

typedef std::pair<int, QString> SingleValue::entry

Definition at line 9 of file dbaccess.h.

typedef std::vector<entry> SingleValue::entry_list

Definition at line 10 of file dbaccess.h.


Constructor & Destructor Documentation

SingleValue::SingleValue ( SingleValueImp imp  )  [protected]

Definition at line 213 of file dbaccess.cpp.

SingleValue::~SingleValue (  )  [protected, virtual]

Definition at line 217 of file dbaccess.cpp.


Member Function Documentation

int SingleValue::add ( const QString &  name  ) 

bool SingleValue::get ( int  id,
QString &  value 
)

void SingleValue::remove ( int  id  ) 

Definition at line 232 of file dbaccess.cpp.

bool SingleValue::exists ( int  id  ) 

Definition at line 237 of file dbaccess.cpp.

bool SingleValue::exists ( const QString &  name  ) 

Definition at line 242 of file dbaccess.cpp.

const SingleValue::entry_list & SingleValue::getList (  ) 

Definition at line 247 of file dbaccess.cpp.

Referenced by VideoFilterDialog::fillWidgets().

void SingleValue::load_data (  ) 


Member Data Documentation

Definition at line 27 of file dbaccess.h.

Referenced by add(), exists(), get(), getList(), load_data(), remove(), and ~SingleValue().


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

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5