DTVInversion Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVInversion:
DTVParamHelper

List of all members.

Public Types

enum  { kInversionOff, kInversionOn, kInversionAuto }

Public Member Functions

 DTVInversion (int _default=kInversionAuto)
bool IsCompatible (const DTVInversion &other) const
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]

Detailed Description

Definition at line 152 of file dtvconfparserhelpers.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kInversionOff 
kInversionOn 
kInversionAuto 

Definition at line 162 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

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

Definition at line 169 of file dtvconfparserhelpers.h.


Member Function Documentation

bool DTVInversion::IsCompatible ( const DTVInversion other  )  const [inline]

Definition at line 172 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

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

Definition at line 177 of file dtvconfparserhelpers.h.

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

Definition at line 179 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 185 of file dtvconfparserhelpers.h.

Referenced by ChannelUtil::CreateMultiplex().

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

Definition at line 189 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 155 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

const DTVParamHelperStruct DTVInversion::vdrTable [static, protected]
Initial value:
{
   { "999", kInversionAuto },
   { "0",   kInversionOff  },
   { "1",   kInversionOn   },
   { NULL,  kInversionAuto },
}

Definition at line 156 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

Initial value:
{
   { "a",  kInversionAuto },
   { "0",  kInversionOff  },
   { "1",  kInversionOn   },
   { NULL, kInversionAuto },
}

Definition at line 157 of file dtvconfparserhelpers.h.

Referenced by Parse().

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

Definition at line 158 of file dtvconfparserhelpers.h.

Referenced by toString().

const char * DTVInversion::dbStr [static, protected]
Initial value:
{
    "0", 
    "1", 
    "a"  
}

Definition at line 159 of file dtvconfparserhelpers.h.

Referenced by 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