DTVParamHelper Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVParamHelper:

DTVBandwidth DTVCodeRate DTVGuardInterval DTVHierarchy DTVInversion DTVModulation DTVPolarity DTVTransmitMode DTVTunerType

List of all members.


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.


Public Member Functions

 DTVParamHelper (int _value)
 operator int () const
int operator= (int _value)
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

Constructor & Destructor Documentation

DTVParamHelper::DTVParamHelper ( int  _value  )  [inline]

Definition at line 53 of file dtvconfparserhelpers.h.


Member Function Documentation

DTVParamHelper::operator int (  )  const [inline]

Definition at line 55 of file dtvconfparserhelpers.h.

int DTVParamHelper::operator= ( int  _value  )  [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::ParseParam ( const QString &  symbol,
int &  value,
const DTVParamHelperStruct table 
) [static, protected]

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


Member Data Documentation

int DTVParamHelper::value [protected]


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

Generated on Sat Dec 18 05:16:01 2010 for MythTV by  doxygen 1.5.5