MythTV  master
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
DTVModulationSystem Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVModulationSystem:
Inheritance graph
[legend]
Collaboration diagram for DTVModulationSystem:
Collaboration graph
[legend]

Public Types

enum  Types {
  kModulationSystem_UNDEFINED, kModulationSystem_DVBC_ANNEX_A, 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_DTMB, kModulationSystem_CMMB, kModulationSystem_DAB,
  kModulationSystem_DVBT2, kModulationSystem_TURBO, kModulationSystem_DVBC_ANNEX_C
}
 

Public Member Functions

 DTVModulationSystem (uint _value=kModulationSystem_UNDEFINED)
 
DTVModulationSystemoperator= (uint _value)
 
bool IsCompatible (const DTVModulationSystem other) const
 
bool ParseConf (const QString &_value)
 
bool ParseVDR (const QString &_value)
 
bool Parse (const QString &_value)
 
QString toString () const
 
- Public Member Functions inherited from DTVParamHelper
 DTVParamHelper (int _value)
 
DTVParamHelperoperator= (int _value)
 
 operator int () const
 
bool operator== (const int v) const
 
bool operator!= (const int v) const
 

Static Public Member Functions

static QString toString (int _value)
 

Static Protected Attributes

static const DTVParamHelperVec kConfTable
 
static const DTVParamHelperVec kVdrTable
 
static const DTVParamHelperVec kParseTable
 
static const DTVParamStringVec kParseStrings
 kModulationSystem_UNDEFINED More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from DTVParamHelper
static bool ParseParam (const QString &symbol, int &value, const DTVParamHelperVec &table)
 
static QString toString (const DTVParamStringVec &strings, int index)
 
- Protected Attributes inherited from DTVParamHelper
int m_value
 

Detailed Description

Definition at line 644 of file dtvconfparserhelpers.h.

Member Enumeration Documentation

◆ Types

Enumerator
kModulationSystem_UNDEFINED 
kModulationSystem_DVBC_ANNEX_A 
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_DTMB 
kModulationSystem_CMMB 
kModulationSystem_DAB 
kModulationSystem_DVBT2 
kModulationSystem_TURBO 
kModulationSystem_DVBC_ANNEX_C 

Definition at line 653 of file dtvconfparserhelpers.h.

Constructor & Destructor Documentation

◆ DTVModulationSystem()

DTVModulationSystem::DTVModulationSystem ( uint  _value = kModulationSystem_UNDEFINED)
inlineexplicit

Definition at line 699 of file dtvconfparserhelpers.h.

Member Function Documentation

◆ operator=()

DTVModulationSystem& DTVModulationSystem::operator= ( uint  _value)
inline

Definition at line 702 of file dtvconfparserhelpers.h.

◆ IsCompatible()

bool DTVModulationSystem::IsCompatible ( const DTVModulationSystem  other) const
inline

Definition at line 705 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

◆ ParseConf()

bool DTVModulationSystem::ParseConf ( const QString &  _value)
inline

Definition at line 712 of file dtvconfparserhelpers.h.

◆ ParseVDR()

bool DTVModulationSystem::ParseVDR ( const QString &  _value)
inline

Definition at line 714 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

◆ Parse()

bool DTVModulationSystem::Parse ( const QString &  _value)
inline

◆ toString() [1/2]

QString DTVModulationSystem::toString ( ) const
inline

◆ toString() [2/2]

static QString DTVModulationSystem::toString ( int  _value)
inlinestatic

Definition at line 721 of file dtvconfparserhelpers.h.

Member Data Documentation

◆ kConfTable

const DTVParamHelperVec DTVModulationSystem::kConfTable
staticprotected
Initial value:
{
{ "SYS_UNDEFINED", kModulationSystem_UNDEFINED },
{ "SYS_DVBC_ANNEX_A", kModulationSystem_DVBC_ANNEX_A },
{ "SYS_DVBC_ANNEX_B", kModulationSystem_DVBC_ANNEX_B },
{ "SYS_DVBT", kModulationSystem_DVBT },
{ "SYS_DVBT2", kModulationSystem_DVBT2 },
{ "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_DTMB", kModulationSystem_DTMB },
{ "SYS_CMMB", kModulationSystem_CMMB },
{ "SYS_DAB", kModulationSystem_DAB },
{ "SYS_TURBO", kModulationSystem_TURBO },
{ "SYS_DVBC_ANNEX_C", kModulationSystem_DVBC_ANNEX_C },
}

