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

#include <dtvconfparserhelpers.h>

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

Public Types

enum  Types { kRollOff_35, kRollOff_20, kRollOff_25, kRollOff_Auto }
 

Public Member Functions

 DTVRollOff (Types _default=kRollOff_35)
 
DTVRollOffoperator= (const Types _value)
 
DTVRollOffoperator= (fe_rolloff_t type)
 
bool IsCompatible (const DTVRollOff 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
 kRollOff_35 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 725 of file dtvconfparserhelpers.h.

Member Enumeration Documentation

◆ Types

Enumerator
kRollOff_35 
kRollOff_20 
kRollOff_25 
kRollOff_Auto 

Definition at line 734 of file dtvconfparserhelpers.h.

Constructor & Destructor Documentation

◆ DTVRollOff()

DTVRollOff::DTVRollOff ( Types  _default = kRollOff_35)
inlineexplicit

Definition at line 747 of file dtvconfparserhelpers.h.

Member Function Documentation

◆ operator=() [1/2]

DTVRollOff& DTVRollOff::operator= ( const Types  _value)
inline

Definition at line 749 of file dtvconfparserhelpers.h.

◆ operator=() [2/2]

DTVRollOff& DTVRollOff::operator= ( fe_rolloff_t  type)
inline

Definition at line 752 of file dtvconfparserhelpers.h.

◆ IsCompatible()

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

Definition at line 756 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

◆ ParseConf()

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

Definition at line 761 of file dtvconfparserhelpers.h.

◆ ParseVDR()

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

Definition at line 763 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

◆ Parse()

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

Definition at line 765 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::ParseDVB_S2().

◆ toString() [1/2]

QString DTVRollOff::toString ( ) const
inline

◆ toString() [2/2]

static QString DTVRollOff::toString ( int  _value)
inlinestatic

Definition at line 770 of file dtvconfparserhelpers.h.

Member Data Documentation

◆ kConfTable

const DTVParamHelperVec DTVRollOff::kConfTable
staticprotected
Initial value:
{
{ "ROLLOFF_35", kRollOff_35 },
{ "ROLLOFF_20", kRollOff_20 },
{ "ROLLOFF_25", kRollOff_25 },
{ "ROLLOFF_AUTO", kRollOff_Auto },
{ nullptr, kRollOff_35 },
}

Definition at line 728 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

◆ kVdrTable

const DTVParamHelperVec DTVRollOff::kVdrTable
staticprotected
Initial value:
{
{ "35", kRollOff_35 },
{ "20", kRollOff_20 },
{ "25", kRollOff_25 },
{ "0", kRollOff_Auto },
{ nullptr, kRollOff_35 },
}

Definition at line 729 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

◆ kParseTable

const DTVParamHelperVec DTVRollOff::kParseTable
staticprotected
Initial value:
{
{ "0.35", kRollOff_35 },
{ "0.20", kRollOff_20 },
{ "0.25", kRollOff_25 },
{ "auto", kRollOff_Auto },
{ nullptr, kRollOff_35 },
}

Definition at line 730 of file dtvconfparserhelpers.h.

Referenced by Parse().

◆ kParseStrings

const DTVParamStringVec DTVRollOff::kParseStrings
staticprotected
Initial value:
{
"0.35",
"0.20",
"0.25",
"auto",
}

kRollOff_35

kRollOff_20 kRollOff_25 kRollOff_Auto

Definition at line 731 of file dtvconfparserhelpers.h.

Referenced by toString().


The documentation for this class was generated from the following files:
DTVRollOff::kRollOff_35
@ kRollOff_35
Definition: dtvconfparserhelpers.h:736
DTVRollOff::kRollOff_Auto
@ kRollOff_Auto
Definition: dtvconfparserhelpers.h:739
DTVRollOff::kRollOff_20
@ kRollOff_20
Definition: dtvconfparserhelpers.h:737
DTVRollOff::kRollOff_25
@ kRollOff_25
Definition: dtvconfparserhelpers.h:738