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.
| 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] |
Definition at line 8 of file dtvconfparserhelpers.cpp.
Referenced by 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(), and DTVInversion::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 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().
1.6.3