|
MythTV
0.26-pre
|
#include <programdata.h>
Public Member Functions | |
| DBEvent (uint _listingsource) | |
| DBEvent (const QString &_title, const QString &_subtitle, const QString &_desc, const QString &_category, uint _category_type, const QDateTime &_start, const QDateTime &_end, unsigned char _subtitleType, unsigned char _audioProps, unsigned char _videoProps, float _stars, const QString &_seriesId, const QString &_programId, uint32_t _listingsource) | |
| virtual | ~DBEvent () |
| void | AddPerson (DBPerson::Role, const QString &name) |
| void | AddPerson (const QString &role, const QString &name) |
| uint | UpdateDB (MSqlQuery &query, uint chanid, int match_threshold) const |
| bool | HasCredits (void) const |
| bool | HasTimeConflict (const DBEvent &other) const |
| DBEvent & | operator= (const DBEvent &) |
Public Attributes | |
| QString | title |
| QString | subtitle |
| QString | description |
| QString | category |
| QDateTime | starttime |
| QDateTime | endtime |
| uint16_t | airdate |
| movie year / production year | |
| QDate | originalairdate |
| origial broadcast date | |
| DBCredits * | credits |
| uint16_t | partnumber |
| uint16_t | parttotal |
| QString | syndicatedepisodenumber |
| unsigned char | subtitleType |
| unsigned char | audioProps |
| unsigned char | videoProps |
| float | stars |
| unsigned char | categoryType |
| QString | seriesId |
| QString | programId |
| bool | previouslyshown |
| uint32_t | listingsource |
| QList< EventRating > | ratings |
Protected Member Functions | |
| uint | GetOverlappingPrograms (MSqlQuery &, uint chanid, vector< DBEvent > &programs) const |
| int | GetMatch (const vector< DBEvent > &programs, int &bestmatch) const |
| uint | UpdateDB (MSqlQuery &, uint chanid, const vector< DBEvent > &p, int match) const |
| uint | UpdateDB (MSqlQuery &, uint chanid, const DBEvent &match) const |
| bool | MoveOutOfTheWayDB (MSqlQuery &, uint chanid, const DBEvent &nonmatch) const |
| virtual uint | InsertDB (MSqlQuery &, uint chanid) const |
| virtual void | Squeeze (void) |
Definition at line 70 of file programdata.h.
| DBEvent::DBEvent | ( | uint | _listingsource | ) | [inline] |
Definition at line 73 of file programdata.h.
| DBEvent::DBEvent | ( | const QString & | _title, |
| const QString & | _subtitle, | ||
| const QString & | _desc, | ||
| const QString & | _category, | ||
| uint | _category_type, | ||
| const QDateTime & | _start, | ||
| const QDateTime & | _end, | ||
| unsigned char | _subtitleType, | ||
| unsigned char | _audioProps, | ||
| unsigned char | _videoProps, | ||
| float | _stars, | ||
| const QString & | _seriesId, | ||
| const QString & | _programId, | ||
| uint32_t | _listingsource | ||
| ) | [inline] |
Definition at line 94 of file programdata.h.
| virtual DBEvent::~DBEvent | ( | ) | [inline, virtual] |
Definition at line 123 of file programdata.h.
| void DBEvent::AddPerson | ( | DBPerson::Role | role, |
| const QString & | name | ||
| ) |
Definition at line 188 of file programdata.cpp.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixPremiere(), and parseCredits().
| void DBEvent::AddPerson | ( | const QString & | role, |
| const QString & | name | ||
| ) |
Definition at line 196 of file programdata.cpp.
| uint DBEvent::UpdateDB | ( | MSqlQuery & | query, |
| uint | chanid, | ||
| int | match_threshold | ||
| ) | const |
Definition at line 210 of file programdata.cpp.
Referenced by UpdateDB(), and DBEventEIT::UpdateDB().
| bool DBEvent::HasCredits | ( | void | ) | const [inline] |
Definition at line 130 of file programdata.h.
| bool DBEvent::HasTimeConflict | ( | const DBEvent & | other | ) | const |
Definition at line 204 of file programdata.cpp.
Definition at line 127 of file programdata.cpp.
| uint DBEvent::GetOverlappingPrograms | ( | MSqlQuery & | query, |
| uint | chanid, | ||
| vector< DBEvent > & | programs | ||
| ) | const [protected] |
Definition at line 243 of file programdata.cpp.
Referenced by UpdateDB().
| int DBEvent::GetMatch | ( | const vector< DBEvent > & | programs, |
| int & | bestmatch | ||
| ) | const [protected] |
Definition at line 371 of file programdata.cpp.
Referenced by UpdateDB().
| uint DBEvent::UpdateDB | ( | MSqlQuery & | q, |
| uint | chanid, | ||
| const vector< DBEvent > & | p, | ||
| int | match | ||
| ) | const [protected] |
Definition at line 445 of file programdata.cpp.
| uint DBEvent::UpdateDB | ( | MSqlQuery & | query, |
| uint | chanid, | ||
| const DBEvent & | match | ||
| ) | const [protected] |
Definition at line 468 of file programdata.cpp.
| bool DBEvent::MoveOutOfTheWayDB | ( | MSqlQuery & | query, |
| uint | chanid, | ||
| const DBEvent & | nonmatch | ||
| ) | const [protected] |
Definition at line 661 of file programdata.cpp.
Referenced by UpdateDB().
| uint DBEvent::InsertDB | ( | MSqlQuery & | query, |
| uint | chanid | ||
| ) | const [protected, virtual] |
Reimplemented in ProgInfo.
Definition at line 685 of file programdata.cpp.
Referenced by UpdateDB().
| void DBEvent::Squeeze | ( | void | ) | [protected, virtual] |
Reimplemented in ProgInfo.
Definition at line 177 of file programdata.cpp.
Referenced by operator=().
| QString DBEvent::title |
Definition at line 150 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::Fix(), EITFixUp::FixComHem(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixPremiere(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseFile(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QString DBEvent::subtitle |
Definition at line 151 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixComHem(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QString DBEvent::description |
Definition at line 152 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixPremiere(), EITFixUp::FixRTL(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseFile(), XMLTVParser::parseProgram(), EITFixUp::SetUKSubtitle(), Squeeze(), and UpdateDB().
| QString DBEvent::category |
Definition at line 153 of file programdata.h.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixNL(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QDateTime DBEvent::starttime |
Definition at line 154 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::FixCategory(), EITFixUp::FixComHem(), GetMatch(), GetOverlappingPrograms(), HasTimeConflict(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), XMLTVParser::parseProgram(), start_time_less_than(), and UpdateDB().
| QDateTime DBEvent::endtime |
Definition at line 155 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::FixCategory(), GetMatch(), GetOverlappingPrograms(), HasTimeConflict(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
movie year / production year
Definition at line 156 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| QDate DBEvent::originalairdate |
origial broadcast date
Definition at line 157 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
Definition at line 158 of file programdata.h.
Referenced by AddPerson(), InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
Definition at line 159 of file programdata.h.
Referenced by EITFixUp::FixComHem(), GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
Definition at line 160 of file programdata.h.
Referenced by EITFixUp::FixComHem(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| QString DBEvent::syndicatedepisodenumber |
Definition at line 161 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| unsigned char DBEvent::subtitleType |
Definition at line 162 of file programdata.h.
Referenced by EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| unsigned char DBEvent::audioProps |
Definition at line 163 of file programdata.h.
Referenced by EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), parseAudio(), and UpdateDB().
| unsigned char DBEvent::videoProps |
Definition at line 164 of file programdata.h.
Referenced by EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), parseVideo(), and UpdateDB().
| float DBEvent::stars |
Reimplemented in ProgInfo.
Definition at line 165 of file programdata.h.
Referenced by InsertDB(), and operator=().
| unsigned char DBEvent::categoryType |
Definition at line 166 of file programdata.h.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixCategory(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
| QString DBEvent::seriesId |
Definition at line 167 of file programdata.h.
Referenced by EITFixUp::Fix(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
| QString DBEvent::programId |
Definition at line 168 of file programdata.h.
Referenced by EITFixUp::Fix(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), Squeeze(), and UpdateDB().
Definition at line 169 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), XMLTVParser::parseProgram(), and UpdateDB().
Definition at line 170 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
| QList<EventRating> DBEvent::ratings |
Definition at line 171 of file programdata.h.
Referenced by ProgInfo::InsertDB(), operator=(), and XMLTVParser::parseProgram().
1.7.6.1