|
MythTV
0.26-pre
|
Helper abstract template to do some of the mundane portions of translating and comparing the paramater strings. More...
#include <dtvconfparserhelpers.h>
Public Member Functions | |
| DTVParamHelper (int _value) | |
| DTVParamHelper & | operator= (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 |
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.
| DTVParamHelper::DTVParamHelper | ( | int | _value | ) | [inline] |
Definition at line 53 of file dtvconfparserhelpers.h.
| 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.
Definition at line 57 of file dtvconfparserhelpers.h.
Definition at line 58 of file dtvconfparserhelpers.h.
| bool DTVParamHelper::ParseParam | ( | const QString & | symbol, |
| int & | value, | ||
| const DTVParamHelperStruct * | table | ||
| ) | [static, protected] |
Definition at line 8 of file dtvconfparserhelpers.cpp.
Referenced by 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(), and DTVRollOff::ParseVDR().
| QString DTVParamHelper::toString | ( | const char * | strings[], |
| int | index, | ||
| uint | strings_size | ||
| ) | [static, protected] |
Definition at line 27 of file dtvconfparserhelpers.cpp.
int DTVParamHelper::value [protected] |
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().
1.7.6.1