DTVGuardInterval Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVGuardInterval:
DTVParamHelper

List of all members.

Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 377 of file dtvconfparserhelpers.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kGuardInterval_1_32 
kGuardInterval_1_16 
kGuardInterval_1_8 
kGuardInterval_1_4 
kGuardIntervalAuto 

Definition at line 387 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

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

Definition at line 396 of file dtvconfparserhelpers.h.


Member Function Documentation

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

Definition at line 399 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

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

Definition at line 404 of file dtvconfparserhelpers.h.

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

Definition at line 406 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

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

Definition at line 408 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 413 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 380 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

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 381 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

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 382 of file dtvconfparserhelpers.h.

Referenced by Parse().

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

Definition at line 383 of file dtvconfparserhelpers.h.

Referenced by toString().

const char * DTVGuardInterval::dbStr [static, protected]
Initial value:
{
    "1/32", 
    "1/16", 
    "1/8",  
    "1/4",  
    "auto"  
}

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