#include <dbaccess.h>

Definition at line 6 of file dbaccess.h.
Public Types | |
| typedef std::pair< int, QString > | entry |
| typedef std::vector< entry > | entry_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_list & | getList () |
| void | load_data () |
Protected Member Functions | |
| SingleValue (SingleValueImp *imp) | |
| virtual | ~SingleValue () |
Private Attributes | |
| SingleValueImp * | m_imp |
| 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.
| 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.
| int SingleValue::add | ( | const QString & | name | ) |
Definition at line 222 of file dbaccess.cpp.
Referenced by MetadataImp::updateCast(), MetadataImp::updateCountries(), and MetadataImp::updateGenres().
| bool SingleValue::get | ( | int | id, | |
| QString & | value | |||
| ) |
Definition at line 227 of file dbaccess.cpp.
Referenced by MetadataImp::fillCast(), MetadataImp::fillCountries(), MetadataImp::fillGenres(), MetadataImp::fromDBRow(), and MetadataImp::MetadataImp().
| 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 | ( | ) |
| void SingleValue::load_data | ( | ) |
Definition at line 252 of file dbaccess.cpp.
Referenced by VideoCast::getCast(), VideoCategory::getCategory(), VideoCountry::getCountry(), and VideoGenre::getGenre().
SingleValueImp* SingleValue::m_imp [private] |
Definition at line 27 of file dbaccess.h.
Referenced by add(), exists(), get(), getList(), load_data(), remove(), and ~SingleValue().
1.5.5