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

int DTVParamHelper::value [protected]

Definition at line 68 of file dtvconfparserhelpers.h.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:58 2012 for MythTV by  doxygen 1.6.3