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 paramater strings. More...

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVParamHelper:
Inheritance graph
[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 DTVParamHelperStruct *table)
 
static QString toString (const char *strings[], int index, uint strings_size)
 

Protected Attributes

int value
 

Detailed Description

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

Definition at line 53 of file dtvconfparserhelpers.h.

Constructor & Destructor Documentation

◆ DTVParamHelper()

DTVParamHelper::DTVParamHelper ( int  _value)
inlineexplicit

Definition at line 56 of file dtvconfparserhelpers.h.

Member Function Documentation

◆ operator=()

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

Definition at line 57 of file dtvconfparserhelpers.h.

◆ operator int()

DTVParamHelper::operator int ( ) const
inline

Definition at line 59 of file dtvconfparserhelpers.h.

◆ operator==()

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

Definition at line 60 of file dtvconfparserhelpers.h.

◆ operator!=()

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

Definition at line 61 of file dtvconfparserhelpers.h.

◆ ParseParam()

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

◆ toString()

QString DTVParamHelper::toString ( const char *  strings[],
int  index,
uint  strings_size 
)
staticprotected

Member Data Documentation

◆ value

int DTVParamHelper::value
protected

Definition at line 71 of file dtvconfparserhelpers.h.

Referenced by hardwareprofile.smolt.ServerError::__str__(), 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(), ParseParam(), 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(), and DTVRollOff::toString().


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