MythTV  master
dtvconfparserhelpers.h
Go to the documentation of this file.
1 /* -*- Mode: c++ -*-
2  * vim: set expandtab tabstop=4 shiftwidth=4:
3  *
4  * Original Project
5  * MythTV http://www.mythtv.org
6  *
7  * Author(s):
8  * John Pullan (john@pullan.org)
9  *
10  * Description:
11  * Collection of classes to provide dvb channel scanning
12  * functionallity
13  *
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
28  * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
29  *
30  */
31 
32 #ifndef DTVCONFPARSERHELPERS_H
33 #define DTVCONFPARSERHELPERS_H
34 
35 #include <vector>
36 #include <QString>
37 #ifdef USING_DVB
38 #include <linux/dvb/frontend.h>
39 #endif
40 
41 // The following are a set of helper classes to allow easy translation
42 // between the different string representations of various tuning parameters.
43 
45 {
46  QString symbol;
47  int value;
48 };
49 using DTVParamHelperVec = std::vector<DTVParamHelperStruct>;
50 using DTVParamStringVec = std::vector<std::string>;
51 
57 {
58  public:
59  explicit DTVParamHelper(int _value) : m_value(_value) { }
60  DTVParamHelper &operator=(int _value) { m_value = _value; return *this; }
61 
62  operator int() const { return m_value; }
63  bool operator==(const int v) const { return m_value == v; }
64  bool operator!=(const int v) const { return m_value != v; }
65 
66  protected:
67  static bool ParseParam(const QString &symbol, int &value,
68  const DTVParamHelperVec &table);
69 
70  static QString toString(const DTVParamStringVec &strings, int index);
71 
72  protected:
73  int m_value;
74 };
75 
77 {
79 
80  public:
81  // WARNING: kTunerTypes cannot be defined by a C++03 enum
82  // because gcc 4.3.3 will reportedly promote an enum inconsistently
83  // to int on IA-32 platforms. I don't know whether this is
84  // correct or not, it comes down to interpretation of section
85  // 7.2.5 and whether 0x80000000 should be considered too big
86  // for a 32 bit integer or not. Using an enum to represent int
87  // bitmasks is valid C code, but the C++03 standard was still a
88  // bit loosey gosey on this point. It looks like the breakage
89  // was caused by work in gcc to support C++0x which will allow
90  // one to specify things as exactly as C does. -- dtk 2009-10-05
91 
92  // // Modulations which may be supported
93  static const int kTunerTypeDVBS1; // QPSK
94  static const int kTunerTypeDVBS2; // QPSK, 8PSK, 16APSK, 32APSK
95  static const int kTunerTypeDVBC; // QAM-64, QAM-256
96  static const int kTunerTypeDVBT; // OFDM
97  static const int kTunerTypeDVBT2; // OFDM
98  static const int kTunerTypeATSC; // 8-VSB, 16-VSB,
99  // QAM-16, QAM-64, QAM-256, QPSK
100  static const int kTunerTypeASI; // baseband
101  static const int kTunerTypeOCUR; // Virtual Channel tuning of QAM-64/256
102  static const int kTunerTypeIPTV; // IPTV
103  static const int kTunerTypeUnknown;
104 
105  // Note: Just because some cards sold in different regions support the same
106  // modulation scheme does not mean that they decode the same signals, there
107  // are also region specific FEC algorithms and the tuner which precedes the
108  // demodulator may be limited to frequencies used in that specific market.
109  // The tuner may also be bandwidth limited to 6 or 7 Mhz, so it could not
110  // support the 8 Mhz channels used in some contries, and/or the ADC which
111  // sits between the tuner and the demodulator may be bandwidth limited.
112  // While often the same hardware could physically support more than it
113  // is designed for the card/device maker does not write the firmware
114  // but licenses blocks of it and so only selects the pieces absolutely
115  // necessary for their market segment. Some ATSC cards only supported
116  // 8-VSB, newer cards don't support the unpopular 16-VSB, no consumer
117  // card supports the QAM-16 or QPSK used for USA Cable PSIP, etc.
118  // DVB-S cards also generally support DiSEqC signaling, and future
119  // ATSC cards may support similar but incompatible signalling for
120  // pointable antennas.
121  //
122  // Note 2: These values are keyed to the Linux DVB driver values, in
123  // reality some hardware does support multiple formats and this should
124  // be a mask. Also the transmission schemes used in Asia and South
125  // America are not represented here.
126 
127  explicit DTVTunerType(int _default = kTunerTypeUnknown)
128  : DTVParamHelper(_default) { initStr(); }
129  DTVTunerType& operator=(int type) { m_value = type; return *this; }
130 
131  bool Parse(const QString &_value)
132  { return ParseParam(_value, m_value, kParseTable); }
133 
134  bool IsFECVariable(void) const
135  {
136  return ((kTunerTypeDVBC == m_value) ||
137  (kTunerTypeDVBS1 == m_value) ||
138  (kTunerTypeDVBS2 == m_value));
139  }
140 
141  bool IsModulationVariable(void) const
142  {
143  return ((kTunerTypeDVBC == m_value) ||
144  (kTunerTypeATSC == m_value) ||
145  (kTunerTypeDVBS2 == m_value));
146  }
147 
148  bool IsDiSEqCSupported(void) const
149  {
150  return ((kTunerTypeDVBS1 == m_value) ||
151  (kTunerTypeDVBS2 == m_value));
152  }
153 
154  QString toString() const { return toString(m_value); }
155 
156  uint toUInt() const { return static_cast<uint>(m_value); }
157 
158  static void initStr(void);
159  static QString toString(int _value);
160 };
161 
163 {
164  protected:
169 
170  public:
171  enum Types : std::uint8_t
172  {
176  };
177 #ifdef USING_DVB
178  static_assert((kInversionOff == (Types)INVERSION_OFF ) &&
179  (kInversionOn == (Types)INVERSION_ON ) &&
180  (kInversionAuto == (Types)INVERSION_AUTO),
181  "Inversion types don't match DVB includes.");
182 #endif
183 
184  explicit DTVInversion(Types _default = kInversionAuto)
185  : DTVParamHelper(_default) { }
186  DTVInversion& operator=(const Types _value)
187  { m_value = _value; return *this; }
188 #ifdef USING_DVB
189  DTVInversion& operator=(const fe_spectral_inversion_t type)
190  { m_value = type; return *this; }
191 #endif
192 
193  bool IsCompatible(const DTVInversion other) const
194  { return m_value == other.m_value || m_value == kInversionAuto ||
195  other.m_value == kInversionAuto;
196  }
197 
198  bool ParseConf(const QString &_value)
199  { return ParseParam(_value, m_value, kConfTable); }
200  bool ParseVDR(const QString &_value)
201  { return ParseParam(_value, m_value, kVdrTable); }
202  bool Parse(const QString &_value)
203  { return ParseParam(_value, m_value, kParseTable); }
204 
205  QString toString() const { return toString(m_value); }
206  QChar toChar() const
207  {
208  if (toString().length() > 0)
209  return toString().at(0);
210  return {};
211  }
212 
213  static QString toString(int _value)
214  { return DTVParamHelper::toString(kParseStrings, _value); }
215 };
216 
218 {
219  protected:
224 
225  public:
226  enum Types : std::uint8_t
227  {
235  };
236 #ifdef USING_DVB
237  static_assert((kBandwidth8MHz == (Types)BANDWIDTH_8_MHZ ) &&
238  (kBandwidth7MHz == (Types)BANDWIDTH_7_MHZ ) &&
239  (kBandwidth6MHz == (Types)BANDWIDTH_6_MHZ ) &&
240  (kBandwidthAuto == (Types)BANDWIDTH_AUTO ) &&
241  (kBandwidth5MHz == (Types)BANDWIDTH_5_MHZ ) &&
242  (kBandwidth10MHz == (Types)BANDWIDTH_10_MHZ ) &&
243  (kBandwidth1712kHz == (Types)BANDWIDTH_1_712_MHZ),
244  "Bandwidth types don't match DVB includes.");
245 #endif
246 
247  explicit DTVBandwidth(Types _default = kBandwidthAuto)
248  : DTVParamHelper(_default) { }
249  DTVBandwidth& operator=(const Types _value)
250  { m_value = _value; return *this; }
251 #ifdef USING_DVB
252  DTVBandwidth& operator=(const fe_bandwidth_t bwidth)
253  { m_value = bwidth; return *this; }
254 #endif
255 
256  bool IsCompatible(const DTVBandwidth other) const
257  { return m_value == other.m_value || m_value == kBandwidthAuto ||
258  other.m_value == kBandwidthAuto;
259  }
260 
261  bool ParseConf(const QString &_value)
262  { return ParseParam(_value, m_value, kConfTable); }
263  bool ParseVDR(const QString &_value)
264  { return ParseParam(_value, m_value, kVdrTable); }
265  bool Parse(const QString &_value)
266  { return ParseParam(_value, m_value, kParseTable); }
267 
268  QString toString() const { return toString(m_value); }
269  QChar toChar() const
270  {
271  if (toString().length() > 0)
272  return toString().at(0);
273  return {};
274  }
275 
276  static QString toString(int _value)
277  { return DTVParamHelper::toString(kParseStrings, _value); }
278 };
279 
281 {
282  protected:
287 
288  public:
289  enum Types : std::uint8_t
290  {
303  };
304 #ifdef USING_DVB
305  static_assert((kFECNone == (Types)FEC_NONE) &&
306  (kFEC_1_2 == (Types)FEC_1_2 ) &&
307  (kFEC_2_3 == (Types)FEC_2_3 ) &&
308  (kFEC_3_4 == (Types)FEC_3_4 ) &&
309  (kFEC_4_5 == (Types)FEC_4_5 ) &&
310  (kFEC_5_6 == (Types)FEC_5_6 ) &&
311  (kFEC_6_7 == (Types)FEC_6_7 ) &&
312  (kFEC_7_8 == (Types)FEC_7_8 ) &&
313  (kFEC_8_9 == (Types)FEC_8_9 ) &&
314  (kFECAuto == (Types)FEC_AUTO) &&
315  (kFEC_3_5 == (Types)FEC_3_5 ) &&
316  (kFEC_9_10 == (Types)FEC_9_10),
317  "FEC types don't match DVB includes.");
318 #endif
319 
320  explicit DTVCodeRate(Types _default = kFECAuto)
321  : DTVParamHelper(_default) { }
322  DTVCodeRate& operator=(const Types _value)
323  { m_value = _value; return *this; }
324 #ifdef USING_DVB
325  DTVCodeRate& operator=(const fe_code_rate_t rate)
326  { m_value = rate; return *this; }
327 #endif
328 
329  bool IsCompatible(const DTVCodeRate other) const
330  { return m_value == other.m_value || m_value == kFECAuto ||
331  other.m_value == kFECAuto;
332  }
333 
334  bool ParseConf(const QString &_value)
335  { return ParseParam(_value, m_value, kConfTable); }
336  bool ParseVDR(const QString &_value)
337  { return ParseParam(_value, m_value, kVdrTable); }
338  bool Parse(const QString &_value)
339  { return ParseParam(_value, m_value, kParseTable); }
340 
341  QString toString() const { return toString(m_value); }
342 
343  static QString toString(int _value)
344  { return DTVParamHelper::toString(kParseStrings, _value); }
345 };
346 
348 {
349  protected:
354 
355  public:
357  {
371  kModulationInvalid = 0x100, /* for removed modulations */
372  kModulationAnalog = 0x200, /* for analog channel scanner */
373  };
374 #ifdef USING_DVB
375  static_assert((kModulationQPSK == (Types)QPSK ) &&
376  (kModulationQAM16 == (Types)QAM_16 ) &&
377  (kModulationQAM32 == (Types)QAM_32 ) &&
378  (kModulationQAM64 == (Types)QAM_64 ) &&
379  (kModulationQAM128 == (Types)QAM_128 ) &&
380  (kModulationQAM256 == (Types)QAM_256 ) &&
381  (kModulationQAMAuto == (Types)QAM_AUTO) &&
382  (kModulation8VSB == (Types)VSB_8 ) &&
383  (kModulation16VSB == (Types)VSB_16 ) &&
384  (kModulation8PSK == (Types)PSK_8 ) &&
385  (kModulation16APSK == (Types)APSK_16 ) &&
386  (kModulation32APSK == (Types)APSK_32 ) &&
387  (kModulationDQPSK == (Types)DQPSK ),
388  "Modulation types don't match DVB includes.");
389 #endif
390 
392  : DTVParamHelper(_default) { }
394  { m_value = _value; return *this; }
395 #ifdef USING_DVB
396  DTVModulation& operator=(const fe_modulation_t modulation)
397  { m_value = modulation; return *this; }
398 #endif
399 
400  bool IsCompatible(const DTVModulation other) const
401  { return m_value == other.m_value || m_value == kModulationQAMAuto ||
402  other.m_value == kModulationQAMAuto;
403  }
404 
405  bool ParseConf(const QString &_value)
406  { return ParseParam(_value, m_value, kConfTable); }
407  bool ParseVDR(const QString &_value)
408  { return ParseParam(_value, m_value, kVdrTable); }
409  bool Parse(const QString &_value)
410  { return ParseParam(_value, m_value, kParseTable); }
411 
412  QString toString() const { return toString(m_value); }
413 
414  static QString toString(int _value)
415  {
416  if (kModulationInvalid == _value)
417  return "invalid";
418  if (kModulationAnalog == _value)
419  return "analog";
420  return DTVParamHelper::toString(kParseStrings, _value);
421  }
422 };
423 
425 {
426  protected:
431 
432  public:
433  enum Types : std::uint8_t
434  {
442  };
443 #ifdef USING_DVB
444  static_assert((kTransmissionMode2K == (Types)TRANSMISSION_MODE_2K ) &&
445  (kTransmissionMode8K == (Types)TRANSMISSION_MODE_8K ) &&
446  (kTransmissionModeAuto == (Types)TRANSMISSION_MODE_AUTO) &&
447  (kTransmissionMode4K == (Types)TRANSMISSION_MODE_4K ) &&
448  (kTransmissionMode1K == (Types)TRANSMISSION_MODE_1K ) &&
449  (kTransmissionMode16K == (Types)TRANSMISSION_MODE_16K ) &&
450  (kTransmissionMode32K == (Types)TRANSMISSION_MODE_32K ),
451  "Transmission types don't match DVB includes.");
452 #endif
453 
455  : DTVParamHelper(_default) { }
457  { m_value = _value; return *this; }
458 #ifdef USING_DVB
459  DTVTransmitMode& operator=(const fe_transmit_mode_t mode)
460  { m_value = mode; return *this; }
461 #endif
462 
463  bool IsCompatible(const DTVTransmitMode other) const
464  { return m_value == other.m_value || m_value == kTransmissionModeAuto ||
466  }
467 
468  bool ParseConf(const QString &_value)
469  { return ParseParam(_value, m_value, kConfTable); }
470  bool ParseVDR(const QString &_value)
471  { return ParseParam(_value, m_value, kVdrTable); }
472  bool Parse(const QString &_value)
473  { return ParseParam(_value, m_value, kParseTable); }
474 
475  QString toString() const { return toString(m_value); }
476  QChar toChar() const
477  {
478  if (toString().length() > 0)
479  return toString().at(0);
480  return {};
481  }
482 
483  static QString toString(int _value)
484  { return DTVParamHelper::toString(kParseStrings, _value); }
485 };
486 
488 {
489  protected:
494 
495  public:
496  enum Types : std::uint8_t
497  {
506  };
507 #ifdef USING_DVB
508  static_assert((kGuardInterval_1_32 == (Types)GUARD_INTERVAL_1_32 ) &&
509  (kGuardInterval_1_16 == (Types)GUARD_INTERVAL_1_16 ) &&
510  (kGuardInterval_1_8 == (Types)GUARD_INTERVAL_1_8 ) &&
511  (kGuardInterval_1_4 == (Types)GUARD_INTERVAL_1_4 ) &&
512  (kGuardIntervalAuto == (Types)GUARD_INTERVAL_AUTO ) &&
513  (kGuardInterval_1_128 == (Types)GUARD_INTERVAL_1_128 ) &&
514  (kGuardInterval_19_128 == (Types)GUARD_INTERVAL_19_128) &&
515  (kGuardInterval_19_256 == (Types)GUARD_INTERVAL_19_256),
516  "Guard Interval types don't match DVB includes.");
517 #endif
518 
520  : DTVParamHelper(_default) { }
522  { m_value = _value; return *this; }
523 #ifdef USING_DVB
524  DTVGuardInterval& operator=(const fe_guard_interval_t interval)
525  { m_value = interval; return *this; }
526 #endif
527 
528  bool IsCompatible(const DTVGuardInterval other) const
529  { return m_value == other.m_value || m_value == kGuardIntervalAuto ||
530  other.m_value == kGuardIntervalAuto;
531  }
532 
533  bool ParseConf(const QString &_value)
534  { return ParseParam(_value, m_value, kConfTable); }
535  bool ParseVDR(const QString &_value)
536  { return ParseParam(_value, m_value, kVdrTable); }
537  bool Parse(const QString &_value)
538  { return ParseParam(_value, m_value, kParseTable); }
539 
540  QString toString() const { return toString(m_value); }
541 
542  static QString toString(int _value)
543  { return DTVParamHelper::toString(kParseStrings, _value); }
544 };
545 
547 {
548  protected:
553 
554  public:
555  enum Types : std::uint8_t
556  {
562  };
563 #ifdef USING_DVB
564  static_assert((kHierarchyNone == (Types)HIERARCHY_NONE) &&
565  (kHierarchy1 == (Types)HIERARCHY_1 ) &&
566  (kHierarchy2 == (Types)HIERARCHY_2 ) &&
567  (kHierarchy4 == (Types)HIERARCHY_4 ) &&
568  (kHierarchyAuto == (Types)HIERARCHY_AUTO),
569  "Hierarchy types don't match DVB includes.");
570 #endif
571 
572  explicit DTVHierarchy(Types _default = kHierarchyAuto)
573  : DTVParamHelper(_default) { }
574  DTVHierarchy& operator=(const Types _value)
575  { m_value = _value; return *this; }
576 #ifdef USING_DVB
577  DTVHierarchy& operator=(const fe_hierarchy_t hierarchy)
578  { m_value = hierarchy; return *this; }
579 #endif
580 
581  bool IsCompatible(const DTVHierarchy other) const
582  { return m_value == other.m_value || m_value == kHierarchyAuto ||
583  other.m_value == kHierarchyAuto;
584  }
585 
586  bool ParseConf(const QString &_value)
587  { return ParseParam(_value, m_value, kConfTable); }
588  bool ParseVDR(const QString &_value)
589  { return ParseParam(_value, m_value, kVdrTable); }
590  bool Parse(const QString &_value)
591  { return ParseParam(_value, m_value, kParseTable); }
592 
593  QString toString() const { return toString(m_value); }
594  QChar toChar() const
595  {
596  if (toString().length() > 0)
597  return toString().at(0);
598  return {};
599  }
600 
601  static QString toString(int _value)
602  { return DTVParamHelper::toString(kParseStrings, _value); }
603 };
604 
606 {
607  protected:
610 
611  public:
612  enum PolarityValues : std::uint8_t
613  {
618  };
619 
621  : DTVParamHelper(_default) { }
623  { m_value = _value; return *this; }
624 
625  bool ParseConf(const QString &_value)
626  { return ParseParam(_value, m_value, kParseTable); }
627  bool ParseVDR(const QString &_value)
628  { return ParseParam(_value, m_value, kParseTable); }
629  bool Parse(const QString &_value)
630  { return ParseParam(_value, m_value, kParseTable); }
631 
632  QString toString() const { return toString(m_value); }
633  QChar toChar() const
634  {
635  if (toString().length() > 0)
636  return toString().at(0);
637  return {};
638  }
639 
640  static QString toString(int _value)
641  { return DTVParamHelper::toString(kParseStrings, _value); }
642 };
643 
645 {
646  protected:
651 
652  public:
653  enum Types : std::uint8_t
654  {
655  // see fe_delivery_system in frontend.h
675  };
676 #ifdef USING_DVB
677  static_assert((kModulationSystem_UNDEFINED == (Types)SYS_UNDEFINED ) &&
678  (kModulationSystem_DVBC_ANNEX_A == (Types)SYS_DVBC_ANNEX_A) &&
679  (kModulationSystem_DVBC_ANNEX_B == (Types)SYS_DVBC_ANNEX_B) &&
680  (kModulationSystem_DVBT == (Types)SYS_DVBT ) &&
681  (kModulationSystem_DSS == (Types)SYS_DSS ) &&
682  (kModulationSystem_DVBS == (Types)SYS_DVBS ) &&
683  (kModulationSystem_DVBS2 == (Types)SYS_DVBS2 ) &&
684  (kModulationSystem_DVBH == (Types)SYS_DVBH ) &&
685  (kModulationSystem_ISDBT == (Types)SYS_ISDBT ) &&
686  (kModulationSystem_ISDBS == (Types)SYS_ISDBS ) &&
687  (kModulationSystem_ISDBC == (Types)SYS_ISDBC ) &&
688  (kModulationSystem_ATSC == (Types)SYS_ATSC ) &&
689  (kModulationSystem_ATSCMH == (Types)SYS_ATSCMH ) &&
690  (kModulationSystem_DTMB == (Types)SYS_DTMB ) &&
691  (kModulationSystem_CMMB == (Types)SYS_CMMB ) &&
692  (kModulationSystem_DAB == (Types)SYS_DAB ) &&
693  (kModulationSystem_DVBT2 == (Types)SYS_DVBT2 ) &&
694  (kModulationSystem_TURBO == (Types)SYS_TURBO ) &&
695  (kModulationSystem_DVBC_ANNEX_C == (Types)SYS_DVBC_ANNEX_C),
696  "Modulation System types don't match DVB includes.");
697 #endif
698 
700  : DTVParamHelper(_value) { }
701 
703  { m_value = _value; return *this; }
704 
705  bool IsCompatible(const DTVModulationSystem other) const
706  { return
707  (m_value == other.m_value) ||
710  }
711 
712  bool ParseConf(const QString &_value)
713  { return ParseParam(_value, m_value, kConfTable); }
714  bool ParseVDR(const QString &_value)
715  { return ParseParam(_value, m_value, kVdrTable); }
716  bool Parse(const QString &_value)
717  { return ParseParam(_value, m_value, kParseTable); }
718 
719  QString toString() const { return toString(m_value); }
720 
721  static QString toString(int _value)
722  { return DTVParamHelper::toString(kParseStrings, _value); }
723 };
724 
726 {
727  protected:
732 
733  public:
734  enum Types : std::uint8_t
735  {
740  };
741 #ifdef USING_DVB
742  static_assert((kRollOff_35 == (Types)ROLLOFF_35)
743  && (kRollOff_Auto == (Types)ROLLOFF_AUTO),
744  "Rolloff types don't match DVB includes.");
745 #endif
746 
747  explicit DTVRollOff(Types _default = kRollOff_35)
748  : DTVParamHelper(_default) { }
749  DTVRollOff& operator=(const Types _value)
750  { m_value = _value; return *this; }
751 #ifdef USING_DVB
752  DTVRollOff& operator=(fe_rolloff_t type)
753  { m_value = type; return *this; }
754 #endif
755 
756  bool IsCompatible(const DTVRollOff other) const
757  { return m_value == other.m_value || m_value == kRollOff_Auto ||
758  other.m_value == kRollOff_Auto;
759  }
760 
761  bool ParseConf(const QString &_value)
762  { return ParseParam(_value, m_value, kConfTable); }
763  bool ParseVDR(const QString &_value)
764  { return ParseParam(_value, m_value, kVdrTable); }
765  bool Parse(const QString &_value)
766  { return ParseParam(_value, m_value, kParseTable); }
767 
768  QString toString() const { return toString(m_value); }
769 
770  static QString toString(int _value)
771  { return DTVParamHelper::toString(kParseStrings, _value); }
772 };
773 
774 #endif // DTVCONFPARSERHELPERS_H
DTVTunerType::initStr
static void initStr(void)
Definition: dtvconfparserhelpers.cpp:51
DTVModulation::toString
QString toString() const
Definition: dtvconfparserhelpers.h:412
DTVRollOff::kRollOff_25
@ kRollOff_25
Definition: dtvconfparserhelpers.h:738
DTVInversion::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:200
DTVInversion
Definition: dtvconfparserhelpers.h:162
DTVParamHelperStruct::value
int value
Definition: dtvconfparserhelpers.h:47
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_B
@ kModulationSystem_DVBC_ANNEX_B
Definition: dtvconfparserhelpers.h:658
DTVPolarity::PolarityValues
PolarityValues
Definition: dtvconfparserhelpers.h:612
DTVModulation::operator=
DTVModulation & operator=(const fe_modulation_t modulation)
Definition: dtvconfparserhelpers.h:396
DTVRollOff::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:728
DTVHierarchy::IsCompatible
bool IsCompatible(const DTVHierarchy other) const
Definition: dtvconfparserhelpers.h:581
DTVGuardInterval::kGuardInterval_1_16
@ kGuardInterval_1_16
Definition: dtvconfparserhelpers.h:499
DTVRollOff::kRollOff_20
@ kRollOff_20
Definition: dtvconfparserhelpers.h:737
DTVBandwidth
Definition: dtvconfparserhelpers.h:217
DTVBandwidth::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:276
DTVTunerType::DTVTunerType
DTVTunerType(int _default=kTunerTypeUnknown)
Definition: dtvconfparserhelpers.h:127
DTVRollOff::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:763
DTVGuardInterval::DTVGuardInterval
DTVGuardInterval(Types _default=kGuardIntervalAuto)
Definition: dtvconfparserhelpers.h:519
DTVModulation::DTVModulation
DTVModulation(Types _default=kModulationQAMAuto)
Definition: dtvconfparserhelpers.h:391
DTVCodeRate::kFEC_1_2
@ kFEC_1_2
Definition: dtvconfparserhelpers.h:292
DTVTunerType::kTunerTypeDVBC
static const int kTunerTypeDVBC
Definition: dtvconfparserhelpers.h:95
DTVModulation::kModulationQAM256
@ kModulationQAM256
Definition: dtvconfparserhelpers.h:363
DTVTransmitMode::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:476
DTVTunerType::kTunerTypeIPTV
static const int kTunerTypeIPTV
Definition: dtvconfparserhelpers.h:102
DTVCodeRate::kFECNone
@ kFECNone
Definition: dtvconfparserhelpers.h:291
DTVParamHelper::operator==
bool operator==(const int v) const
Definition: dtvconfparserhelpers.h:63
DTVGuardInterval::operator=
DTVGuardInterval & operator=(const fe_guard_interval_t interval)
Definition: dtvconfparserhelpers.h:524
DTVModulation::kModulation16VSB
@ kModulation16VSB
Definition: dtvconfparserhelpers.h:366
DTVModulationSystem::kModulationSystem_DSS
@ kModulationSystem_DSS
Definition: dtvconfparserhelpers.h:660
DTVBandwidth::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:221
DTVInversion::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:206
DTVPolarity::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:633
DTVModulationSystem::kModulationSystem_ATSCMH
@ kModulationSystem_ATSCMH
Definition: dtvconfparserhelpers.h:668
DTVCodeRate::kParseStrings
static const DTVParamStringVec kParseStrings
kFECNone
Definition: dtvconfparserhelpers.h:286
DTVPolarity::kPolarityLeft
@ kPolarityLeft
Definition: dtvconfparserhelpers.h:617
DTVTransmitMode::kTransmissionMode2K
@ kTransmissionMode2K
Definition: dtvconfparserhelpers.h:435
DTVInversion::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:165
DTVParamHelper
Helper abstract template to do some of the mundane portions of translating and comparing the paramete...
Definition: dtvconfparserhelpers.h:56
DTVParamHelperVec
std::vector< DTVParamHelperStruct > DTVParamHelperVec
Definition: dtvconfparserhelpers.h:49
DTVHierarchy::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:551
DTVModulationSystem::kModulationSystem_DVBT
@ kModulationSystem_DVBT
Definition: dtvconfparserhelpers.h:659
DTVModulationSystem::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:714
DTVGuardInterval::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:491
DTVGuardInterval::kGuardInterval_1_128
@ kGuardInterval_1_128
Definition: dtvconfparserhelpers.h:503
DTVTransmitMode::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:472
DTVTransmitMode::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:468
DTVModulationSystem::kParseStrings
static const DTVParamStringVec kParseStrings
kModulationSystem_UNDEFINED
Definition: dtvconfparserhelpers.h:650
DTVModulationSystem::kModulationSystem_DVBS2
@ kModulationSystem_DVBS2
Definition: dtvconfparserhelpers.h:662
DTVGuardInterval::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:492
DTVTunerType::kTunerTypeDVBS1
static const int kTunerTypeDVBS1
Definition: dtvconfparserhelpers.h:93
DTVInversion::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:202
DTVRollOff::DTVRollOff
DTVRollOff(Types _default=kRollOff_35)
Definition: dtvconfparserhelpers.h:747
DTVBandwidth::operator=
DTVBandwidth & operator=(const fe_bandwidth_t bwidth)
Definition: dtvconfparserhelpers.h:252
DTVModulationSystem::operator=
DTVModulationSystem & operator=(uint8_t _value)
Definition: dtvconfparserhelpers.h:702
DTVTransmitMode::IsCompatible
bool IsCompatible(const DTVTransmitMode other) const
Definition: dtvconfparserhelpers.h:463
DTVCodeRate::kFEC_7_8
@ kFEC_7_8
Definition: dtvconfparserhelpers.h:298
DTVHierarchy::kHierarchyAuto
@ kHierarchyAuto
Definition: dtvconfparserhelpers.h:561
DTVTransmitMode::kTransmissionMode4K
@ kTransmissionMode4K
Definition: dtvconfparserhelpers.h:438
DTVHierarchy::toString
QString toString() const
Definition: dtvconfparserhelpers.h:593
DTVGuardInterval::operator=
DTVGuardInterval & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:521
DTVTransmitMode::kTransmissionModeAuto
@ kTransmissionModeAuto
Definition: dtvconfparserhelpers.h:437
DTVTransmitMode::kTransmissionMode8K
@ kTransmissionMode8K
Definition: dtvconfparserhelpers.h:436
DTVTransmitMode::kTransmissionMode32K
@ kTransmissionMode32K
Definition: dtvconfparserhelpers.h:441
DTVGuardInterval::kGuardInterval_19_128
@ kGuardInterval_19_128
Definition: dtvconfparserhelpers.h:504
DTVHierarchy
Definition: dtvconfparserhelpers.h:546
DTVGuardInterval::Types
Types
Definition: dtvconfparserhelpers.h:496
DTVCodeRate::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:338
DTVTransmitMode::kTransmissionMode16K
@ kTransmissionMode16K
Definition: dtvconfparserhelpers.h:440
DTVModulation::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:351
DTVCodeRate::kFEC_3_5
@ kFEC_3_5
Definition: dtvconfparserhelpers.h:301
DTVPolarity::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:608
DTVModulation::kParseStrings
static const DTVParamStringVec kParseStrings
kModulationQPSK,
Definition: dtvconfparserhelpers.h:353
DTVInversion::operator=
DTVInversion & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:186
DTVHierarchy::DTVHierarchy
DTVHierarchy(Types _default=kHierarchyAuto)
Definition: dtvconfparserhelpers.h:572
DTVPolarity::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:627
DTVBandwidth::kBandwidth10MHz
@ kBandwidth10MHz
Definition: dtvconfparserhelpers.h:233
DTVModulation::kModulationAnalog
@ kModulationAnalog
Definition: dtvconfparserhelpers.h:372
DTVGuardInterval::kGuardInterval_19_256
@ kGuardInterval_19_256
Definition: dtvconfparserhelpers.h:505
DTVParamHelper::operator!=
bool operator!=(const int v) const
Definition: dtvconfparserhelpers.h:64
DTVCodeRate::toString
QString toString() const
Definition: dtvconfparserhelpers.h:341
DTVTransmitMode::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:483
DTVModulationSystem::kModulationSystem_CMMB
@ kModulationSystem_CMMB
Definition: dtvconfparserhelpers.h:670
DTVGuardInterval::kGuardIntervalAuto
@ kGuardIntervalAuto
Definition: dtvconfparserhelpers.h:502
DTVParamStringVec
std::vector< std::string > DTVParamStringVec
Definition: dtvconfparserhelpers.h:50
DTVGuardInterval
Definition: dtvconfparserhelpers.h:487
DTVParamHelper::DTVParamHelper
DTVParamHelper(int _value)
Definition: dtvconfparserhelpers.h:59
DTVGuardInterval::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:533
DTVCodeRate::kFEC_2_3
@ kFEC_2_3
Definition: dtvconfparserhelpers.h:293
DTVHierarchy::Types
Types
Definition: dtvconfparserhelpers.h:555
DTVBandwidth::Types
Types
Definition: dtvconfparserhelpers.h:226
DTVCodeRate
Definition: dtvconfparserhelpers.h:280
DTVTunerType
Definition: dtvconfparserhelpers.h:76
DTVBandwidth::kBandwidthAuto
@ kBandwidthAuto
Definition: dtvconfparserhelpers.h:231
DTVGuardInterval::IsCompatible
bool IsCompatible(const DTVGuardInterval other) const
Definition: dtvconfparserhelpers.h:528
DTVModulationSystem::kModulationSystem_DAB
@ kModulationSystem_DAB
Definition: dtvconfparserhelpers.h:671
DTVHierarchy::kHierarchy1
@ kHierarchy1
Definition: dtvconfparserhelpers.h:558
DTVTransmitMode::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:427
DTVCodeRate::operator=
DTVCodeRate & operator=(const fe_code_rate_t rate)
Definition: dtvconfparserhelpers.h:325
DTVPolarity::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:629
DTVModulation::kModulation8VSB
@ kModulation8VSB
Definition: dtvconfparserhelpers.h:365
DTVRollOff::kParseStrings
static const DTVParamStringVec kParseStrings
kRollOff_35
Definition: dtvconfparserhelpers.h:731
DTVGuardInterval::kGuardInterval_1_8
@ kGuardInterval_1_8
Definition: dtvconfparserhelpers.h:500
DTVPolarity::operator=
DTVPolarity & operator=(const PolarityValues _value)
Definition: dtvconfparserhelpers.h:622
DTVBandwidth::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:265
DTVModulation::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:350
DTVHierarchy::kParseStrings
static const DTVParamStringVec kParseStrings
kHierarchyNone
Definition: dtvconfparserhelpers.h:552
DTVInversion::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:166
DTVBandwidth::kBandwidth8MHz
@ kBandwidth8MHz
Definition: dtvconfparserhelpers.h:228
DTVModulationSystem::kModulationSystem_UNDEFINED
@ kModulationSystem_UNDEFINED
Definition: dtvconfparserhelpers.h:656
DTVBandwidth::operator=
DTVBandwidth & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:249
DTVCodeRate::operator=
DTVCodeRate & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:322
DTVTransmitMode::DTVTransmitMode
DTVTransmitMode(Types _default=kTransmissionModeAuto)
Definition: dtvconfparserhelpers.h:454
DTVRollOff::toString
QString toString() const
Definition: dtvconfparserhelpers.h:768
DTVGuardInterval::kGuardInterval_1_4
@ kGuardInterval_1_4
Definition: dtvconfparserhelpers.h:501
DTVCodeRate::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:343
DTVRollOff::kRollOff_35
@ kRollOff_35
Definition: dtvconfparserhelpers.h:736
DTVBandwidth::kBandwidth7MHz
@ kBandwidth7MHz
Definition: dtvconfparserhelpers.h:229
DTVHierarchy::operator=
DTVHierarchy & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:574
DTVModulationSystem::kModulationSystem_ATSC
@ kModulationSystem_ATSC
Definition: dtvconfparserhelpers.h:667
DTVModulation::kModulationQAM16
@ kModulationQAM16
Definition: dtvconfparserhelpers.h:359
DTVCodeRate::Types
Types
Definition: dtvconfparserhelpers.h:289
DTVModulationSystem::kModulationSystem_ISDBT
@ kModulationSystem_ISDBT
Definition: dtvconfparserhelpers.h:664
DTVTunerType::kTunerTypeUnknown
static const int kTunerTypeUnknown
Definition: dtvconfparserhelpers.h:103
DTVGuardInterval::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:535
DTVInversion::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:213
DTVRollOff::operator=
DTVRollOff & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:749
DTVTunerType::IsModulationVariable
bool IsModulationVariable(void) const
Definition: dtvconfparserhelpers.h:141
DTVTransmitMode
Definition: dtvconfparserhelpers.h:424
DTVCodeRate::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:334
DTVBandwidth::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:261
DTVHierarchy::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:550
DTVTunerType::operator=
DTVTunerType & operator=(int type)
Definition: dtvconfparserhelpers.h:129
DTVModulation::kModulationQAM32
@ kModulationQAM32
Definition: dtvconfparserhelpers.h:360
DTVBandwidth::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:220
DTVTunerType::toString
QString toString() const
Definition: dtvconfparserhelpers.h:154
DTVModulationSystem::IsCompatible
bool IsCompatible(const DTVModulationSystem other) const
Definition: dtvconfparserhelpers.h:705
DTVModulation::operator=
DTVModulation & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:393
DTVInversion::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:198
DTVBandwidth::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:263
DTVPolarity::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:640
DTVModulationSystem::kModulationSystem_DVBH
@ kModulationSystem_DVBH
Definition: dtvconfparserhelpers.h:663
DTVBandwidth::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:222
DTVHierarchy::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:594
DTVModulation::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:414
DTVTunerType::toUInt
uint toUInt() const
Definition: dtvconfparserhelpers.h:156
DTVCodeRate::IsCompatible
bool IsCompatible(const DTVCodeRate other) const
Definition: dtvconfparserhelpers.h:329
DTVRollOff::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:730
DTVCodeRate::DTVCodeRate
DTVCodeRate(Types _default=kFECAuto)
Definition: dtvconfparserhelpers.h:320
DTVModulation::kModulation16APSK
@ kModulation16APSK
Definition: dtvconfparserhelpers.h:368
DTVModulation::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:407
DTVTransmitMode::operator=
DTVTransmitMode & operator=(const fe_transmit_mode_t mode)
Definition: dtvconfparserhelpers.h:459
DTVModulationSystem::DTVModulationSystem
DTVModulationSystem(uint8_t _value=kModulationSystem_UNDEFINED)
Definition: dtvconfparserhelpers.h:699
DTVInversion::Types
Types
Definition: dtvconfparserhelpers.h:171
DTVPolarity::kPolarityVertical
@ kPolarityVertical
Definition: dtvconfparserhelpers.h:614
DTVRollOff::kRollOff_Auto
@ kRollOff_Auto
Definition: dtvconfparserhelpers.h:739
DTVCodeRate::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:285
DTVGuardInterval::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:542
DTVHierarchy::kHierarchyNone
@ kHierarchyNone
Definition: dtvconfparserhelpers.h:557
DTVRollOff::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:729
DTVModulation::kModulationDQPSK
@ kModulationDQPSK
Definition: dtvconfparserhelpers.h:370
DTVCodeRate::kFEC_9_10
@ kFEC_9_10
Definition: dtvconfparserhelpers.h:302
DTVModulationSystem::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:648
DTVCodeRate::kFEC_5_6
@ kFEC_5_6
Definition: dtvconfparserhelpers.h:296
DTVHierarchy::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:601
DTVTunerType::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:78
DTVModulationSystem::kModulationSystem_ISDBS
@ kModulationSystem_ISDBS
Definition: dtvconfparserhelpers.h:665
DTVInversion::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:167
DTVTunerType::IsFECVariable
bool IsFECVariable(void) const
Definition: dtvconfparserhelpers.h:134
DTVHierarchy::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:590
DTVModulation::kModulationInvalid
@ kModulationInvalid
Definition: dtvconfparserhelpers.h:371
DTVParamHelperStruct
Definition: dtvconfparserhelpers.h:44
DTVTunerType::kTunerTypeDVBS2
static const int kTunerTypeDVBS2
Definition: dtvconfparserhelpers.h:94
DTVTransmitMode::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:470
DTVModulationSystem::toString
QString toString() const
Definition: dtvconfparserhelpers.h:719
DTVModulationSystem::kModulationSystem_DVBS
@ kModulationSystem_DVBS
Definition: dtvconfparserhelpers.h:661
DTVHierarchy::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:588
DTVModulation::kModulationQAM128
@ kModulationQAM128
Definition: dtvconfparserhelpers.h:362
DTVCodeRate::kFEC_3_4
@ kFEC_3_4
Definition: dtvconfparserhelpers.h:294
DTVRollOff::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:770
DTVCodeRate::kFEC_4_5
@ kFEC_4_5
Definition: dtvconfparserhelpers.h:295
DTVParamHelper::toString
static QString toString(const DTVParamStringVec &strings, int index)
Definition: dtvconfparserhelpers.cpp:21
DTVPolarity::toString
QString toString() const
Definition: dtvconfparserhelpers.h:632
DTVTransmitMode::Types
Types
Definition: dtvconfparserhelpers.h:433
DTVGuardInterval::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:537
DTVModulation::kModulation32APSK
@ kModulation32APSK
Definition: dtvconfparserhelpers.h:369
DTVCodeRate::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:336
DTVModulationSystem
Definition: dtvconfparserhelpers.h:644
DTVInversion::operator=
DTVInversion & operator=(const fe_spectral_inversion_t type)
Definition: dtvconfparserhelpers.h:189
DTVHierarchy::kHierarchy4
@ kHierarchy4
Definition: dtvconfparserhelpers.h:560
DTVInversion::kInversionOn
@ kInversionOn
Definition: dtvconfparserhelpers.h:174
DTVPolarity::kParseStrings
static const DTVParamStringVec kParseStrings
kPolarityVertical
Definition: dtvconfparserhelpers.h:609
DTVModulationSystem::Types
Types
Definition: dtvconfparserhelpers.h:653
DTVGuardInterval::kParseStrings
static const DTVParamStringVec kParseStrings
kGuardInterval_1_32
Definition: dtvconfparserhelpers.h:493
DTVBandwidth::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:269
DTVTransmitMode::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:429
DTVModulation::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:352
DTVTransmitMode::kParseStrings
static const DTVParamStringVec kParseStrings
kTransmissionMode2K
Definition: dtvconfparserhelpers.h:430
DTVTunerType::IsDiSEqCSupported
bool IsDiSEqCSupported(void) const
Definition: dtvconfparserhelpers.h:148
DTVTunerType::kTunerTypeOCUR
static const int kTunerTypeOCUR
Definition: dtvconfparserhelpers.h:101
DTVTunerType::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:131
DTVModulationSystem::kModulationSystem_DVBT2
@ kModulationSystem_DVBT2
Definition: dtvconfparserhelpers.h:672
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_A
@ kModulationSystem_DVBC_ANNEX_A
Definition: dtvconfparserhelpers.h:657
DTVTransmitMode::toString
QString toString() const
Definition: dtvconfparserhelpers.h:475
DTVPolarity::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:625
DTVPolarity::DTVPolarity
DTVPolarity(PolarityValues _default=kPolarityVertical)
Definition: dtvconfparserhelpers.h:620
DTVBandwidth::toString
QString toString() const
Definition: dtvconfparserhelpers.h:268
DTVInversion::kInversionOff
@ kInversionOff
Definition: dtvconfparserhelpers.h:173
DTVModulation::IsCompatible
bool IsCompatible(const DTVModulation other) const
Definition: dtvconfparserhelpers.h:400
DTVParamHelper::m_value
int m_value
Definition: dtvconfparserhelpers.h:73
DTVRollOff::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:765
DTVPolarity::kPolarityRight
@ kPolarityRight
Definition: dtvconfparserhelpers.h:616
DTVRollOff::operator=
DTVRollOff & operator=(fe_rolloff_t type)
Definition: dtvconfparserhelpers.h:752
DTVHierarchy::kHierarchy2
@ kHierarchy2
Definition: dtvconfparserhelpers.h:559
DTVCodeRate::kFEC_8_9
@ kFEC_8_9
Definition: dtvconfparserhelpers.h:299
DTVTunerType::kTunerTypeASI
static const int kTunerTypeASI
Definition: dtvconfparserhelpers.h:100
DTVCodeRate::kFEC_6_7
@ kFEC_6_7
Definition: dtvconfparserhelpers.h:297
DTVTunerType::kTunerTypeATSC
static const int kTunerTypeATSC
Definition: dtvconfparserhelpers.h:98
DTVParamHelper::operator=
DTVParamHelper & operator=(int _value)
Definition: dtvconfparserhelpers.h:60
DTVModulation::kModulationQAMAuto
@ kModulationQAMAuto
Definition: dtvconfparserhelpers.h:364
uint16_t
unsigned short uint16_t
Definition: iso6937tables.h:3
DTVGuardInterval::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:490
DTVModulationSystem::kModulationSystem_TURBO
@ kModulationSystem_TURBO
Definition: dtvconfparserhelpers.h:673
DTVModulation::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:405
DTVModulationSystem::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:647
DTVRollOff::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:761
DTVGuardInterval::kGuardInterval_1_32
@ kGuardInterval_1_32
Definition: dtvconfparserhelpers.h:498
DTVBandwidth::kParseStrings
static const DTVParamStringVec kParseStrings
kBandwidth8MHz
Definition: dtvconfparserhelpers.h:223
DTVTunerType::kTunerTypeDVBT
static const int kTunerTypeDVBT
Definition: dtvconfparserhelpers.h:96
DTVModulation::kModulationQAM64
@ kModulationQAM64
Definition: dtvconfparserhelpers.h:361
DTVHierarchy::operator=
DTVHierarchy & operator=(const fe_hierarchy_t hierarchy)
Definition: dtvconfparserhelpers.h:577
DTVHierarchy::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:549
DTVCodeRate::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:283
DTVInversion::kParseStrings
static const DTVParamStringVec kParseStrings
kInversionOff
Definition: dtvconfparserhelpers.h:168
DTVTransmitMode::operator=
DTVTransmitMode & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:456
DTVInversion::toString
QString toString() const
Definition: dtvconfparserhelpers.h:205
DTVCodeRate::kFECAuto
@ kFECAuto
Definition: dtvconfparserhelpers.h:300
DTVHierarchy::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:586
DTVTransmitMode::kTransmissionMode1K
@ kTransmissionMode1K
Definition: dtvconfparserhelpers.h:439
DTVGuardInterval::toString
QString toString() const
Definition: dtvconfparserhelpers.h:540
DTVTunerType::kTunerTypeDVBT2
static const int kTunerTypeDVBT2
Definition: dtvconfparserhelpers.h:97
DTVRollOff::Types
Types
Definition: dtvconfparserhelpers.h:734
DTVInversion::DTVInversion
DTVInversion(Types _default=kInversionAuto)
Definition: dtvconfparserhelpers.h:184
DTVInversion::kInversionAuto
@ kInversionAuto
Definition: dtvconfparserhelpers.h:175
DTVBandwidth::DTVBandwidth
DTVBandwidth(Types _default=kBandwidthAuto)
Definition: dtvconfparserhelpers.h:247
DTVBandwidth::kBandwidth5MHz
@ kBandwidth5MHz
Definition: dtvconfparserhelpers.h:232
DTVInversion::IsCompatible
bool IsCompatible(const DTVInversion other) const
Definition: dtvconfparserhelpers.h:193
DTVModulationSystem::kModulationSystem_DTMB
@ kModulationSystem_DTMB
Definition: dtvconfparserhelpers.h:669
DTVModulation::kModulationQPSK
@ kModulationQPSK
Definition: dtvconfparserhelpers.h:358
DTVTransmitMode::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:428
DTVBandwidth::kBandwidth1712kHz
@ kBandwidth1712kHz
Definition: dtvconfparserhelpers.h:234
DTVParamHelperStruct::symbol
QString symbol
Definition: dtvconfparserhelpers.h:46
DTVModulation::kModulation8PSK
@ kModulation8PSK
Definition: dtvconfparserhelpers.h:367
DTVModulation::Types
Types
Definition: dtvconfparserhelpers.h:356
DTVModulation::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:409
DTVModulationSystem::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:721
DTVBandwidth::kBandwidth6MHz
@ kBandwidth6MHz
Definition: dtvconfparserhelpers.h:230
DTVPolarity
Definition: dtvconfparserhelpers.h:605
DTVModulation
Definition: dtvconfparserhelpers.h:347
DTVParamHelper::ParseParam
static bool ParseParam(const QString &symbol, int &value, const DTVParamHelperVec &table)
Definition: dtvconfparserhelpers.cpp:8
DTVBandwidth::IsCompatible
bool IsCompatible(const DTVBandwidth other) const
Definition: dtvconfparserhelpers.h:256
uint
unsigned int uint
Definition: freesurround.h:24
DTVCodeRate::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:284
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_C
@ kModulationSystem_DVBC_ANNEX_C
Definition: dtvconfparserhelpers.h:674
DTVRollOff::IsCompatible
bool IsCompatible(const DTVRollOff other) const
Definition: dtvconfparserhelpers.h:756
DTVPolarity::kPolarityHorizontal
@ kPolarityHorizontal
Definition: dtvconfparserhelpers.h:615
DTVModulationSystem::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:716
DTVRollOff
Definition: dtvconfparserhelpers.h:725
DTVModulationSystem::kModulationSystem_ISDBC
@ kModulationSystem_ISDBC
Definition: dtvconfparserhelpers.h:666
DTVModulationSystem::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:712
DTVModulationSystem::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:649