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 params.
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 to 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  static void initStr(void);
157  static QString toString(int _value);
158 };
159 
161 {
162  protected:
167 
168  public:
169  enum Types
170  {
174  };
175 #ifdef USING_DVB
176  static_assert((kInversionOff == (Types)INVERSION_OFF ) &&
177  (kInversionOn == (Types)INVERSION_ON ) &&
178  (kInversionAuto == (Types)INVERSION_AUTO),
179  "Inversion types don't match DVB includes.");
180 #endif
181 
182  explicit DTVInversion(Types _default = kInversionAuto)
183  : DTVParamHelper(_default) { }
184  DTVInversion& operator=(const Types _value)
185  { m_value = _value; return *this; }
186 #ifdef USING_DVB
187  DTVInversion& operator=(const fe_spectral_inversion_t type)
188  { m_value = type; return *this; }
189 #endif
190 
191  bool IsCompatible(const DTVInversion &other) const
192  { return m_value == other.m_value || m_value == kInversionAuto ||
193  other.m_value == kInversionAuto;
194  }
195 
196  bool ParseConf(const QString &_value)
197  { return ParseParam(_value, m_value, kConfTable); }
198  bool ParseVDR(const QString &_value)
199  { return ParseParam(_value, m_value, kVdrTable); }
200  bool Parse(const QString &_value)
201  { return ParseParam(_value, m_value, kParseTable); }
202 
203  QString toString() const { return toString(m_value); }
204  QChar toChar() const
205  {
206  if (toString().length() > 0)
207  return toString().at(0);
208  return {0};
209  }
210 
211  static QString toString(int _value)
212  { return DTVParamHelper::toString(kParseStrings, _value); }
213 };
214 
216 {
217  protected:
222 
223  public:
224  enum Types
225  {
233  };
234 #ifdef USING_DVB
235  static_assert((kBandwidth8MHz == (Types)BANDWIDTH_8_MHZ ) &&
236  (kBandwidth7MHz == (Types)BANDWIDTH_7_MHZ ) &&
237  (kBandwidth6MHz == (Types)BANDWIDTH_6_MHZ ) &&
238  (kBandwidthAuto == (Types)BANDWIDTH_AUTO ) &&
239  (kBandwidth5MHz == (Types)BANDWIDTH_5_MHZ ) &&
240  (kBandwidth10MHz == (Types)BANDWIDTH_10_MHZ ) &&
241  (kBandwidth1712kHz == (Types)BANDWIDTH_1_712_MHZ),
242  "Bandwidth types don't match DVB includes.");
243 #endif
244 
245  explicit DTVBandwidth(Types _default = kBandwidthAuto)
246  : DTVParamHelper(_default) { }
247  DTVBandwidth& operator=(const Types _value)
248  { m_value = _value; return *this; }
249 #ifdef USING_DVB
250  DTVBandwidth& operator=(const fe_bandwidth_t bwidth)
251  { m_value = bwidth; return *this; }
252 #endif
253 
254  bool IsCompatible(const DTVBandwidth &other) const
255  { return m_value == other.m_value || m_value == kBandwidthAuto ||
256  other.m_value == kBandwidthAuto;
257  }
258 
259  bool ParseConf(const QString &_value)
260  { return ParseParam(_value, m_value, kConfTable); }
261  bool ParseVDR(const QString &_value)
262  { return ParseParam(_value, m_value, kVdrTable); }
263  bool Parse(const QString &_value)
264  { return ParseParam(_value, m_value, kParseTable); }
265 
266  QString toString() const { return toString(m_value); }
267  QChar toChar() const
268  {
269  if (toString().length() > 0)
270  return toString().at(0);
271  return {0};
272  }
273 
274  static QString toString(int _value)
275  { return DTVParamHelper::toString(kParseStrings, _value); }
276 };
277 
279 {
280  protected:
285 
286  public:
287  enum Types
288  {
301  };
302 #ifdef USING_DVB
303  static_assert((kFECNone == (Types)FEC_NONE) &&
304  (kFEC_1_2 == (Types)FEC_1_2 ) &&
305  (kFEC_2_3 == (Types)FEC_2_3 ) &&
306  (kFEC_3_4 == (Types)FEC_3_4 ) &&
307  (kFEC_4_5 == (Types)FEC_4_5 ) &&
308  (kFEC_5_6 == (Types)FEC_5_6 ) &&
309  (kFEC_6_7 == (Types)FEC_6_7 ) &&
310  (kFEC_7_8 == (Types)FEC_7_8 ) &&
311  (kFEC_8_9 == (Types)FEC_8_9 ) &&
312  (kFECAuto == (Types)FEC_AUTO) &&
313  (kFEC_3_5 == (Types)FEC_3_5 ) &&
314  (kFEC_9_10 == (Types)FEC_9_10),
315  "FEC types don't match DVB includes.");
316 #endif
317 
318  explicit DTVCodeRate(Types _default = kFECAuto)
319  : DTVParamHelper(_default) { }
320  DTVCodeRate& operator=(const Types _value)
321  { m_value = _value; return *this; }
322 #ifdef USING_DVB
323  DTVCodeRate& operator=(const fe_code_rate_t rate)
324  { m_value = rate; return *this; }
325 #endif
326 
327  bool IsCompatible(const DTVCodeRate &other) const
328  { return m_value == other.m_value || m_value == kFECAuto ||
329  other.m_value == kFECAuto;
330  }
331 
332  bool ParseConf(const QString &_value)
333  { return ParseParam(_value, m_value, kConfTable); }
334  bool ParseVDR(const QString &_value)
335  { return ParseParam(_value, m_value, kVdrTable); }
336  bool Parse(const QString &_value)
337  { return ParseParam(_value, m_value, kParseTable); }
338 
339  QString toString() const { return toString(m_value); }
340 
341  static QString toString(int _value)
342  { return DTVParamHelper::toString(kParseStrings, _value); }
343 };
344 
346 {
347  protected:
352 
353  public:
354  enum Types
355  {
369  kModulationInvalid = 0x100, /* for removed modulations */
370  kModulationAnalog = 0x200, /* for analog channel scanner */
371  };
372 #ifdef USING_DVB
373  static_assert((kModulationQPSK == (Types)QPSK ) &&
374  (kModulationQAM16 == (Types)QAM_16 ) &&
375  (kModulationQAM32 == (Types)QAM_32 ) &&
376  (kModulationQAM64 == (Types)QAM_64 ) &&
377  (kModulationQAM128 == (Types)QAM_128 ) &&
378  (kModulationQAM256 == (Types)QAM_256 ) &&
379  (kModulationQAMAuto == (Types)QAM_AUTO) &&
380  (kModulation8VSB == (Types)VSB_8 ) &&
381  (kModulation16VSB == (Types)VSB_16 ) &&
382  (kModulation8PSK == (Types)PSK_8 ) &&
383  (kModulation16APSK == (Types)APSK_16 ) &&
384  (kModulation32APSK == (Types)APSK_32 ) &&
385  (kModulationDQPSK == (Types)DQPSK ),
386  "Modulation types don't match DVB includes.");
387 #endif
388 
390  : DTVParamHelper(_default) { }
392  { m_value = _value; return *this; }
393 #ifdef USING_DVB
394  DTVModulation& operator=(const fe_modulation_t modulation)
395  { m_value = modulation; return *this; }
396 #endif
397 
398  bool IsCompatible(const DTVModulation &other) const
399  { return m_value == other.m_value || m_value == kModulationQAMAuto ||
400  other.m_value == kModulationQAMAuto;
401  }
402 
403  bool ParseConf(const QString &_value)
404  { return ParseParam(_value, m_value, kConfTable); }
405  bool ParseVDR(const QString &_value)
406  { return ParseParam(_value, m_value, kVdrTable); }
407  bool Parse(const QString &_value)
408  { return ParseParam(_value, m_value, kParseTable); }
409 
410  QString toString() const { return toString(m_value); }
411 
412  static QString toString(int _value)
413  {
414  if (kModulationInvalid == _value)
415  return "invalid";
416  if (kModulationAnalog == _value)
417  return "analog";
418  return DTVParamHelper::toString(kParseStrings, _value);
419  }
420 };
421 
423 {
424  protected:
429 
430  public:
431  enum Types
432  {
440  };
441 #ifdef USING_DVB
442  static_assert((kTransmissionMode2K == (Types)TRANSMISSION_MODE_2K ) &&
443  (kTransmissionMode8K == (Types)TRANSMISSION_MODE_8K ) &&
444  (kTransmissionModeAuto == (Types)TRANSMISSION_MODE_AUTO) &&
445  (kTransmissionMode4K == (Types)TRANSMISSION_MODE_4K ) &&
446  (kTransmissionMode1K == (Types)TRANSMISSION_MODE_1K ) &&
447  (kTransmissionMode16K == (Types)TRANSMISSION_MODE_16K ) &&
448  (kTransmissionMode32K == (Types)TRANSMISSION_MODE_32K ),
449  "Transmission types don't match DVB includes.");
450 #endif
451 
453  : DTVParamHelper(_default) { }
455  { m_value = _value; return *this; }
456 #ifdef USING_DVB
457  DTVTransmitMode& operator=(const fe_transmit_mode_t mode)
458  { m_value = mode; return *this; }
459 #endif
460 
461  bool IsCompatible(const DTVTransmitMode &other) const
462  { return m_value == other.m_value || m_value == kTransmissionModeAuto ||
464  }
465 
466  bool ParseConf(const QString &_value)
467  { return ParseParam(_value, m_value, kConfTable); }
468  bool ParseVDR(const QString &_value)
469  { return ParseParam(_value, m_value, kVdrTable); }
470  bool Parse(const QString &_value)
471  { return ParseParam(_value, m_value, kParseTable); }
472 
473  QString toString() const { return toString(m_value); }
474  QChar toChar() const
475  {
476  if (toString().length() > 0)
477  return toString().at(0);
478  return {0};
479  }
480 
481  static QString toString(int _value)
482  { return DTVParamHelper::toString(kParseStrings, _value); }
483 };
484 
486 {
487  protected:
492 
493  public:
494  enum Types
495  {
504  };
505 #ifdef USING_DVB
506  static_assert((kGuardInterval_1_32 == (Types)GUARD_INTERVAL_1_32 ) &&
507  (kGuardInterval_1_16 == (Types)GUARD_INTERVAL_1_16 ) &&
508  (kGuardInterval_1_8 == (Types)GUARD_INTERVAL_1_8 ) &&
509  (kGuardInterval_1_4 == (Types)GUARD_INTERVAL_1_4 ) &&
510  (kGuardIntervalAuto == (Types)GUARD_INTERVAL_AUTO ) &&
511  (kGuardInterval_1_128 == (Types)GUARD_INTERVAL_1_128 ) &&
512  (kGuardInterval_19_128 == (Types)GUARD_INTERVAL_19_128) &&
513  (kGuardInterval_19_256 == (Types)GUARD_INTERVAL_19_256),
514  "Guard Interval types don't match DVB includes.");
515 #endif
516 
518  : DTVParamHelper(_default) { }
520  { m_value = _value; return *this; }
521 #ifdef USING_DVB
522  DTVGuardInterval& operator=(const fe_guard_interval_t interval)
523  { m_value = interval; return *this; }
524 #endif
525 
526  bool IsCompatible(const DTVGuardInterval &other) const
527  { return m_value == other.m_value || m_value == kGuardIntervalAuto ||
528  other.m_value == kGuardIntervalAuto;
529  }
530 
531  bool ParseConf(const QString &_value)
532  { return ParseParam(_value, m_value, kConfTable); }
533  bool ParseVDR(const QString &_value)
534  { return ParseParam(_value, m_value, kVdrTable); }
535  bool Parse(const QString &_value)
536  { return ParseParam(_value, m_value, kParseTable); }
537 
538  QString toString() const { return toString(m_value); }
539 
540  static QString toString(int _value)
541  { return DTVParamHelper::toString(kParseStrings, _value); }
542 };
543 
545 {
546  protected:
551 
552  public:
553  enum Types
554  {
560  };
561 #ifdef USING_DVB
562  static_assert((kHierarchyNone == (Types)HIERARCHY_NONE) &&
563  (kHierarchy1 == (Types)HIERARCHY_1 ) &&
564  (kHierarchy2 == (Types)HIERARCHY_2 ) &&
565  (kHierarchy4 == (Types)HIERARCHY_4 ) &&
566  (kHierarchyAuto == (Types)HIERARCHY_AUTO),
567  "Hierarchy types don't match DVB includes.");
568 #endif
569 
570  explicit DTVHierarchy(Types _default = kHierarchyAuto)
571  : DTVParamHelper(_default) { }
572  DTVHierarchy& operator=(const Types _value)
573  { m_value = _value; return *this; }
574 #ifdef USING_DVB
575  DTVHierarchy& operator=(const fe_hierarchy_t hierarchy)
576  { m_value = hierarchy; return *this; }
577 #endif
578 
579  bool IsCompatible(const DTVHierarchy &other) const
580  { return m_value == other.m_value || m_value == kHierarchyAuto ||
581  other.m_value == kHierarchyAuto;
582  }
583 
584  bool ParseConf(const QString &_value)
585  { return ParseParam(_value, m_value, kConfTable); }
586  bool ParseVDR(const QString &_value)
587  { return ParseParam(_value, m_value, kVdrTable); }
588  bool Parse(const QString &_value)
589  { return ParseParam(_value, m_value, kParseTable); }
590 
591  QString toString() const { return toString(m_value); }
592  QChar toChar() const
593  {
594  if (toString().length() > 0)
595  return toString().at(0);
596  return {0};
597  }
598 
599  static QString toString(int _value)
600  { return DTVParamHelper::toString(kParseStrings, _value); }
601 };
602 
604 {
605  protected:
608 
609  public:
611  {
616  };
617 
619  : DTVParamHelper(_default) { }
621  { m_value = _value; return *this; }
622 
623  bool ParseConf(const QString &_value)
624  { return ParseParam(_value, m_value, kParseTable); }
625  bool ParseVDR(const QString &_value)
626  { return ParseParam(_value, m_value, kParseTable); }
627  bool Parse(const QString &_value)
628  { return ParseParam(_value, m_value, kParseTable); }
629 
630  QString toString() const { return toString(m_value); }
631  QChar toChar() const
632  {
633  if (toString().length() > 0)
634  return toString().at(0);
635  return {0};
636  }
637 
638  static QString toString(int _value)
639  { return DTVParamHelper::toString(kParseStrings, _value); }
640 };
641 
643 {
644  protected:
649 
650  public:
651  enum Types
652  {
653  // see fe_delivery_system in frontend.h
673  };
674 #ifdef USING_DVB
675  static_assert((kModulationSystem_UNDEFINED == (Types)SYS_UNDEFINED ) &&
676  (kModulationSystem_DVBC_ANNEX_A == (Types)SYS_DVBC_ANNEX_A) &&
677  (kModulationSystem_DVBC_ANNEX_B == (Types)SYS_DVBC_ANNEX_B) &&
678  (kModulationSystem_DVBT == (Types)SYS_DVBT ) &&
679  (kModulationSystem_DSS == (Types)SYS_DSS ) &&
680  (kModulationSystem_DVBS == (Types)SYS_DVBS ) &&
681  (kModulationSystem_DVBS2 == (Types)SYS_DVBS2 ) &&
682  (kModulationSystem_DVBH == (Types)SYS_DVBH ) &&
683  (kModulationSystem_ISDBT == (Types)SYS_ISDBT ) &&
684  (kModulationSystem_ISDBS == (Types)SYS_ISDBS ) &&
685  (kModulationSystem_ISDBC == (Types)SYS_ISDBC ) &&
686  (kModulationSystem_ATSC == (Types)SYS_ATSC ) &&
687  (kModulationSystem_ATSCMH == (Types)SYS_ATSCMH ) &&
688  (kModulationSystem_DTMB == (Types)SYS_DTMB ) &&
689  (kModulationSystem_CMMB == (Types)SYS_CMMB ) &&
690  (kModulationSystem_DAB == (Types)SYS_DAB ) &&
691  (kModulationSystem_DVBT2 == (Types)SYS_DVBT2 ) &&
692  (kModulationSystem_TURBO == (Types)SYS_TURBO ) &&
693  (kModulationSystem_DVBC_ANNEX_C == (Types)SYS_DVBC_ANNEX_C),
694  "Modulation System types don't match DVB includes.");
695 #endif
696 
698  : DTVParamHelper(_default) { }
700  { m_value = _value; return *this; }
701 #ifdef USING_DVB
702  DTVModulationSystem& operator=(fe_delivery_system_t type)
703  { m_value = type; return *this; }
704 #endif
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
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:410
DTVInversion::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:198
DTVBandwidth::kBandwidth6MHz
@ kBandwidth6MHz
Definition: dtvconfparserhelpers.h:228
DTVInversion
Definition: dtvconfparserhelpers.h:161
DTVParamHelperStruct::value
int value
Definition: dtvconfparserhelpers.h:47
DTVModulation::operator=
DTVModulation & operator=(const fe_modulation_t modulation)
Definition: dtvconfparserhelpers.h:394
DTVRollOff::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:728
DTVGuardInterval::kGuardInterval_1_4
@ kGuardInterval_1_4
Definition: dtvconfparserhelpers.h:499
DTVTransmitMode::IsCompatible
bool IsCompatible(const DTVTransmitMode &other) const
Definition: dtvconfparserhelpers.h:461
DTVBandwidth
Definition: dtvconfparserhelpers.h:216
DTVBandwidth::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:274
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:517
DTVModulation::DTVModulation
DTVModulation(Types _default=kModulationQAMAuto)
Definition: dtvconfparserhelpers.h:389
DTVCodeRate::kFEC_3_4
@ kFEC_3_4
Definition: dtvconfparserhelpers.h:292
DTVTunerType::kTunerTypeDVBC
static const int kTunerTypeDVBC
Definition: dtvconfparserhelpers.h:95
DTVTransmitMode::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:474
DTVTunerType::kTunerTypeIPTV
static const int kTunerTypeIPTV
Definition: dtvconfparserhelpers.h:102
DTVGuardInterval::operator=
DTVGuardInterval & operator=(const fe_guard_interval_t interval)
Definition: dtvconfparserhelpers.h:522
DTVTransmitMode::kTransmissionMode32K
@ kTransmissionMode32K
Definition: dtvconfparserhelpers.h:439
DTVBandwidth::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:219
DTVInversion::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:204
DTVPolarity::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:631
DTVCodeRate::kParseStrings
static const DTVParamStringVec kParseStrings
kFECNone
Definition: dtvconfparserhelpers.h:284
DTVGuardInterval::kGuardIntervalAuto
@ kGuardIntervalAuto
Definition: dtvconfparserhelpers.h:500
DTVInversion::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:163
DTVTransmitMode::kTransmissionMode1K
@ kTransmissionMode1K
Definition: dtvconfparserhelpers.h:437
DTVModulationSystem::kModulationSystem_DVBS2
@ kModulationSystem_DVBS2
Definition: dtvconfparserhelpers.h:660
DTVParamHelper
Helper abstract template to do some of the mundane portions of translating and comparing the paramate...
Definition: dtvconfparserhelpers.h:57
DTVCodeRate::kFEC_2_3
@ kFEC_2_3
Definition: dtvconfparserhelpers.h:291
DTVParamHelperVec
std::vector< DTVParamHelperStruct > DTVParamHelperVec
Definition: dtvconfparserhelpers.h:49
DTVModulation::kModulation32APSK
@ kModulation32APSK
Definition: dtvconfparserhelpers.h:367
DTVHierarchy::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:549
DTVModulationSystem::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:714
DTVGuardInterval::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:489
DTVTransmitMode::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:470
DTVTransmitMode::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:466
DTVModulationSystem::kParseStrings
static const DTVParamStringVec kParseStrings
kModulationSystem_UNDEFINED
Definition: dtvconfparserhelpers.h:648
DTVCodeRate::kFEC_5_6
@ kFEC_5_6
Definition: dtvconfparserhelpers.h:294
DTVGuardInterval::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:490
DTVTunerType::kTunerTypeDVBS1
static const int kTunerTypeDVBS1
Definition: dtvconfparserhelpers.h:93
DTVInversion::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:200
DTVCodeRate::kFECNone
@ kFECNone
Definition: dtvconfparserhelpers.h:289
DTVRollOff::DTVRollOff
DTVRollOff(Types _default=kRollOff_35)
Definition: dtvconfparserhelpers.h:747
DTVModulation::kModulation16VSB
@ kModulation16VSB
Definition: dtvconfparserhelpers.h:364
DTVBandwidth::operator=
DTVBandwidth & operator=(const fe_bandwidth_t bwidth)
Definition: dtvconfparserhelpers.h:250
DTVModulationSystem::kModulationSystem_ISDBC
@ kModulationSystem_ISDBC
Definition: dtvconfparserhelpers.h:664
DTVModulationSystem::kModulationSystem_DTMB
@ kModulationSystem_DTMB
Definition: dtvconfparserhelpers.h:667
DTVModulation::kModulation16APSK
@ kModulation16APSK
Definition: dtvconfparserhelpers.h:366
DTVTransmitMode::Types
Types
Definition: dtvconfparserhelpers.h:432
DTVTransmitMode::kTransmissionMode4K
@ kTransmissionMode4K
Definition: dtvconfparserhelpers.h:436
DTVHierarchy::toString
QString toString() const
Definition: dtvconfparserhelpers.h:591
DTVGuardInterval::operator=
DTVGuardInterval & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:519
DTVHierarchy
Definition: dtvconfparserhelpers.h:545
DTVCodeRate::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:336
DTVHierarchy::kHierarchyAuto
@ kHierarchyAuto
Definition: dtvconfparserhelpers.h:559
DTVModulation::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:349
DTVPolarity::kPolarityLeft
@ kPolarityLeft
Definition: dtvconfparserhelpers.h:615
DTVPolarity::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:606
DTVModulation::kParseStrings
static const DTVParamStringVec kParseStrings
kModulationQPSK,
Definition: dtvconfparserhelpers.h:351
DTVInversion::operator=
DTVInversion & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:184
DTVHierarchy::DTVHierarchy
DTVHierarchy(Types _default=kHierarchyAuto)
Definition: dtvconfparserhelpers.h:570
DTVPolarity::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:625
DTVInversion::IsCompatible
bool IsCompatible(const DTVInversion &other) const
Definition: dtvconfparserhelpers.h:191
DTVRollOff::kRollOff_35
@ kRollOff_35
Definition: dtvconfparserhelpers.h:736
DTVCodeRate::toString
QString toString() const
Definition: dtvconfparserhelpers.h:339
DTVTransmitMode::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:481
DTVModulation::kModulationQPSK
@ kModulationQPSK
Definition: dtvconfparserhelpers.h:356
DTVParamStringVec
std::vector< std::string > DTVParamStringVec
Definition: dtvconfparserhelpers.h:50
DTVCodeRate::kFECAuto
@ kFECAuto
Definition: dtvconfparserhelpers.h:298
DTVGuardInterval
Definition: dtvconfparserhelpers.h:486
DTVParamHelper::DTVParamHelper
DTVParamHelper(int _value)
Definition: dtvconfparserhelpers.h:59
DTVGuardInterval::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:531
DTVModulation::kModulationDQPSK
@ kModulationDQPSK
Definition: dtvconfparserhelpers.h:368
DTVHierarchy::kHierarchy2
@ kHierarchy2
Definition: dtvconfparserhelpers.h:557
DTVHierarchy::kHierarchy4
@ kHierarchy4
Definition: dtvconfparserhelpers.h:558
DTVModulationSystem::kModulationSystem_UNDEFINED
@ kModulationSystem_UNDEFINED
Definition: dtvconfparserhelpers.h:654
DTVCodeRate
Definition: dtvconfparserhelpers.h:279
DTVGuardInterval::Types
Types
Definition: dtvconfparserhelpers.h:495
DTVTunerType
Definition: dtvconfparserhelpers.h:77
DTVHierarchy::IsCompatible
bool IsCompatible(const DTVHierarchy &other) const
Definition: dtvconfparserhelpers.h:579
DTVTransmitMode::kTransmissionModeAuto
@ kTransmissionModeAuto
Definition: dtvconfparserhelpers.h:435
DTVTransmitMode::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:425
DTVModulation::kModulationQAM256
@ kModulationQAM256
Definition: dtvconfparserhelpers.h:361
DTVCodeRate::operator=
DTVCodeRate & operator=(const fe_code_rate_t rate)
Definition: dtvconfparserhelpers.h:323
DTVModulationSystem::kModulationSystem_DAB
@ kModulationSystem_DAB
Definition: dtvconfparserhelpers.h:669
DTVPolarity::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:627
DTVCodeRate::IsCompatible
bool IsCompatible(const DTVCodeRate &other) const
Definition: dtvconfparserhelpers.h:327
DTVRollOff::kParseStrings
static const DTVParamStringVec kParseStrings
kRollOff_35
Definition: dtvconfparserhelpers.h:731
DTVGuardInterval::IsCompatible
bool IsCompatible(const DTVGuardInterval &other) const
Definition: dtvconfparserhelpers.h:526
DTVGuardInterval::kGuardInterval_1_16
@ kGuardInterval_1_16
Definition: dtvconfparserhelpers.h:497
DTVPolarity::operator=
DTVPolarity & operator=(const PolarityValues _value)
Definition: dtvconfparserhelpers.h:620
DTVModulation::kModulationQAM16
@ kModulationQAM16
Definition: dtvconfparserhelpers.h:357
DTVBandwidth::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:263
DTVModulation::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:348
DTVHierarchy::kParseStrings
static const DTVParamStringVec kParseStrings
kHierarchyNone
Definition: dtvconfparserhelpers.h:550
DTVInversion::kInversionOn
@ kInversionOn
Definition: dtvconfparserhelpers.h:172
DTVInversion::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:164
DTVCodeRate::kFEC_1_2
@ kFEC_1_2
Definition: dtvconfparserhelpers.h:290
DTVBandwidth::operator=
DTVBandwidth & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:247
DTVCodeRate::operator=
DTVCodeRate & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:320
DTVTransmitMode::DTVTransmitMode
DTVTransmitMode(Types _default=kTransmissionModeAuto)
Definition: dtvconfparserhelpers.h:452
DTVRollOff::toString
QString toString() const
Definition: dtvconfparserhelpers.h:768
DTVCodeRate::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:341
DTVHierarchy::operator=
DTVHierarchy & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:572
DTVModulationSystem::kModulationSystem_ISDBS
@ kModulationSystem_ISDBS
Definition: dtvconfparserhelpers.h:663
DTVPolarity::kPolarityVertical
@ kPolarityVertical
Definition: dtvconfparserhelpers.h:612
DTVInversion::Types
Types
Definition: dtvconfparserhelpers.h:170
DTVParamHelper::operator!=
bool operator!=(const int &v) const
Definition: dtvconfparserhelpers.h:64
DTVModulationSystem::kModulationSystem_ISDBT
@ kModulationSystem_ISDBT
Definition: dtvconfparserhelpers.h:662
DTVBandwidth::IsCompatible
bool IsCompatible(const DTVBandwidth &other) const
Definition: dtvconfparserhelpers.h:254
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_B
@ kModulationSystem_DVBC_ANNEX_B
Definition: dtvconfparserhelpers.h:656
DTVTunerType::kTunerTypeUnknown
static const int kTunerTypeUnknown
Definition: dtvconfparserhelpers.h:103
DTVGuardInterval::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:533
DTVModulationSystem::operator=
DTVModulationSystem & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:699
DTVInversion::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:211
DTVRollOff::operator=
DTVRollOff & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:749
DTVModulationSystem::operator=
DTVModulationSystem & operator=(fe_delivery_system_t type)
Definition: dtvconfparserhelpers.h:702
DTVTunerType::IsModulationVariable
bool IsModulationVariable(void) const
Definition: dtvconfparserhelpers.h:141
DTVCodeRate::kFEC_3_5
@ kFEC_3_5
Definition: dtvconfparserhelpers.h:299
DTVTransmitMode
Definition: dtvconfparserhelpers.h:423
DTVGuardInterval::kGuardInterval_19_256
@ kGuardInterval_19_256
Definition: dtvconfparserhelpers.h:503
DTVModulation::Types
Types
Definition: dtvconfparserhelpers.h:355
DTVModulationSystem::Types
Types
Definition: dtvconfparserhelpers.h:652
DTVCodeRate::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:332
DTVBandwidth::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:259
DTVCodeRate::Types
Types
Definition: dtvconfparserhelpers.h:288
DTVModulation::IsCompatible
bool IsCompatible(const DTVModulation &other) const
Definition: dtvconfparserhelpers.h:398
DTVHierarchy::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:548
DTVTunerType::operator=
DTVTunerType & operator=(int type)
Definition: dtvconfparserhelpers.h:129
DTVBandwidth::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:218
DTVTunerType::toString
QString toString() const
Definition: dtvconfparserhelpers.h:154
DTVModulation::kModulationQAM128
@ kModulationQAM128
Definition: dtvconfparserhelpers.h:360
DTVModulation::operator=
DTVModulation & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:391
DTVInversion::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:196
DTVInversion::kInversionAuto
@ kInversionAuto
Definition: dtvconfparserhelpers.h:173
DTVModulation::kModulationQAM32
@ kModulationQAM32
Definition: dtvconfparserhelpers.h:358
DTVModulationSystem::kModulationSystem_ATSCMH
@ kModulationSystem_ATSCMH
Definition: dtvconfparserhelpers.h:666
DTVBandwidth::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:261
DTVPolarity::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:638
DTVBandwidth::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:220
DTVHierarchy::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:592
DTVModulation::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:412
DTVInversion::kInversionOff
@ kInversionOff
Definition: dtvconfparserhelpers.h:171
DTVRollOff::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:730
DTVBandwidth::Types
Types
Definition: dtvconfparserhelpers.h:225
DTVCodeRate::DTVCodeRate
DTVCodeRate(Types _default=kFECAuto)
Definition: dtvconfparserhelpers.h:318
DTVModulation::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:405
DTVRollOff::Types
Types
Definition: dtvconfparserhelpers.h:735
DTVTransmitMode::operator=
DTVTransmitMode & operator=(const fe_transmit_mode_t mode)
Definition: dtvconfparserhelpers.h:457
DTVModulation::kModulationQAMAuto
@ kModulationQAMAuto
Definition: dtvconfparserhelpers.h:362
DTVCodeRate::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:283
DTVGuardInterval::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:540
DTVRollOff::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:729
DTVTransmitMode::kTransmissionMode16K
@ kTransmissionMode16K
Definition: dtvconfparserhelpers.h:438
DTVModulationSystem::IsCompatible
bool IsCompatible(const DTVModulationSystem &other) const
Definition: dtvconfparserhelpers.h:705
DTVModulationSystem::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:646
DTVHierarchy::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:599
DTVTunerType::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:78
DTVRollOff::IsCompatible
bool IsCompatible(const DTVRollOff &other) const
Definition: dtvconfparserhelpers.h:756
DTVInversion::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:165
DTVModulationSystem::kModulationSystem_ATSC
@ kModulationSystem_ATSC
Definition: dtvconfparserhelpers.h:665
DTVTunerType::IsFECVariable
bool IsFECVariable(void) const
Definition: dtvconfparserhelpers.h:134
DTVBandwidth::kBandwidthAuto
@ kBandwidthAuto
Definition: dtvconfparserhelpers.h:229
DTVHierarchy::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:588
DTVBandwidth::kBandwidth5MHz
@ kBandwidth5MHz
Definition: dtvconfparserhelpers.h:230
DTVRollOff::kRollOff_Auto
@ kRollOff_Auto
Definition: dtvconfparserhelpers.h:739
DTVParamHelperStruct
Definition: dtvconfparserhelpers.h:45
DTVTunerType::kTunerTypeDVBS2
static const int kTunerTypeDVBS2
Definition: dtvconfparserhelpers.h:94
DTVTransmitMode::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:468
DTVPolarity::PolarityValues
PolarityValues
Definition: dtvconfparserhelpers.h:611
DTVModulationSystem::toString
QString toString() const
Definition: dtvconfparserhelpers.h:719
DTVHierarchy::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:586
DTVRollOff::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:770
DTVParamHelper::toString
static QString toString(const DTVParamStringVec &strings, int index)
Definition: dtvconfparserhelpers.cpp:21
DTVPolarity::toString
QString toString() const
Definition: dtvconfparserhelpers.h:630
DTVGuardInterval::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:535
DTVCodeRate::ParseVDR
bool ParseVDR(const QString &_value)
Definition: dtvconfparserhelpers.h:334
DTVRollOff::kRollOff_20
@ kRollOff_20
Definition: dtvconfparserhelpers.h:737
DTVModulationSystem
Definition: dtvconfparserhelpers.h:643
DTVInversion::operator=
DTVInversion & operator=(const fe_spectral_inversion_t type)
Definition: dtvconfparserhelpers.h:187
DTVModulationSystem::kModulationSystem_DSS
@ kModulationSystem_DSS
Definition: dtvconfparserhelpers.h:658
DTVTransmitMode::kTransmissionMode8K
@ kTransmissionMode8K
Definition: dtvconfparserhelpers.h:434
DTVPolarity::kParseStrings
static const DTVParamStringVec kParseStrings
kPolarityVertical
Definition: dtvconfparserhelpers.h:607
DTVGuardInterval::kParseStrings
static const DTVParamStringVec kParseStrings
kGuardInterval_1_32
Definition: dtvconfparserhelpers.h:491
DTVModulationSystem::kModulationSystem_CMMB
@ kModulationSystem_CMMB
Definition: dtvconfparserhelpers.h:668
DTVPolarity::kPolarityRight
@ kPolarityRight
Definition: dtvconfparserhelpers.h:614
DTVBandwidth::toChar
QChar toChar() const
Definition: dtvconfparserhelpers.h:267
DTVTransmitMode::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:427
DTVBandwidth::kBandwidth1712kHz
@ kBandwidth1712kHz
Definition: dtvconfparserhelpers.h:232
DTVModulation::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:350
DTVTransmitMode::kParseStrings
static const DTVParamStringVec kParseStrings
kTransmissionMode2K
Definition: dtvconfparserhelpers.h:428
DTVTransmitMode::kTransmissionMode2K
@ kTransmissionMode2K
Definition: dtvconfparserhelpers.h:433
DTVTunerType::IsDiSEqCSupported
bool IsDiSEqCSupported(void) const
Definition: dtvconfparserhelpers.h:148
DTVHierarchy::kHierarchyNone
@ kHierarchyNone
Definition: dtvconfparserhelpers.h:555
DTVTunerType::kTunerTypeOCUR
static const int kTunerTypeOCUR
Definition: dtvconfparserhelpers.h:101
DTVTunerType::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:131
DTVTransmitMode::toString
QString toString() const
Definition: dtvconfparserhelpers.h:473
DTVModulationSystem::kModulationSystem_TURBO
@ kModulationSystem_TURBO
Definition: dtvconfparserhelpers.h:671
DTVPolarity::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:623
DTVModulation::kModulationInvalid
@ kModulationInvalid
Definition: dtvconfparserhelpers.h:369
DTVPolarity::DTVPolarity
DTVPolarity(PolarityValues _default=kPolarityVertical)
Definition: dtvconfparserhelpers.h:618
DTVBandwidth::toString
QString toString() const
Definition: dtvconfparserhelpers.h:266
DTVParamHelper::m_value
int m_value
Definition: dtvconfparserhelpers.h:73
DTVRollOff::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:765
DTVRollOff::kRollOff_25
@ kRollOff_25
Definition: dtvconfparserhelpers.h:738
DTVRollOff::operator=
DTVRollOff & operator=(fe_rolloff_t type)
Definition: dtvconfparserhelpers.h:752
DTVTunerType::kTunerTypeASI
static const int kTunerTypeASI
Definition: dtvconfparserhelpers.h:100
DTVGuardInterval::kGuardInterval_1_32
@ kGuardInterval_1_32
Definition: dtvconfparserhelpers.h:496
DTVModulation::kModulation8VSB
@ kModulation8VSB
Definition: dtvconfparserhelpers.h:363
DTVModulation::kModulationAnalog
@ kModulationAnalog
Definition: dtvconfparserhelpers.h:370
DTVParamHelper::operator==
bool operator==(const int &v) const
Definition: dtvconfparserhelpers.h:63
DTVTunerType::kTunerTypeATSC
static const int kTunerTypeATSC
Definition: dtvconfparserhelpers.h:98
DTVBandwidth::kBandwidth8MHz
@ kBandwidth8MHz
Definition: dtvconfparserhelpers.h:226
DTVModulationSystem::kModulationSystem_DVBH
@ kModulationSystem_DVBH
Definition: dtvconfparserhelpers.h:661
DTVParamHelper::operator=
DTVParamHelper & operator=(int _value)
Definition: dtvconfparserhelpers.h:60
DTVGuardInterval::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:488
DTVModulation::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:403
DTVHierarchy::kHierarchy1
@ kHierarchy1
Definition: dtvconfparserhelpers.h:556
DTVModulationSystem::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:645
DTVCodeRate::kFEC_7_8
@ kFEC_7_8
Definition: dtvconfparserhelpers.h:296
DTVRollOff::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:761
DTVBandwidth::kParseStrings
static const DTVParamStringVec kParseStrings
kBandwidth8MHz
Definition: dtvconfparserhelpers.h:221
DTVModulationSystem::kModulationSystem_DVBT2
@ kModulationSystem_DVBT2
Definition: dtvconfparserhelpers.h:670
DTVTunerType::kTunerTypeDVBT
static const int kTunerTypeDVBT
Definition: dtvconfparserhelpers.h:96
DTVPolarity::kPolarityHorizontal
@ kPolarityHorizontal
Definition: dtvconfparserhelpers.h:613
DTVModulationSystem::DTVModulationSystem
DTVModulationSystem(Types _default=kModulationSystem_UNDEFINED)
Definition: dtvconfparserhelpers.h:697
DTVHierarchy::operator=
DTVHierarchy & operator=(const fe_hierarchy_t hierarchy)
Definition: dtvconfparserhelpers.h:575
DTVCodeRate::kFEC_9_10
@ kFEC_9_10
Definition: dtvconfparserhelpers.h:300
DTVHierarchy::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:547
DTVCodeRate::kConfTable
static const DTVParamHelperVec kConfTable
Definition: dtvconfparserhelpers.h:281
DTVInversion::kParseStrings
static const DTVParamStringVec kParseStrings
kInversionOff
Definition: dtvconfparserhelpers.h:166
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_C
@ kModulationSystem_DVBC_ANNEX_C
Definition: dtvconfparserhelpers.h:672
DTVTransmitMode::operator=
DTVTransmitMode & operator=(const Types _value)
Definition: dtvconfparserhelpers.h:454
DTVInversion::toString
QString toString() const
Definition: dtvconfparserhelpers.h:203
DTVHierarchy::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:584
DTVGuardInterval::toString
QString toString() const
Definition: dtvconfparserhelpers.h:538
DTVTunerType::kTunerTypeDVBT2
static const int kTunerTypeDVBT2
Definition: dtvconfparserhelpers.h:97
DTVInversion::DTVInversion
DTVInversion(Types _default=kInversionAuto)
Definition: dtvconfparserhelpers.h:182
DTVCodeRate::kFEC_8_9
@ kFEC_8_9
Definition: dtvconfparserhelpers.h:297
DTVModulation::kModulationQAM64
@ kModulationQAM64
Definition: dtvconfparserhelpers.h:359
DTVBandwidth::kBandwidth10MHz
@ kBandwidth10MHz
Definition: dtvconfparserhelpers.h:231
DTVCodeRate::kFEC_6_7
@ kFEC_6_7
Definition: dtvconfparserhelpers.h:295
DTVBandwidth::kBandwidth7MHz
@ kBandwidth7MHz
Definition: dtvconfparserhelpers.h:227
DTVBandwidth::DTVBandwidth
DTVBandwidth(Types _default=kBandwidthAuto)
Definition: dtvconfparserhelpers.h:245
DTVModulationSystem::kModulationSystem_DVBS
@ kModulationSystem_DVBS
Definition: dtvconfparserhelpers.h:659
DTVTransmitMode::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:426
DTVParamHelperStruct::symbol
QString symbol
Definition: dtvconfparserhelpers.h:46
DTVModulation::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:407
DTVModulationSystem::toString
static QString toString(int _value)
Definition: dtvconfparserhelpers.h:721
DTVGuardInterval::kGuardInterval_1_8
@ kGuardInterval_1_8
Definition: dtvconfparserhelpers.h:498
DTVModulationSystem::kModulationSystem_DVBT
@ kModulationSystem_DVBT
Definition: dtvconfparserhelpers.h:657
DTVModulation::kModulation8PSK
@ kModulation8PSK
Definition: dtvconfparserhelpers.h:365
DTVPolarity
Definition: dtvconfparserhelpers.h:604
DTVModulation
Definition: dtvconfparserhelpers.h:346
DTVParamHelper::ParseParam
static bool ParseParam(const QString &symbol, int &value, const DTVParamHelperVec &table)
Definition: dtvconfparserhelpers.cpp:8
DTVGuardInterval::kGuardInterval_19_128
@ kGuardInterval_19_128
Definition: dtvconfparserhelpers.h:502
DTVCodeRate::kVdrTable
static const DTVParamHelperVec kVdrTable
Definition: dtvconfparserhelpers.h:282
DTVModulationSystem::kModulationSystem_DVBC_ANNEX_A
@ kModulationSystem_DVBC_ANNEX_A
Definition: dtvconfparserhelpers.h:655
DTVCodeRate::kFEC_4_5
@ kFEC_4_5
Definition: dtvconfparserhelpers.h:293
DTVModulationSystem::Parse
bool Parse(const QString &_value)
Definition: dtvconfparserhelpers.h:716
DTVGuardInterval::kGuardInterval_1_128
@ kGuardInterval_1_128
Definition: dtvconfparserhelpers.h:501
DTVRollOff
Definition: dtvconfparserhelpers.h:726
DTVModulationSystem::ParseConf
bool ParseConf(const QString &_value)
Definition: dtvconfparserhelpers.h:712
DTVHierarchy::Types
Types
Definition: dtvconfparserhelpers.h:554
DTVModulationSystem::kParseTable
static const DTVParamHelperVec kParseTable
Definition: dtvconfparserhelpers.h:647