DTVConfParser Class Reference

#include <dvbconfparser.h>

List of all members.


Detailed Description

Parses dvb-utils channel scanner output files.

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

Member Enumeration Documentation

Enumerator:
ERROR_OPEN 
ERROR_PARSE 
OK 

Definition at line 82 of file dvbconfparser.h.

Enumerator:
ATSC 
OFDM 
QPSK 
QAM 
UNKNOWN 

Definition at line 83 of file dvbconfparser.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

DTVConfParser::return_t DTVConfParser::Parse ( void   ) 

Definition at line 74 of file dvbconfparser.cpp.

Referenced by ScanWizardScanner::ImportDVBUtils().

DTVChannelList DTVConfParser::GetChannels ( void   )  const [inline]

Definition at line 90 of file dvbconfparser.h.

Referenced by ScanWizardScanner::ImportDVBUtils().

bool DTVConfParser::ParseVDR ( const QStringList &  tokens,
int  channelNo = -1 
) [private]

Definition at line 216 of file dvbconfparser.cpp.

Referenced by Parse().

bool DTVConfParser::ParseConf ( const QStringList &  tokens  )  [private]

bool DTVConfParser::ParseConfOFDM ( const QStringList &  tokens  )  [private]

Definition at line 128 of file dvbconfparser.cpp.

Referenced by Parse().

bool DTVConfParser::ParseConfQPSK ( const QStringList &  tokens  )  [private]

Definition at line 195 of file dvbconfparser.cpp.

Referenced by Parse().

bool DTVConfParser::ParseConfQAM ( const QStringList &  tokens  )  [private]

Definition at line 173 of file dvbconfparser.cpp.

Referenced by Parse().

bool DTVConfParser::ParseConfATSC ( const QStringList &  tokens  )  [private]

Definition at line 154 of file dvbconfparser.cpp.

Referenced by Parse().

void DTVConfParser::AddChannel ( const DTVMultiplex mux,
DTVChannelInfo chan 
) [private]


Member Data Documentation

Definition at line 101 of file dvbconfparser.h.

Referenced by Parse().

Definition at line 102 of file dvbconfparser.h.

QString DTVConfParser::filename [private]

Definition at line 103 of file dvbconfparser.h.

Referenced by Parse().

Definition at line 107 of file dvbconfparser.h.

Referenced by AddChannel(), GetChannels(), and Parse().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:01 2010 for MythTV by  doxygen 1.5.5