MythTV  0.26-pre
Public Types | Public Member Functions | Protected Member Functions | Private Attributes
SingleValue Class Reference

#include <dbaccess.h>

Inheritance diagram for SingleValue:
VideoCast VideoCategory VideoCountry VideoGenre

List of all members.

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

Detailed Description

Definition at line 11 of file dbaccess.h.


Member Typedef Documentation

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

Definition at line 14 of file dbaccess.h.

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

Definition at line 15 of file dbaccess.h.


Constructor & Destructor Documentation

SingleValue::SingleValue ( SingleValueImp imp) [protected]

Definition at line 208 of file dbaccess.cpp.

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

Definition at line 212 of file dbaccess.cpp.


Member Function Documentation

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

Definition at line 227 of file dbaccess.cpp.

Definition at line 232 of file dbaccess.cpp.

bool SingleValue::exists ( const QString &  name)

Definition at line 237 of file dbaccess.cpp.


Member Data Documentation

Definition at line 32 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends