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

Helper abstract template to do some of the mundane portions of translating and comparing the parameter strings. More...

#include <libmythtv/dtvconfparserhelpers.h>

Inheritance diagram for DTVParamHelper:
[legend]
Collaboration diagram for DTVParamHelper:
[legend]

Public Member Functions

 DTVParamHelper (int _value)
 
DTVParamHelperoperator= (int _value)
 
 operator int () const
 
bool operator== (const int v) const
 
bool operator!= (const int v) const
 

Static Protected Member Functions

static bool ParseParam (const QString &symbol, int &value, const DTVParamHelperVec &table)
 
static QString toString (const DTVParamStringVec &strings, int index)
 

Protected Attributes

int m_value
 

Detailed Description

Helper abstract template to do some of the mundane portions of translating and comparing the parameter strings.

Definition at line 56 of file dtvconfparserhelpers.h.

Constructor & Destructor Documentation

◆ DTVParamHelper()

DTVParamHelper::DTVParamHelper ( int  _value)
inlineexplicit

Definition at line 59 of file dtvconfparserhelpers.h.

Member Function Documentation

◆ operator=()

DTVParamHelper& DTVParamHelper::operator= ( int  _value)
inline

Definition at line 60 of file dtvconfparserhelpers.h.

◆ operator int()

DTVParamHelper::operator int ( ) const
inline

Definition at line 62 of file dtvconfparserhelpers.h.

◆ operator==()

bool DTVParamHelper::operator== ( const int  v) const
inline

Definition at line 63 of file dtvconfparserhelpers.h.

◆ operator!=()

bool DTVParamHelper::operator!= ( const int  v) const
inline

Definition at line 64 of file dtvconfparserhelpers.h.

◆ ParseParam()

bool DTVParamHelper::ParseParam ( const QString &  symbol,
int &  value,
const DTVParamHelperVec table 
)
staticprotected

◆ toString()

QString DTVParamHelper::toString ( const DTVParamStringVec strings,
int  index 
)
staticprotected

Member Data Documentation

◆ m_value

int DTVParamHelper::m_value
protected

Definition at line 73 of file dtvconfparserhelpers.h.

Referenced by DTVInversion::IsCompatible(), DTVBandwidth::IsCompatible(), DTVCodeRate::IsCompatible(), DTVModulation::IsCompatible(), DTVTransmitMode::IsCompatible(), DTVGuardInterval::IsCompatible(), DTVHierarchy::IsCompatible(), DTVModulationSystem::IsCompatible(), DTVRollOff::IsCompatible(), DTVTunerType::IsDiSEqCSupported(), DTVTunerType::IsFECVariable(), DTVTunerType::IsModulationVariable(), operator int(), operator!=(), operator=(), DTVTunerType::operator=(), DTVInversion::operator=(), DTVBandwidth::operator=(), DTVCodeRate::operator=(), DTVModulation::operator=(), DTVTransmitMode::operator=(), DTVGuardInterval::operator=(), DTVHierarchy::operator=(), DTVPolarity::operator=(), DTVModulationSystem::operator=(), DTVRollOff::operator=(), operator==(), DTVTunerType::Parse(), DTVInversion::Parse(), DTVBandwidth::Parse(), DTVCodeRate::Parse(), DTVModulation::Parse(), DTVTransmitMode::Parse(), DTVGuardInterval::Parse(), DTVHierarchy::Parse(), DTVPolarity::Parse(), DTVModulationSystem::Parse(), DTVRollOff::Parse(), DTVInversion::ParseConf(), DTVBandwidth::ParseConf(), DTVCodeRate::ParseConf(), DTVModulation::ParseConf(), DTVTransmitMode::ParseConf(), DTVGuardInterval::ParseConf(), DTVHierarchy::ParseConf(), DTVPolarity::ParseConf(), DTVModulationSystem::ParseConf(), DTVRollOff::ParseConf(), DTVInversion::ParseVDR(), DTVBandwidth::ParseVDR(), DTVCodeRate::ParseVDR(), DTVModulation::ParseVDR(), DTVTransmitMode::ParseVDR(), DTVGuardInterval::ParseVDR(), DTVHierarchy::ParseVDR(), DTVPolarity::ParseVDR(), DTVModulationSystem::ParseVDR(), DTVRollOff::ParseVDR(), DTVTunerType::toString(), DTVInversion::toString(), DTVBandwidth::toString(), DTVCodeRate::toString(), DTVModulation::toString(), DTVTransmitMode::toString(), DTVGuardInterval::toString(), DTVHierarchy::toString(), DTVPolarity::toString(), DTVModulationSystem::toString(), DTVRollOff::toString(), and DTVTunerType::toUInt().


The documentation for this class was generated from the following files: