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

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVTransmitMode:
DTVParamHelper

List of all members.

Public Types

enum  { kTransmissionMode2K, kTransmissionMode8K, kTransmissionModeAuto }

Public Member Functions

 DTVTransmitMode (int _default=kTransmissionModeAuto)
bool IsCompatible (const DTVTransmitMode &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 336 of file dtvconfparserhelpers.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kTransmissionMode2K 
kTransmissionMode8K 
kTransmissionModeAuto 

Definition at line 346 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

Definition at line 353 of file dtvconfparserhelpers.h.


Member Function Documentation

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

Definition at line 356 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

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

Definition at line 361 of file dtvconfparserhelpers.h.

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

Definition at line 363 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

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

Definition at line 365 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::ParseDVB_T().

QString DTVTransmitMode::toString ( void  ) const [inline]
QChar DTVTransmitMode::toChar ( ) const [inline]

Definition at line 369 of file dtvconfparserhelpers.h.

Referenced by ChannelUtil::CreateMultiplex().

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

Definition at line 373 of file dtvconfparserhelpers.h.


Member Data Documentation

Initial value:
{
   { "TRANSMISSION_MODE_AUTO", kTransmissionModeAuto },
   { "TRANSMISSION_MODE_2K",   kTransmissionMode2K   },
   { "TRANSMISSION_MODE_8K",   kTransmissionMode8K   },
   { NULL,                     kTransmissionModeAuto },
}

Definition at line 339 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

Initial value:

Definition at line 340 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

Initial value:

Definition at line 341 of file dtvconfparserhelpers.h.

Referenced by Parse().

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

Definition at line 342 of file dtvconfparserhelpers.h.

Referenced by toString().

const char * DTVTransmitMode::dbStr [static, protected]
Initial value:
{
    "2",   
    "8",   
    "a"    
}

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