DTVBandwidth Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVBandwidth:

DTVParamHelper

List of all members.


Detailed Description

Definition at line 152 of file dtvconfparserhelpers.h.


Public Types

enum  { kBandwidth8MHz, kBandwidth7MHz, kBandwidth6MHz, kBandwidthAuto }

Public Member Functions

 DTVBandwidth (int _default=kBandwidthAuto)
bool ParseConf (const QString &_value)
bool ParseVDR (const QString &_value)
bool Parse (const QString &_value)
QString toString () const
QChar toChar () const

Static Public Member Functions

static QString toString (int _value)

Static Protected Attributes

static const DTVParamHelperStruct confTable []
static const DTVParamHelperStruct vdrTable []
static const DTVParamHelperStruct parseTable []
static const uint kDBStrCnt = 4
static const char * dbStr [kDBStrCnt]

Member Enumeration Documentation

anonymous enum

Enumerator:
kBandwidth8MHz 
kBandwidth7MHz 
kBandwidth6MHz 
kBandwidthAuto 

Definition at line 162 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVBandwidth::DTVBandwidth ( int  _default = kBandwidthAuto  )  [inline]

Definition at line 170 of file dtvconfparserhelpers.h.


Member Function Documentation

bool DTVBandwidth::ParseConf ( const QString &  _value  )  [inline]

Definition at line 172 of file dtvconfparserhelpers.h.

bool DTVBandwidth::ParseVDR ( const QString &  _value  )  [inline]

Definition at line 174 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

bool DTVBandwidth::Parse ( const QString &  _value  )  [inline]

Definition at line 176 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::ParseDVB_T().

QString DTVBandwidth::toString ( void   )  const [inline]

QChar DTVBandwidth::toChar (  )  const [inline]

Definition at line 180 of file dtvconfparserhelpers.h.

Referenced by ChannelUtil::CreateMultiplex().

static QString DTVBandwidth::toString ( int  _value  )  [inline, static]

Definition at line 184 of file dtvconfparserhelpers.h.


Member Data Documentation

const DTVParamHelperStruct DTVBandwidth::confTable [static, protected]

Initial value:

{
   { "BANDWIDTH_AUTO",  kBandwidthAuto },
   { "BANDWIDTH_8_MHZ", kBandwidth8MHz },
   { "BANDWIDTH_7_MHZ", kBandwidth7MHz },
   { "BANDWIDTH_6_MHZ", kBandwidth6MHz },
   { NULL,              kBandwidthAuto },
}

Definition at line 155 of file dtvconfparserhelpers.h.

const DTVParamHelperStruct DTVBandwidth::vdrTable [static, protected]

Initial value:

{
   { "999", kBandwidthAuto },
   { "8",   kBandwidth8MHz },
   { "7",   kBandwidth7MHz },
   { "6",   kBandwidth6MHz },
   { NULL,  kBandwidthAuto },
}

Definition at line 156 of file dtvconfparserhelpers.h.

Initial value:

{
   { "a",    kBandwidthAuto },
   { "8",    kBandwidth8MHz },
   { "7",    kBandwidth7MHz },
   { "6",    kBandwidth6MHz },
   { NULL,   kBandwidthAuto },
}

Definition at line 157 of file dtvconfparserhelpers.h.

const uint DTVBandwidth::kDBStrCnt = 4 [static, protected]

Definition at line 158 of file dtvconfparserhelpers.h.

const char * DTVBandwidth::dbStr [static, protected]

Initial value:

{
    "8",   
    "7",   
    "6",   
    "a"    
}

Definition at line 159 of file dtvconfparserhelpers.h.


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