|
MythTV
0.26-pre
|
#include <dtvconfparserhelpers.h>
Public Types | |
| enum | { kBandwidth8MHz, kBandwidth7MHz, kBandwidth6MHz, kBandwidthAuto } |
Public Member Functions | |
| DTVBandwidth (int _default=kBandwidthAuto) | |
| bool | IsCompatible (const DTVBandwidth &other) const |
| 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] |
Definition at line 193 of file dtvconfparserhelpers.h.
| anonymous enum |
Definition at line 203 of file dtvconfparserhelpers.h.
| DTVBandwidth::DTVBandwidth | ( | int | _default = kBandwidthAuto | ) | [inline] |
Definition at line 211 of file dtvconfparserhelpers.h.
| bool DTVBandwidth::IsCompatible | ( | const DTVBandwidth & | other | ) | const [inline] |
Definition at line 213 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::IsEqual().
| bool DTVBandwidth::ParseConf | ( | const QString & | _value | ) | [inline] |
Definition at line 218 of file dtvconfparserhelpers.h.
| bool DTVBandwidth::ParseVDR | ( | const QString & | _value | ) | [inline] |
Definition at line 220 of file dtvconfparserhelpers.h.
Referenced by DTVConfParser::ParseVDR().
| bool DTVBandwidth::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 222 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::ParseDVB_T().
| QString DTVBandwidth::toString | ( | void | ) | const [inline] |
Definition at line 225 of file dtvconfparserhelpers.h.
Referenced by ScanDTVTransport::SaveScan(), toChar(), DTVMultiplex::toString(), toString(), and TransportScanItem::TransportScanItem().
| QChar DTVBandwidth::toChar | ( | ) | const [inline] |
Definition at line 226 of file dtvconfparserhelpers.h.
Referenced by ChannelUtil::CreateMultiplex(), format_dvbc(), and format_dvbt().
| static QString DTVBandwidth::toString | ( | int | _value | ) | [inline, static] |
Definition at line 230 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVBandwidth::confTable [static, protected] |
{
{ "BANDWIDTH_AUTO", kBandwidthAuto },
{ "BANDWIDTH_8_MHZ", kBandwidth8MHz },
{ "BANDWIDTH_7_MHZ", kBandwidth7MHz },
{ "BANDWIDTH_6_MHZ", kBandwidth6MHz },
{ NULL, kBandwidthAuto },
}
Definition at line 196 of file dtvconfparserhelpers.h.
Referenced by ParseConf().
const DTVParamHelperStruct DTVBandwidth::vdrTable [static, protected] |
{
{ "999", kBandwidthAuto },
{ "8", kBandwidth8MHz },
{ "7", kBandwidth7MHz },
{ "6", kBandwidth6MHz },
{ NULL, kBandwidthAuto },
}
Definition at line 197 of file dtvconfparserhelpers.h.
Referenced by ParseVDR().
const DTVParamHelperStruct DTVBandwidth::parseTable [static, protected] |
{
{ "a", kBandwidthAuto },
{ "8", kBandwidth8MHz },
{ "7", kBandwidth7MHz },
{ "6", kBandwidth6MHz },
{ NULL, kBandwidthAuto },
}
Definition at line 198 of file dtvconfparserhelpers.h.
Referenced by Parse().
const uint DTVBandwidth::kDBStrCnt = 4 [static, protected] |
Definition at line 199 of file dtvconfparserhelpers.h.
Referenced by toString().
const char * DTVBandwidth::dbStr [static, protected] |
{
"8",
"7",
"6",
"a"
}
Definition at line 200 of file dtvconfparserhelpers.h.
Referenced by toString().
1.7.6.1