#include <dvbconfparser.h>
Definition at line 79 of file dvbconfparser.h.
Public Types | |
| enum | return_t { ERROR_OPEN, ERROR_PARSE, OK } |
| enum | cardtype_t { ATSC, OFDM, QPSK, QAM, 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 |
| DTVConfParser::DTVConfParser | ( | enum cardtype_t | _type, | |
| uint | sourceid, | |||
| const QString & | _file | |||
| ) |
Definition at line 68 of file dvbconfparser.cpp.
| virtual DTVConfParser::~DTVConfParser | ( | ) | [inline, virtual] |
Definition at line 86 of file dvbconfparser.h.
| DTVConfParser::return_t DTVConfParser::Parse | ( | void | ) |
| DTVChannelList DTVConfParser::GetChannels | ( | void | ) | const [inline] |
| bool DTVConfParser::ParseVDR | ( | const QStringList & | tokens, | |
| int | channelNo = -1 | |||
| ) | [private] |
| bool DTVConfParser::ParseConf | ( | const QStringList & | tokens | ) | [private] |
| bool DTVConfParser::ParseConfOFDM | ( | const QStringList & | tokens | ) | [private] |
| bool DTVConfParser::ParseConfQPSK | ( | const QStringList & | tokens | ) | [private] |
| bool DTVConfParser::ParseConfQAM | ( | const QStringList & | tokens | ) | [private] |
| bool DTVConfParser::ParseConfATSC | ( | const QStringList & | tokens | ) | [private] |
| void DTVConfParser::AddChannel | ( | const DTVMultiplex & | mux, | |
| DTVChannelInfo & | chan | |||
| ) | [private] |
Definition at line 287 of file dvbconfparser.cpp.
Referenced by ParseConfATSC(), ParseConfOFDM(), ParseConfQAM(), ParseConfQPSK(), and ParseVDR().
cardtype_t DTVConfParser::type [private] |
uint DTVConfParser::sourceid [private] |
Definition at line 102 of file dvbconfparser.h.
QString DTVConfParser::filename [private] |
DTVChannelList DTVConfParser::channels [private] |
Definition at line 107 of file dvbconfparser.h.
Referenced by AddChannel(), GetChannels(), and Parse().
1.5.5