DTVModulationSystem Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVModulationSystem:
DTVParamHelper

List of all members.

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]

Detailed Description

Definition at line 494 of file dtvconfparserhelpers.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
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 

Definition at line 504 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVModulationSystem::DTVModulationSystem ( int  _default = kModulationSystem_UNDEFINED  )  [inline]

Definition at line 524 of file dtvconfparserhelpers.h.


Member Function Documentation

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]
static QString DTVModulationSystem::toString ( int  _value  )  [inline, static]

Definition at line 536 of file dtvconfparserhelpers.h.


Member Data Documentation

Initial value:
{
    { "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().

Initial value:

Definition at line 498 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

Initial value:

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]
Initial value:
{
    "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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:58 2012 for MythTV by  doxygen 1.6.3