Definition at line 647 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

◆ kVdrTable

const DTVParamHelperVec DTVModulationSystem::kVdrTable
staticprotected
Initial value:

Definition at line 648 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

◆ kParseTable

const DTVParamHelperVec DTVModulationSystem::kParseTable
staticprotected
Initial value:

Definition at line 649 of file dtvconfparserhelpers.h.

Referenced by Parse().

◆ kParseStrings

const DTVParamStringVec DTVModulationSystem::kParseStrings
staticprotected
Initial value:
{
"UNDEFINED",
"DVB-C/A",
"DVB-C/B",
"DVB-T",
"DSS",
"DVB-S",
"DVB-S2",
"DVBH",
"ISDBT",
"ISDBS",
"ISDBC",
"ATSC",
"ATSCMH",
"DTMB",
"CMMB",
"DAB",
"DVB-T2",
"TURBO",
"DVB-C/C",
}

kModulationSystem_UNDEFINED

kModulationSystem_DVBC_ANNEX_A 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_DTMB kModulationSystem_CMMB kModulationSystem_DAB kModulationSystem_DVBT2 kModulationSystem_TURBO kModulationSystem_DVBC_ANNEX_C

Definition at line 650 of file dtvconfparserhelpers.h.

Referenced by toString().


The documentation for this class was generated from the following files:
DTVModulationSystem::kModulationSystem_DVBS2
@ kModulationSystem_DVBS2
Definition: dtvconfparserhelpers.h:662
DTVModulationSystem::kModulationSystem_ISDBC
@ kModulationSystem_ISDBC
Definition: dtvconfparserhelpers.h:666
DTVModulationSystem::kModulationSystem_DTMB
@ kModulationSystem_DTMB
Definition: dtvconfparserhelpers.h:669
DTVModulationSystem::kModulationSystem_UNDEFINED
@ kModulationSystem_UNDEFINED
Definition: dtvconfparserhelpers.h:656
DTVModulationSystem::kModulationSystem_DAB
@ kModulationSystem_DAB
Definition: dtvconfparserhelpers.h:671
DTVModulationSystem::kModulationSystem_ISDBS
@ kModulationSystem_ISDBS
Definition: dtvconfparserhelpers.h:665
DTVModulationSystem::kModulationSystem_ISDBT
@ kModulationSystem_ISDBT
Definition: dtvconfparserhelpers.h:664
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_B
@ kModulationSystem_DVBC_ANNEX_B
Definition: dtvconfparserhelpers.h:658
DTVModulationSystem::kModulationSystem_ATSCMH
@ kModulationSystem_ATSCMH
Definition: dtvconfparserhelpers.h:668
DTVModulationSystem::kModulationSystem_ATSC
@ kModulationSystem_ATSC
Definition: dtvconfparserhelpers.h:667
DTVModulationSystem::kModulationSystem_DSS
@ kModulationSystem_DSS
Definition: dtvconfparserhelpers.h:660
DTVModulationSystem::kModulationSystem_CMMB
@ kModulationSystem_CMMB
Definition: dtvconfparserhelpers.h:670
DTVModulationSystem::kModulationSystem_TURBO
@ kModulationSystem_TURBO
Definition: dtvconfparserhelpers.h:673
DTVModulationSystem::kModulationSystem_DVBH
@ kModulationSystem_DVBH
Definition: dtvconfparserhelpers.h:663
DTVModulationSystem::kModulationSystem_DVBT2
@ kModulationSystem_DVBT2
Definition: dtvconfparserhelpers.h:672
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_C
@ kModulationSystem_DVBC_ANNEX_C
Definition: dtvconfparserhelpers.h:674
DTVModulationSystem::kModulationSystem_DVBS
@ kModulationSystem_DVBS
Definition: dtvconfparserhelpers.h:661
DTVModulationSystem::kModulationSystem_DVBT
@ kModulationSystem_DVBT
Definition: dtvconfparserhelpers.h:659
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_A
@ kModulationSystem_DVBC_ANNEX_A
Definition: dtvconfparserhelpers.h:657