DTVCodeRate Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVCodeRate:

DTVParamHelper

List of all members.


Detailed Description

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]

Member Enumeration Documentation

anonymous enum

Enumerator:
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.


Constructor & Destructor Documentation

DTVCodeRate::DTVCodeRate ( int  _default = kFECAuto  )  [inline]

Definition at line 212 of file dtvconfparserhelpers.h.


Member Function Documentation

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

Definition at line 214 of file dtvconfparserhelpers.h.

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

Definition at line 216 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

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

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

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

Definition at line 223 of file dtvconfparserhelpers.h.


Member Data Documentation

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]

Initial value:

{
    { "999", kFECAuto },
    { "12",  kFEC_1_2 },
    { "23",  kFEC_2_3 },
    { "34",  kFEC_3_4 },
    { "45",  kFEC_4_5 },
    { "56",  kFEC_5_6 },
    { "67",  kFEC_6_7 },
    { "78",  kFEC_7_8 },
    { "89",  kFEC_8_9 },
    { "0",   kFECNone },
    { NULL,  kFECAuto }
}

Definition at line 192 of file dtvconfparserhelpers.h.

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.


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