#include <dtvconfparserhelpers.h>

Definition at line 188 of file dtvconfparserhelpers.h.
Public Types | |
| enum | { kFECNone, kFEC_1_2, kFEC_2_3, kFEC_3_4, kFEC_4_5, kFEC_5_6, kFEC_6_7, kFEC_7_8, kFEC_8_9, kFECAuto } |
Public Member Functions | |
| DTVCodeRate (int _default=kFECAuto) | |
| 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 = 10 |
| static const char * | dbStr [kDBStrCnt] |
| anonymous enum |
| kFECNone | |
| kFEC_1_2 | |
| kFEC_2_3 | |
| kFEC_3_4 | |
| kFEC_4_5 | |
| kFEC_5_6 | |
| kFEC_6_7 | |
| kFEC_7_8 | |
| kFEC_8_9 | |
| kFECAuto |
Definition at line 198 of file dtvconfparserhelpers.h.
| DTVCodeRate::DTVCodeRate | ( | int | _default = kFECAuto |
) | [inline] |
Definition at line 212 of file dtvconfparserhelpers.h.
| bool DTVCodeRate::ParseConf | ( | const QString & | _value | ) | [inline] |
Definition at line 214 of file dtvconfparserhelpers.h.
| bool DTVCodeRate::ParseVDR | ( | const QString & | _value | ) | [inline] |
| bool DTVCodeRate::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 218 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::ParseDVB_S_and_C(), and DTVMultiplex::ParseDVB_T().
| QString DTVCodeRate::toString | ( | void | ) | const [inline] |
Definition at line 221 of file dtvconfparserhelpers.h.
Referenced by ChannelUtil::CreateMultiplex(), DTVMultiplex::toString(), and TransportScanItem::TransportScanItem().
| static QString DTVCodeRate::toString | ( | int | _value | ) | [inline, static] |
Definition at line 223 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVCodeRate::confTable [static, protected] |
Initial value:
{
{ "FEC_AUTO", kFECAuto },
{ "FEC_1_2", kFEC_1_2 },
{ "FEC_2_3", kFEC_2_3 },
{ "FEC_3_4", kFEC_3_4 },
{ "FEC_4_5", kFEC_4_5 },
{ "FEC_5_6", kFEC_5_6 },
{ "FEC_6_7", kFEC_6_7 },
{ "FEC_7_8", kFEC_7_8 },
{ "FEC_8_9", kFEC_8_9 },
{ "FEC_NONE", kFECNone },
{ NULL, kFECAuto },
}
Definition at line 191 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVCodeRate::vdrTable [static, protected] |
const DTVParamHelperStruct DTVCodeRate::parseTable [static, protected] |
Initial value:
{
{ "auto", kFECAuto },
{ "1/2", kFEC_1_2 },
{ "2/3", kFEC_2_3 },
{ "3/4", kFEC_3_4 },
{ "4/5", kFEC_4_5 },
{ "5/6", kFEC_5_6 },
{ "6/7", kFEC_6_7 },
{ "7/8", kFEC_7_8 },
{ "8/9", kFEC_8_9 },
{ "none", kFECNone },
{ NULL, kFECAuto }
}
Definition at line 193 of file dtvconfparserhelpers.h.
const uint DTVCodeRate::kDBStrCnt = 10 [static, protected] |
Definition at line 194 of file dtvconfparserhelpers.h.
const char * DTVCodeRate::dbStr [static, protected] |
Initial value:
{
"none",
"1/2",
"2/3",
"3/4",
"4/5",
"5/6",
"6/7",
"7/8",
"8/9",
"auto"
}
Definition at line 195 of file dtvconfparserhelpers.h.
1.5.5