DTVInversion Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVInversion:

DTVParamHelper

List of all members.


Detailed Description

Definition at line 116 of file dtvconfparserhelpers.h.


Public Types

enum  { kInversionOff, kInversionOn, kInversionAuto }

Public Member Functions

 DTVInversion (int _default=kInversionAuto)
bool ParseConf (const QString &_value)
bool ParseVDR (const QString &_value)
bool Parse (const QString &_value)
QString toString () const
QChar toChar () const

Static Public Member Functions

static QString toString (int _value)

Static Protected Attributes

static const DTVParamHelperStruct confTable []
static const DTVParamHelperStruct vdrTable []
static const DTVParamHelperStruct parseTable []
static const uint kDBStrCnt = 3
static const char * dbStr [kDBStrCnt]

Member Enumeration Documentation

anonymous enum

Enumerator:
kInversionOff 
kInversionOn 
kInversionAuto 

Definition at line 126 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVInversion::DTVInversion ( int  _default = kInversionAuto  )  [inline]

Definition at line 133 of file dtvconfparserhelpers.h.


Member Function Documentation

bool DTVInversion::ParseConf ( const QString &  _value  )  [inline]

Definition at line 136 of file dtvconfparserhelpers.h.

bool DTVInversion::ParseVDR ( const QString &  _value  )  [inline]

Definition at line 138 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

bool DTVInversion::Parse ( const QString &  _value  )  [inline]

QString DTVInversion::toString ( void   )  const [inline]

QChar DTVInversion::toChar (  )  const [inline]

Definition at line 144 of file dtvconfparserhelpers.h.

Referenced by ChannelUtil::CreateMultiplex().

static QString DTVInversion::toString ( int  _value  )  [inline, static]

Definition at line 148 of file dtvconfparserhelpers.h.


Member Data Documentation

const DTVParamHelperStruct DTVInversion::confTable [static, protected]

Initial value:

{
   { "INVERSION_AUTO", kInversionAuto },
   { "INVERSION_OFF",  kInversionOff  },
   { "INVERSION_ON",   kInversionOn   },
   { NULL,             kInversionAuto },
}

Definition at line 119 of file dtvconfparserhelpers.h.

const DTVParamHelperStruct DTVInversion::vdrTable [static, protected]

Initial value:

{
   { "999", kInversionAuto },
   { "0",   kInversionOff  },
   { "1",   kInversionOn   },
   { NULL,  kInversionAuto },
}

Definition at line 120 of file dtvconfparserhelpers.h.

Initial value:

{
   { "a",  kInversionAuto },
   { "0",  kInversionOff  },
   { "1",  kInversionOn   },
   { NULL, kInversionAuto },
}

Definition at line 121 of file dtvconfparserhelpers.h.

const uint DTVInversion::kDBStrCnt = 3 [static, protected]

Definition at line 122 of file dtvconfparserhelpers.h.

const char * DTVInversion::dbStr [static, protected]

Initial value:

{
    "0", 
    "1", 
    "a"  
}

Definition at line 123 of file dtvconfparserhelpers.h.


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