#include <dtvconfparserhelpers.h>
Public Types | |
| enum | { kModulationSystem_UNDEFINED, kModulationSystem_DVBC_ANNEX_AC, kModulationSystem_DVBC_ANNEX_B, kModulationSystem_DVBT, kModulationSystem_DSS, kModulationSystem_DVBS, kModulationSystem_DVBS2, kModulationSystem_DVBH, kModulationSystem_ISDBT, kModulationSystem_ISDBS, kModulationSystem_ISDBC, kModulationSystem_ATSC, kModulationSystem_ATSCMH, kModulationSystem_DMBTH, kModulationSystem_CMMB, kModulationSystem_DAB } |
Public Member Functions | |
| DTVModulationSystem (int _default=kModulationSystem_UNDEFINED) | |
| bool | ParseConf (const QString &_value) |
| bool | ParseVDR (const QString &_value) |
| bool | Parse (const QString &_value) |
| QString | toString () 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 = 16 |
| static const char * | dbStr [kDBStrCnt] |
Definition at line 494 of file dtvconfparserhelpers.h.
| anonymous enum |
Definition at line 504 of file dtvconfparserhelpers.h.
| DTVModulationSystem::DTVModulationSystem | ( | int | _default = kModulationSystem_UNDEFINED |
) | [inline] |
Definition at line 524 of file dtvconfparserhelpers.h.
| bool DTVModulationSystem::ParseConf | ( | const QString & | _value | ) | [inline] |
Definition at line 527 of file dtvconfparserhelpers.h.
| bool DTVModulationSystem::ParseVDR | ( | const QString & | _value | ) | [inline] |
Definition at line 529 of file dtvconfparserhelpers.h.
Referenced by DTVConfParser::ParseVDR().
| bool DTVModulationSystem::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 531 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::ParseDVB_S2().
| QString DTVModulationSystem::toString | ( | void | ) | const [inline] |
Definition at line 534 of file dtvconfparserhelpers.h.
Referenced by ChannelUtil::CreateMultiplex(), ScanDTVTransport::SaveScan(), DTVMultiplex::toString(), toString(), and TransportScanItem::TransportScanItem().
| static QString DTVModulationSystem::toString | ( | int | _value | ) | [inline, static] |
Definition at line 536 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVModulationSystem::confTable [static, protected] |
{
{ "SYS_UNDEFINED", kModulationSystem_UNDEFINED },
{ "SYS_DVBC_ANNEX_AC", kModulationSystem_DVBC_ANNEX_AC },
{ "SYS_DVBC_ANNEX_B", kModulationSystem_DVBC_ANNEX_B },
{ "SYS_DVBT", kModulationSystem_DVBT },
{ "SYS_DSS", kModulationSystem_DSS },
{ "SYS_DVBS", kModulationSystem_DVBS },
{ "SYS_DVBS2", kModulationSystem_DVBS2 },
{ "SYS_DVBH", kModulationSystem_DVBH },
{ "SYS_ISDBT", kModulationSystem_ISDBT },
{ "SYS_ISDBS", kModulationSystem_ISDBS },
{ "SYS_ISDBC", kModulationSystem_ISDBC },
{ "SYS_ATSC", kModulationSystem_ATSC },
{ "SYS_ATSCMH", kModulationSystem_ATSCMH },
{ "SYS_DMBTH", kModulationSystem_DMBTH },
{ "SYS_CMMB", kModulationSystem_CMMB },
{ "SYS_DAB", kModulationSystem_DAB },
{ NULL, kModulationSystem_UNDEFINED },
}
Definition at line 497 of file dtvconfparserhelpers.h.
Referenced by ParseConf().
const DTVParamHelperStruct DTVModulationSystem::vdrTable [static, protected] |
{
{ "0", kModulationSystem_DVBS },
{ "1", kModulationSystem_DVBS2 },
{ NULL, kModulationSystem_UNDEFINED },
}
Definition at line 498 of file dtvconfparserhelpers.h.
Referenced by ParseVDR().
const DTVParamHelperStruct DTVModulationSystem::parseTable [static, protected] |
{
{ "UNDEFINED", kModulationSystem_UNDEFINED },
{ "DVBC_AC", kModulationSystem_DVBC_ANNEX_AC },
{ "DVBC_B", kModulationSystem_DVBC_ANNEX_B },
{ "DVBT", kModulationSystem_DVBT },
{ "DSS", kModulationSystem_DSS },
{ "DVB-S", kModulationSystem_DVBS },
{ "DVB-S2", kModulationSystem_DVBS2 },
{ "DVBH", kModulationSystem_DVBH },
{ "ISDBT", kModulationSystem_ISDBT },
{ "ISDBS", kModulationSystem_ISDBS },
{ "ISDBC", kModulationSystem_ISDBC },
{ "ATSC", kModulationSystem_ATSC },
{ "ATSCMH", kModulationSystem_ATSCMH },
{ "DMBTH", kModulationSystem_DMBTH },
{ "CMMB", kModulationSystem_CMMB },
{ "DAB", kModulationSystem_DAB },
{ NULL, kModulationSystem_UNDEFINED },
}
Definition at line 499 of file dtvconfparserhelpers.h.
Referenced by Parse().
const uint DTVModulationSystem::kDBStrCnt = 16 [static, protected] |
Definition at line 500 of file dtvconfparserhelpers.h.
Referenced by toString().
const char * DTVModulationSystem::dbStr [static, protected] |
{
"UNDEFINED",
"DVBCAC",
"DVBC_B",
"DVBT",
"DSS",
"DVB-S",
"DVB-S2",
"DVBH",
"ISDBT",
"ISDBS",
"ISDBC",
"ATSC",
"ATSCMH",
"DMBTH",
"CMMB",
"DAB",
}
Definition at line 501 of file dtvconfparserhelpers.h.
Referenced by toString().
1.6.3