MythTV
master
|
Public Types | |
using | entry = MultiValue::entry |
Public Member Functions | |
MultiValueImp (QString table_name, QString id_name, QString value_name) | |
void | load_data () |
void | cleanup () |
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) |
Public Attributes | |
QMutex | m_mutex |
Private Types | |
using | id_map = std::map< int, entry > |
Private Member Functions | |
void | fill_from_db () |
Private Attributes | |
id_map | m_valMap |
QString | m_tableName |
QString | m_idName |
QString | m_valueName |
QString | m_insertSql |
QString | m_fillSql |
QString | m_idSql |
bool | m_ready {false} |
SimpleCleanup< MultiValueImp > | m_cleanStub |
Definition at line 253 of file dbaccess.cpp.
Definition at line 256 of file dbaccess.cpp.
|
private |
Definition at line 259 of file dbaccess.cpp.
|
inline |
Definition at line 262 of file dbaccess.cpp.
|
inline |
Definition at line 275 of file dbaccess.cpp.
Referenced by MultiValue::load_data().
|
inline |
Definition at line 285 of file dbaccess.cpp.
|
inline |
Definition at line 291 of file dbaccess.cpp.
Referenced by MultiValue::add().
Definition at line 327 of file dbaccess.cpp.
Referenced by hardwareprofile.distros.mythtv_data.makeopts.MakeOpts::dump(), MultiValue::get(), and hardwareprofile.distros.mythtv_data.orddict.OrdDict::itervalues().
|
inline |
Definition at line 338 of file dbaccess.cpp.
Referenced by MultiValue::remove().
|
inline |
Definition at line 363 of file dbaccess.cpp.
|
inline |
Definition at line 381 of file dbaccess.cpp.
Referenced by MultiValue::exists().
|
inline |
Definition at line 394 of file dbaccess.cpp.
|
inlineprivate |
Definition at line 400 of file dbaccess.cpp.
Referenced by load_data().
|
mutable |
Definition at line 273 of file dbaccess.cpp.
Referenced by load_data().
|
private |
Definition at line 431 of file dbaccess.cpp.
Referenced by add(), cleanup(), exists(), fill_from_db(), get(), and remove().
|
private |
Definition at line 433 of file dbaccess.cpp.
Referenced by MultiValueImp(), and remove().
|
private |
Definition at line 434 of file dbaccess.cpp.
Referenced by MultiValueImp(), and remove().
|
private |
Definition at line 435 of file dbaccess.cpp.
Referenced by MultiValueImp(), and remove().
|
private |
Definition at line 437 of file dbaccess.cpp.
Referenced by add(), and MultiValueImp().
|
private |
Definition at line 438 of file dbaccess.cpp.
Referenced by fill_from_db(), and MultiValueImp().
|
private |
Definition at line 439 of file dbaccess.cpp.
Definition at line 441 of file dbaccess.cpp.
Referenced by cleanup(), and load_data().
|
private |
Definition at line 442 of file dbaccess.cpp.