DTVGuardInterval Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVGuardInterval:

DTVParamHelper

List of all members.


Detailed Description

Definition at line 310 of file dtvconfparserhelpers.h.


Public Types

enum  {
  kGuardInterval_1_32, kGuardInterval_1_16, kGuardInterval_1_8, kGuardInterval_1_4,
  kGuardIntervalAuto
}

Public Member Functions

 DTVGuardInterval (int _default=kGuardIntervalAuto)
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 = 5
static const char * dbStr [kDBStrCnt]

Member Enumeration Documentation

anonymous enum

Enumerator:
kGuardInterval_1_32 
kGuardInterval_1_16 
kGuardInterval_1_8 
kGuardInterval_1_4 
kGuardIntervalAuto 

Definition at line 320 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVGuardInterval::DTVGuardInterval ( int  _default = kGuardIntervalAuto  )  [inline]

Definition at line 329 of file dtvconfparserhelpers.h.


Member Function Documentation

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

Definition at line 332 of file dtvconfparserhelpers.h.

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

Definition at line 334 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

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

Definition at line 336 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::ParseDVB_T().

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

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

Definition at line 341 of file dtvconfparserhelpers.h.


Member Data Documentation

Initial value:

{
   { "GUARD_INTERVAL_AUTO", kGuardIntervalAuto  },
   { "GUARD_INTERVAL_1_32", kGuardInterval_1_32 },
   { "GUARD_INTERVAL_1_16", kGuardInterval_1_16 },
   { "GUARD_INTERVAL_1_8",  kGuardInterval_1_8  },
   { "GUARD_INTERVAL_1_4",  kGuardInterval_1_4  },
   { NULL,                  kGuardIntervalAuto  },
}

Definition at line 313 of file dtvconfparserhelpers.h.

Initial value:

{
   { "999", kGuardIntervalAuto  },
   { "32",  kGuardInterval_1_32 },
   { "16",  kGuardInterval_1_16 },
   { "8",   kGuardInterval_1_8  },
   { "4",   kGuardInterval_1_4  },
   { NULL,  kGuardIntervalAuto  },
}

Definition at line 314 of file dtvconfparserhelpers.h.

Initial value:

{
   { "auto", kGuardIntervalAuto  },
   { "1/32", kGuardInterval_1_32 },
   { "1/16", kGuardInterval_1_16 },
   { "1/8",  kGuardInterval_1_8  },
   { "1/4",  kGuardInterval_1_4  },
   { NULL,   kGuardIntervalAuto  },
}

Definition at line 315 of file dtvconfparserhelpers.h.

const uint DTVGuardInterval::kDBStrCnt = 5 [static, protected]

Definition at line 316 of file dtvconfparserhelpers.h.

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

Initial value:

{
    "1/32", 
    "1/16", 
    "1/8",  
    "1/4",  
    "auto"  
}

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