MythTV  0.26-pre
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Attributes
DTVRollOff Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVRollOff:
DTVParamHelper

List of all members.

Public Types

enum  { kRollOff_35, kRollOff_20, kRollOff_25, kRollOff_Auto }

Public Member Functions

 DTVRollOff (int _default=kRollOff_35)
bool IsCompatible (const DTVRollOff &other) const
bool ParseConf (const QString &_value)
bool ParseVDR (const QString &_value)
bool Parse (const QString &_value)
QString toString () 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 = 4
static const char * dbStr [kDBStrCnt]

Detailed Description

Definition at line 540 of file dtvconfparserhelpers.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kRollOff_35 
kRollOff_20 
kRollOff_25 
kRollOff_Auto 

Definition at line 550 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVRollOff::DTVRollOff ( int  _default = kRollOff_35) [inline]

Definition at line 558 of file dtvconfparserhelpers.h.


Member Function Documentation

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

Definition at line 561 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

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

Definition at line 566 of file dtvconfparserhelpers.h.

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

Definition at line 568 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

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

Definition at line 570 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::ParseDVB_S2().

QString DTVRollOff::toString ( void  ) const [inline]
static QString DTVRollOff::toString ( int  _value) [inline, static]

Definition at line 575 of file dtvconfparserhelpers.h.


Member Data Documentation

const DTVParamHelperStruct DTVRollOff::confTable [static, protected]
Initial value:
{
   { "ROLLOFF_35",   kRollOff_35   },
   { "ROLLOFF_20",   kRollOff_20   },
   { "ROLLOFF_25",   kRollOff_25   },
   { "ROLLOFF_AUTO", kRollOff_Auto },
   { NULL,           kRollOff_35 },
}

Definition at line 543 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

const DTVParamHelperStruct DTVRollOff::vdrTable [static, protected]
Initial value:
{
   { "35",   kRollOff_35   },
   { "20",   kRollOff_20   },
   { "25",   kRollOff_25   },
   { "0",    kRollOff_Auto },
   { NULL,   kRollOff_35   },
}

Definition at line 544 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

const DTVParamHelperStruct DTVRollOff::parseTable [static, protected]
Initial value:
{
   { "0.35", kRollOff_35   },
   { "0.20", kRollOff_20   },
   { "0.25", kRollOff_25   },
   { "auto", kRollOff_Auto },
   { NULL,   kRollOff_35   },
}

Definition at line 545 of file dtvconfparserhelpers.h.

Referenced by Parse().

const uint DTVRollOff::kDBStrCnt = 4 [static, protected]

Definition at line 546 of file dtvconfparserhelpers.h.

Referenced by toString().

const char * DTVRollOff::dbStr [static, protected]
Initial value:
{
   "0.35",   
   "0.20",   
   "0.25",   
   "auto", 
}

Definition at line 547 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