|
MythTV master
|
#include <libmythtv/programdata.h>
Public Types | |
| enum | Role : std::uint8_t { kUnknown = 0 , kActor , kDirector , kProducer , kExecutiveProducer , kWriter , kGuestStar , kHost , kAdapter , kPresenter , kCommentator , kGuest } |
Public Member Functions | |
| DBPerson (const DBPerson &other) | |
| DBPerson (Role _role, QString _name, int _priority, QString _character) | |
| DBPerson (const QString &_role, QString _name, int _priority, QString _character) | |
| DBPerson & | operator= (const DBPerson &rhs) |
| QString | GetRole (void) const |
| QString | toString (void) const |
| uint | InsertDB (MSqlQuery &query, uint chanid, const QDateTime &starttime, bool recording=false) const |
Private Member Functions | |
| uint | GetPersonDB (MSqlQuery &query) const |
| uint | InsertPersonDB (MSqlQuery &query) const |
| uint | GetRoleDB (MSqlQuery &query) const |
| bool | InsertRoleDB (MSqlQuery &query) const |
| uint | InsertCreditsDB (MSqlQuery &query, uint personid, uint roleid, uint chanid, const QDateTime &starttime, bool recording=false) const |
Private Attributes | |
| Role | m_role |
| QString | m_name |
| int | m_priority |
| QString | m_character |
Friends | |
| class | TestEITFixups |
Definition at line 24 of file programdata.h.
| enum DBPerson::Role : std::uint8_t |
| Enumerator | |
|---|---|
| kUnknown | |
| kActor | |
| kDirector | |
| kProducer | |
| kExecutiveProducer | |
| kWriter | |
| kGuestStar | |
| kHost | |
| kAdapter | |
| kPresenter | |
| kCommentator | |
| kGuest | |
Definition at line 28 of file programdata.h.
| DBPerson::DBPerson | ( | const DBPerson & | other | ) |
Definition at line 60 of file programdata.cpp.
| DBPerson::DBPerson | ( | Role | _role, |
| QString | _name, | ||
| int | _priority, | ||
| QString | _character | ||
| ) |
Definition at line 83 of file programdata.cpp.
| DBPerson::DBPerson | ( | const QString & | _role, |
| QString | _name, | ||
| int | _priority, | ||
| QString | _character | ||
| ) |
Definition at line 94 of file programdata.cpp.
Definition at line 146 of file programdata.cpp.
Referenced by InsertDB().
| QString DBPerson::GetRole | ( | void | ) | const |
Definition at line 114 of file programdata.cpp.
Referenced by InsertCreditsDB().
Definition at line 176 of file programdata.cpp.
Referenced by InsertDB().
|
private |
Definition at line 204 of file programdata.cpp.
Referenced by InsertDB().
| uint DBPerson::InsertDB | ( | MSqlQuery & | query, |
| uint | chanid, | ||
| const QDateTime & | starttime, | ||
| bool | recording = false |
||
| ) | const |
Definition at line 126 of file programdata.cpp.
Definition at line 162 of file programdata.cpp.
Referenced by InsertDB().
|
private |
Definition at line 190 of file programdata.cpp.
Referenced by InsertDB().
Definition at line 70 of file programdata.cpp.
| QString DBPerson::toString | ( | void | ) | const |
Definition at line 121 of file programdata.cpp.
|
friend |
Definition at line 26 of file programdata.h.
|
private |
Definition at line 71 of file programdata.h.
Referenced by DBPerson(), GetRoleDB(), InsertDB(), InsertRoleDB(), operator=(), and toString().
|
private |
Definition at line 69 of file programdata.h.
Referenced by DBPerson(), GetPersonDB(), InsertPersonDB(), operator=(), and toString().
|
private |
Definition at line 70 of file programdata.h.
Referenced by InsertCreditsDB(), and operator=().
|
private |
Definition at line 68 of file programdata.h.
Referenced by DBPerson(), GetRole(), operator=(), and toString().