MythTV  0.26-pre
Public Member Functions | Static Protected Member Functions | Protected Attributes
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:
DTVBandwidth DTVCodeRate DTVGuardInterval DTVHierarchy DTVInversion DTVModulation DTVModulationSystem DTVPolarity DTVRollOff DTVTransmitMode DTVTunerType

List of all members.

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 50 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVParamHelper::DTVParamHelper ( int  _value) [inline]

Definition at line 53 of file dtvconfparserhelpers.h.


Member Function Documentation

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

Definition at line 54 of file dtvconfparserhelpers.h.

DTVParamHelper::operator int ( ) const [inline]

Definition at line 56 of file dtvconfparserhelpers.h.

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

Definition at line 57 of file dtvconfparserhelpers.h.

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

Definition at line 58 of file dtvconfparserhelpers.h.

bool DTVParamHelper::ParseParam ( const QString &  symbol,
int value,
const DTVParamHelperStruct table 
) [static, protected]
QString DTVParamHelper::toString ( const char *  strings[],
int  index,
uint  strings_size 
) [static, protected]

Definition at line 27 of file dtvconfparserhelpers.cpp.


Member Data Documentation

Definition at line 68 of file dtvconfparserhelpers.h.

Referenced by hardwareprofile.smolt.ServerError::__str__(), DTVInversion::IsCompatible(), DTVBandwidth::IsCompatible(), DTVCodeRate::IsCompatible(), DTVModulation::IsCompatible(), DTVTransmitMode::IsCompatible(), DTVGuardInterval::IsCompatible(), DTVHierarchy::IsCompatible(), DTVRollOff::IsCompatible(), DTVTunerType::IsDiSEqCSupported(), DTVTunerType::IsFECVariable(), DTVTunerType::IsModulationVariable(), operator int(), operator!=(), 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(), and DTVRollOff::toString().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends