|
MythTV
0.26-pre
|
Parses dvb-utils channel scanner output files. More...
#include <dtvconfparser.h>
Public Types | |
| enum | return_t { ERROR_CARDTYPE, ERROR_OPEN, ERROR_PARSE, OK } |
| enum | cardtype_t { ATSC, OFDM, QPSK, QAM, DVBS2, UNKNOWN } |
Public Member Functions | |
| DTVConfParser (enum cardtype_t _type, uint sourceid, const QString &_file) | |
| virtual | ~DTVConfParser () |
| return_t | Parse (void) |
| DTVChannelList | GetChannels (void) const |
Private Member Functions | |
| bool | ParseVDR (const QStringList &tokens, int channelNo=-1) |
| bool | ParseConf (const QStringList &tokens) |
| bool | ParseConfOFDM (const QStringList &tokens) |
| bool | ParseConfQPSK (const QStringList &tokens) |
| bool | ParseConfQAM (const QStringList &tokens) |
| bool | ParseConfATSC (const QStringList &tokens) |
| void | AddChannel (const DTVMultiplex &mux, DTVChannelInfo &chan) |
Private Attributes | |
| cardtype_t | type |
| uint | sourceid |
| QString | filename |
| DTVChannelList | channels |
Parses dvb-utils channel scanner output files.
Definition at line 79 of file dtvconfparser.h.
Definition at line 82 of file dtvconfparser.h.
Definition at line 83 of file dtvconfparser.h.
| DTVConfParser::DTVConfParser | ( | enum cardtype_t | _type, |
| uint | sourceid, | ||
| const QString & | _file | ||
| ) |
Definition at line 67 of file dtvconfparser.cpp.
| virtual DTVConfParser::~DTVConfParser | ( | ) | [inline, virtual] |
Definition at line 86 of file dtvconfparser.h.
Definition at line 73 of file dtvconfparser.cpp.
Referenced by ChannelScanner::ImportDVBUtils().
| DTVChannelList DTVConfParser::GetChannels | ( | void | ) | const [inline] |
Definition at line 90 of file dtvconfparser.h.
Referenced by ChannelScanner::ImportDVBUtils().
| bool DTVConfParser::ParseVDR | ( | const QStringList & | tokens, |
| int | channelNo = -1 |
||
| ) | [private] |
Definition at line 222 of file dtvconfparser.cpp.
Referenced by Parse().
| bool DTVConfParser::ParseConf | ( | const QStringList & | tokens | ) | [private] |
| bool DTVConfParser::ParseConfOFDM | ( | const QStringList & | tokens | ) | [private] |
Definition at line 134 of file dtvconfparser.cpp.
Referenced by Parse().
| bool DTVConfParser::ParseConfQPSK | ( | const QStringList & | tokens | ) | [private] |
Definition at line 201 of file dtvconfparser.cpp.
Referenced by Parse().
| bool DTVConfParser::ParseConfQAM | ( | const QStringList & | tokens | ) | [private] |
Definition at line 179 of file dtvconfparser.cpp.
Referenced by Parse().
| bool DTVConfParser::ParseConfATSC | ( | const QStringList & | tokens | ) | [private] |
Definition at line 160 of file dtvconfparser.cpp.
Referenced by Parse().
| void DTVConfParser::AddChannel | ( | const DTVMultiplex & | mux, |
| DTVChannelInfo & | chan | ||
| ) | [private] |
Definition at line 299 of file dtvconfparser.cpp.
Referenced by ParseConfATSC(), ParseConfOFDM(), ParseConfQAM(), ParseConfQPSK(), and ParseVDR().
cardtype_t DTVConfParser::type [private] |
Definition at line 101 of file dtvconfparser.h.
uint DTVConfParser::sourceid [private] |
Definition at line 102 of file dtvconfparser.h.
QString DTVConfParser::filename [private] |
Definition at line 103 of file dtvconfparser.h.
Referenced by hardwareprofile.os_detect.OSWithFile::__get__(), hardwareprofile.os_detect.OSWithFile::do_test(), and Parse().
DTVChannelList DTVConfParser::channels [private] |
Definition at line 107 of file dtvconfparser.h.
Referenced by AddChannel(), and Parse().
1.7.6.1