MythTV
master
|
#include <libmythmetadata/dbaccess.h>
Classes | |
struct | entry |
Public Types | |
using | entry_list = std::vector< entry > |
Public Member Functions | |
int | add (int id, int value) |
bool | get (int id, entry &values) |
void | remove (int id, int value) |
void | remove (int id) |
bool | exists (int id, int value) |
bool | exists (int id) |
void | load_data () |
Protected Member Functions | |
MultiValue (MultiValueImp *imp) | |
virtual | ~MultiValue ()=default |
Private Attributes | |
MultiValueImp * | m_imp {nullptr} |
Definition at line 37 of file dbaccess.h.
using MultiValue::entry_list = std::vector<entry> |
Definition at line 46 of file dbaccess.h.
|
inlineexplicitprotected |
Definition at line 59 of file dbaccess.h.
|
protectedvirtualdefault |
int MultiValue::add | ( | int | id, |
int | value | ||
) |
Definition at line 447 of file dbaccess.cpp.
Referenced by VideoMetadataImp::updateCast(), VideoMetadataImp::updateCountries(), and VideoMetadataImp::updateGenres().
void MultiValue::remove | ( | int | id, |
int | value | ||
) |
Definition at line 457 of file dbaccess.cpp.
Referenced by VideoMetadataImp::DeleteFromDatabase(), VideoMetadataImp::updateCast(), VideoMetadataImp::updateCountries(), and VideoMetadataImp::updateGenres().
void MultiValue::remove | ( | int | id | ) |
Definition at line 462 of file dbaccess.cpp.
bool MultiValue::exists | ( | int | id, |
int | value | ||
) |
Definition at line 467 of file dbaccess.cpp.
bool MultiValue::exists | ( | int | id | ) |
Definition at line 472 of file dbaccess.cpp.
void MultiValue::load_data | ( | ) |
Definition at line 477 of file dbaccess.cpp.
Referenced by VideoCastMap::getCastMap(), VideoCountryMap::getCountryMap(), and VideoGenreMap::getGenreMap().
|
private |
Definition at line 63 of file dbaccess.h.
Referenced by add(), exists(), get(), load_data(), and remove().