#include <dtvconfparserhelpers.h>
Public Types | |
| enum | { kGuardInterval_1_32, kGuardInterval_1_16, kGuardInterval_1_8, kGuardInterval_1_4, kGuardIntervalAuto } |
Public Member Functions | |
| DTVGuardInterval (int _default=kGuardIntervalAuto) | |
| bool | IsCompatible (const DTVGuardInterval &other) const |
| 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 = 5 |
| static const char * | dbStr [kDBStrCnt] |
Definition at line 377 of file dtvconfparserhelpers.h.
| anonymous enum |
| kGuardInterval_1_32 | |
| kGuardInterval_1_16 | |
| kGuardInterval_1_8 | |
| kGuardInterval_1_4 | |
| kGuardIntervalAuto |
Definition at line 387 of file dtvconfparserhelpers.h.
| DTVGuardInterval::DTVGuardInterval | ( | int | _default = kGuardIntervalAuto |
) | [inline] |
Definition at line 396 of file dtvconfparserhelpers.h.
| bool DTVGuardInterval::IsCompatible | ( | const DTVGuardInterval & | other | ) | const [inline] |
Definition at line 399 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::IsEqual().
| bool DTVGuardInterval::ParseConf | ( | const QString & | _value | ) | [inline] |
Definition at line 404 of file dtvconfparserhelpers.h.
| bool DTVGuardInterval::ParseVDR | ( | const QString & | _value | ) | [inline] |
Definition at line 406 of file dtvconfparserhelpers.h.
Referenced by DTVConfParser::ParseVDR().
| bool DTVGuardInterval::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 408 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::ParseDVB_T().
| QString DTVGuardInterval::toString | ( | void | ) | const [inline] |
Definition at line 411 of file dtvconfparserhelpers.h.
Referenced by ChannelUtil::CreateMultiplex(), ScanDTVTransport::SaveScan(), DTVMultiplex::toString(), toString(), and TransportScanItem::TransportScanItem().
| static QString DTVGuardInterval::toString | ( | int | _value | ) | [inline, static] |
Definition at line 413 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVGuardInterval::confTable [static, protected] |
{
{ "GUARD_INTERVAL_AUTO", kGuardIntervalAuto },
{ "GUARD_INTERVAL_1_32", kGuardInterval_1_32 },
{ "GUARD_INTERVAL_1_16", kGuardInterval_1_16 },
{ "GUARD_INTERVAL_1_8", kGuardInterval_1_8 },
{ "GUARD_INTERVAL_1_4", kGuardInterval_1_4 },
{ NULL, kGuardIntervalAuto },
}
Definition at line 380 of file dtvconfparserhelpers.h.
Referenced by ParseConf().
const DTVParamHelperStruct DTVGuardInterval::vdrTable [static, protected] |
{
{ "999", kGuardIntervalAuto },
{ "32", kGuardInterval_1_32 },
{ "16", kGuardInterval_1_16 },
{ "8", kGuardInterval_1_8 },
{ "4", kGuardInterval_1_4 },
{ NULL, kGuardIntervalAuto },
}
Definition at line 381 of file dtvconfparserhelpers.h.
Referenced by ParseVDR().
const DTVParamHelperStruct DTVGuardInterval::parseTable [static, protected] |
{
{ "auto", kGuardIntervalAuto },
{ "1/32", kGuardInterval_1_32 },
{ "1/16", kGuardInterval_1_16 },
{ "1/8", kGuardInterval_1_8 },
{ "1/4", kGuardInterval_1_4 },
{ NULL, kGuardIntervalAuto },
}
Definition at line 382 of file dtvconfparserhelpers.h.
Referenced by Parse().
const uint DTVGuardInterval::kDBStrCnt = 5 [static, protected] |
Definition at line 383 of file dtvconfparserhelpers.h.
Referenced by toString().
const char * DTVGuardInterval::dbStr [static, protected] |
{
"1/32",
"1/16",
"1/8",
"1/4",
"auto"
}
Definition at line 384 of file dtvconfparserhelpers.h.
Referenced by toString().
1.6.3