SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
SWGModelFactory.h
Go to the documentation of this file.
1 
13 #ifndef ModelFactory_H_
14 #define ModelFactory_H_
15 
16 
17 #include "SWGAMBEDevice.h"
18 #include "SWGAMBEDevices.h"
19 #include "SWGAMDemodReport.h"
20 #include "SWGAMDemodSettings.h"
21 #include "SWGAMModReport.h"
22 #include "SWGAMModSettings.h"
23 #include "SWGATVModReport.h"
24 #include "SWGATVModSettings.h"
25 #include "SWGAirspyHFReport.h"
26 #include "SWGAirspyHFSettings.h"
27 #include "SWGAirspyReport.h"
28 #include "SWGAirspySettings.h"
29 #include "SWGArgInfo.h"
30 #include "SWGArgValue.h"
31 #include "SWGAudioDevices.h"
32 #include "SWGAudioInputDevice.h"
33 #include "SWGAudioOutputDevice.h"
34 #include "SWGBFMDemodReport.h"
35 #include "SWGBFMDemodSettings.h"
36 #include "SWGBandwidth.h"
39 #include "SWGBladeRF2InputReport.h"
43 #include "SWGCWKeyerSettings.h"
44 #include "SWGChannel.h"
45 #include "SWGChannelConfig.h"
46 #include "SWGChannelListItem.h"
47 #include "SWGChannelReport.h"
48 #include "SWGChannelSettings.h"
49 #include "SWGChannelsDetail.h"
50 #include "SWGCommand.h"
51 #include "SWGComplex.h"
52 #include "SWGDSDDemodReport.h"
53 #include "SWGDSDDemodSettings.h"
54 #include "SWGDVSerialDevice.h"
55 #include "SWGDVSerialDevices.h"
56 #include "SWGDeviceConfig.h"
57 #include "SWGDeviceListItem.h"
58 #include "SWGDeviceReport.h"
59 #include "SWGDeviceSet.h"
60 #include "SWGDeviceSetList.h"
61 #include "SWGDeviceSettings.h"
62 #include "SWGDeviceState.h"
63 #include "SWGErrorResponse.h"
64 #include "SWGFCDProPlusSettings.h"
65 #include "SWGFCDProSettings.h"
66 #include "SWGFileInputReport.h"
67 #include "SWGFileInputSettings.h"
68 #include "SWGFileSourceReport.h"
69 #include "SWGFileSourceSettings.h"
70 #include "SWGFreeDVDemodReport.h"
71 #include "SWGFreeDVDemodSettings.h"
72 #include "SWGFreeDVModReport.h"
73 #include "SWGFreeDVModSettings.h"
74 #include "SWGFreqTrackerReport.h"
75 #include "SWGFreqTrackerSettings.h"
76 #include "SWGFrequency.h"
77 #include "SWGFrequencyBand.h"
78 #include "SWGFrequencyRange.h"
79 #include "SWGGLSpectrum.h"
80 #include "SWGGain.h"
81 #include "SWGHackRFInputSettings.h"
87 #include "SWGKiwiSDRReport.h"
88 #include "SWGKiwiSDRSettings.h"
89 #include "SWGLimeSdrInputReport.h"
91 #include "SWGLimeSdrOutputReport.h"
93 #include "SWGLocalInputReport.h"
94 #include "SWGLocalInputSettings.h"
95 #include "SWGLocalOutputReport.h"
96 #include "SWGLocalOutputSettings.h"
97 #include "SWGLocalSinkSettings.h"
98 #include "SWGLocalSourceSettings.h"
99 #include "SWGLocationInformation.h"
100 #include "SWGLoggingInfo.h"
101 #include "SWGNFMDemodReport.h"
102 #include "SWGNFMDemodSettings.h"
103 #include "SWGNFMModReport.h"
104 #include "SWGNFMModSettings.h"
105 #include "SWGNamedEnum.h"
106 #include "SWGPerseusReport.h"
107 #include "SWGPerseusSettings.h"
108 #include "SWGPlutoSdrInputReport.h"
110 #include "SWGPlutoSdrOutputReport.h"
112 #include "SWGPreferences.h"
113 #include "SWGPreset.h"
114 #include "SWGPresetExport.h"
115 #include "SWGPresetGroup.h"
116 #include "SWGPresetIdentifier.h"
117 #include "SWGPresetImport.h"
118 #include "SWGPresetItem.h"
119 #include "SWGPresetTransfer.h"
120 #include "SWGPresets.h"
121 #include "SWGRDSReport.h"
123 #include "SWGRange.h"
124 #include "SWGRangeFloat.h"
125 #include "SWGRemoteInputReport.h"
126 #include "SWGRemoteInputSettings.h"
127 #include "SWGRemoteOutputReport.h"
128 #include "SWGRemoteOutputSettings.h"
129 #include "SWGRemoteSinkSettings.h"
130 #include "SWGRemoteSourceReport.h"
131 #include "SWGRemoteSourceSettings.h"
132 #include "SWGRtlSdrReport.h"
133 #include "SWGRtlSdrSettings.h"
134 #include "SWGSDRPlayReport.h"
135 #include "SWGSDRPlaySettings.h"
136 #include "SWGSSBDemodReport.h"
137 #include "SWGSSBDemodSettings.h"
138 #include "SWGSSBModReport.h"
139 #include "SWGSSBModSettings.h"
140 #include "SWGSampleRate.h"
141 #include "SWGSamplingDevice.h"
143 #include "SWGSoapySDRGainSetting.h"
146 #include "SWGSoapySDRReport.h"
147 #include "SWGSuccessResponse.h"
148 #include "SWGTestMISettings.h"
149 #include "SWGTestMiStreamSettings.h"
150 #include "SWGTestSourceSettings.h"
151 #include "SWGUDPSinkReport.h"
152 #include "SWGUDPSinkSettings.h"
153 #include "SWGUDPSourceReport.h"
154 #include "SWGUDPSourceSettings.h"
155 #include "SWGWFMDemodReport.h"
156 #include "SWGWFMDemodSettings.h"
157 #include "SWGWFMModReport.h"
158 #include "SWGWFMModSettings.h"
159 #include "SWGXtrxInputReport.h"
160 #include "SWGXtrxInputSettings.h"
161 #include "SWGXtrxOutputReport.h"
162 #include "SWGXtrxOutputSettings.h"
163 
164 namespace SWGSDRangel {
165 
166  inline void* create(QString type) {
167  if(QString("SWGAMBEDevice").compare(type) == 0) {
168  return new SWGAMBEDevice();
169  }
170  if(QString("SWGAMBEDevices").compare(type) == 0) {
171  return new SWGAMBEDevices();
172  }
173  if(QString("SWGAMDemodReport").compare(type) == 0) {
174  return new SWGAMDemodReport();
175  }
176  if(QString("SWGAMDemodSettings").compare(type) == 0) {
177  return new SWGAMDemodSettings();
178  }
179  if(QString("SWGAMModReport").compare(type) == 0) {
180  return new SWGAMModReport();
181  }
182  if(QString("SWGAMModSettings").compare(type) == 0) {
183  return new SWGAMModSettings();
184  }
185  if(QString("SWGATVModReport").compare(type) == 0) {
186  return new SWGATVModReport();
187  }
188  if(QString("SWGATVModSettings").compare(type) == 0) {
189  return new SWGATVModSettings();
190  }
191  if(QString("SWGAirspyHFReport").compare(type) == 0) {
192  return new SWGAirspyHFReport();
193  }
194  if(QString("SWGAirspyHFSettings").compare(type) == 0) {
195  return new SWGAirspyHFSettings();
196  }
197  if(QString("SWGAirspyReport").compare(type) == 0) {
198  return new SWGAirspyReport();
199  }
200  if(QString("SWGAirspySettings").compare(type) == 0) {
201  return new SWGAirspySettings();
202  }
203  if(QString("SWGArgInfo").compare(type) == 0) {
204  return new SWGArgInfo();
205  }
206  if(QString("SWGArgValue").compare(type) == 0) {
207  return new SWGArgValue();
208  }
209  if(QString("SWGAudioDevices").compare(type) == 0) {
210  return new SWGAudioDevices();
211  }
212  if(QString("SWGAudioInputDevice").compare(type) == 0) {
213  return new SWGAudioInputDevice();
214  }
215  if(QString("SWGAudioOutputDevice").compare(type) == 0) {
216  return new SWGAudioOutputDevice();
217  }
218  if(QString("SWGBFMDemodReport").compare(type) == 0) {
219  return new SWGBFMDemodReport();
220  }
221  if(QString("SWGBFMDemodSettings").compare(type) == 0) {
222  return new SWGBFMDemodSettings();
223  }
224  if(QString("SWGBandwidth").compare(type) == 0) {
225  return new SWGBandwidth();
226  }
227  if(QString("SWGBladeRF1InputSettings").compare(type) == 0) {
228  return new SWGBladeRF1InputSettings();
229  }
230  if(QString("SWGBladeRF1OutputSettings").compare(type) == 0) {
231  return new SWGBladeRF1OutputSettings();
232  }
233  if(QString("SWGBladeRF2InputReport").compare(type) == 0) {
234  return new SWGBladeRF2InputReport();
235  }
236  if(QString("SWGBladeRF2InputSettings").compare(type) == 0) {
237  return new SWGBladeRF2InputSettings();
238  }
239  if(QString("SWGBladeRF2OutputReport").compare(type) == 0) {
240  return new SWGBladeRF2OutputReport();
241  }
242  if(QString("SWGBladeRF2OutputSettings").compare(type) == 0) {
243  return new SWGBladeRF2OutputSettings();
244  }
245  if(QString("SWGCWKeyerSettings").compare(type) == 0) {
246  return new SWGCWKeyerSettings();
247  }
248  if(QString("SWGChannel").compare(type) == 0) {
249  return new SWGChannel();
250  }
251  if(QString("SWGChannelConfig").compare(type) == 0) {
252  return new SWGChannelConfig();
253  }
254  if(QString("SWGChannelListItem").compare(type) == 0) {
255  return new SWGChannelListItem();
256  }
257  if(QString("SWGChannelReport").compare(type) == 0) {
258  return new SWGChannelReport();
259  }
260  if(QString("SWGChannelSettings").compare(type) == 0) {
261  return new SWGChannelSettings();
262  }
263  if(QString("SWGChannelsDetail").compare(type) == 0) {
264  return new SWGChannelsDetail();
265  }
266  if(QString("SWGCommand").compare(type) == 0) {
267  return new SWGCommand();
268  }
269  if(QString("SWGComplex").compare(type) == 0) {
270  return new SWGComplex();
271  }
272  if(QString("SWGDSDDemodReport").compare(type) == 0) {
273  return new SWGDSDDemodReport();
274  }
275  if(QString("SWGDSDDemodSettings").compare(type) == 0) {
276  return new SWGDSDDemodSettings();
277  }
278  if(QString("SWGDVSerialDevice").compare(type) == 0) {
279  return new SWGDVSerialDevice();
280  }
281  if(QString("SWGDVSerialDevices").compare(type) == 0) {
282  return new SWGDVSerialDevices();
283  }
284  if(QString("SWGDeviceConfig").compare(type) == 0) {
285  return new SWGDeviceConfig();
286  }
287  if(QString("SWGDeviceListItem").compare(type) == 0) {
288  return new SWGDeviceListItem();
289  }
290  if(QString("SWGDeviceReport").compare(type) == 0) {
291  return new SWGDeviceReport();
292  }
293  if(QString("SWGDeviceSet").compare(type) == 0) {
294  return new SWGDeviceSet();
295  }
296  if(QString("SWGDeviceSetList").compare(type) == 0) {
297  return new SWGDeviceSetList();
298  }
299  if(QString("SWGDeviceSettings").compare(type) == 0) {
300  return new SWGDeviceSettings();
301  }
302  if(QString("SWGDeviceState").compare(type) == 0) {
303  return new SWGDeviceState();
304  }
305  if(QString("SWGErrorResponse").compare(type) == 0) {
306  return new SWGErrorResponse();
307  }
308  if(QString("SWGFCDProPlusSettings").compare(type) == 0) {
309  return new SWGFCDProPlusSettings();
310  }
311  if(QString("SWGFCDProSettings").compare(type) == 0) {
312  return new SWGFCDProSettings();
313  }
314  if(QString("SWGFileInputReport").compare(type) == 0) {
315  return new SWGFileInputReport();
316  }
317  if(QString("SWGFileInputSettings").compare(type) == 0) {
318  return new SWGFileInputSettings();
319  }
320  if(QString("SWGFileSourceReport").compare(type) == 0) {
321  return new SWGFileSourceReport();
322  }
323  if(QString("SWGFileSourceSettings").compare(type) == 0) {
324  return new SWGFileSourceSettings();
325  }
326  if(QString("SWGFreeDVDemodReport").compare(type) == 0) {
327  return new SWGFreeDVDemodReport();
328  }
329  if(QString("SWGFreeDVDemodSettings").compare(type) == 0) {
330  return new SWGFreeDVDemodSettings();
331  }
332  if(QString("SWGFreeDVModReport").compare(type) == 0) {
333  return new SWGFreeDVModReport();
334  }
335  if(QString("SWGFreeDVModSettings").compare(type) == 0) {
336  return new SWGFreeDVModSettings();
337  }
338  if(QString("SWGFreqTrackerReport").compare(type) == 0) {
339  return new SWGFreqTrackerReport();
340  }
341  if(QString("SWGFreqTrackerSettings").compare(type) == 0) {
342  return new SWGFreqTrackerSettings();
343  }
344  if(QString("SWGFrequency").compare(type) == 0) {
345  return new SWGFrequency();
346  }
347  if(QString("SWGFrequencyBand").compare(type) == 0) {
348  return new SWGFrequencyBand();
349  }
350  if(QString("SWGFrequencyRange").compare(type) == 0) {
351  return new SWGFrequencyRange();
352  }
353  if(QString("SWGGLSpectrum").compare(type) == 0) {
354  return new SWGGLSpectrum();
355  }
356  if(QString("SWGGain").compare(type) == 0) {
357  return new SWGGain();
358  }
359  if(QString("SWGHackRFInputSettings").compare(type) == 0) {
360  return new SWGHackRFInputSettings();
361  }
362  if(QString("SWGHackRFOutputSettings").compare(type) == 0) {
363  return new SWGHackRFOutputSettings();
364  }
365  if(QString("SWGInstanceChannelsResponse").compare(type) == 0) {
366  return new SWGInstanceChannelsResponse();
367  }
368  if(QString("SWGInstanceConfigResponse").compare(type) == 0) {
369  return new SWGInstanceConfigResponse();
370  }
371  if(QString("SWGInstanceDevicesResponse").compare(type) == 0) {
372  return new SWGInstanceDevicesResponse();
373  }
374  if(QString("SWGInstanceSummaryResponse").compare(type) == 0) {
375  return new SWGInstanceSummaryResponse();
376  }
377  if(QString("SWGKiwiSDRReport").compare(type) == 0) {
378  return new SWGKiwiSDRReport();
379  }
380  if(QString("SWGKiwiSDRSettings").compare(type) == 0) {
381  return new SWGKiwiSDRSettings();
382  }
383  if(QString("SWGLimeSdrInputReport").compare(type) == 0) {
384  return new SWGLimeSdrInputReport();
385  }
386  if(QString("SWGLimeSdrInputSettings").compare(type) == 0) {
387  return new SWGLimeSdrInputSettings();
388  }
389  if(QString("SWGLimeSdrOutputReport").compare(type) == 0) {
390  return new SWGLimeSdrOutputReport();
391  }
392  if(QString("SWGLimeSdrOutputSettings").compare(type) == 0) {
393  return new SWGLimeSdrOutputSettings();
394  }
395  if(QString("SWGLocalInputReport").compare(type) == 0) {
396  return new SWGLocalInputReport();
397  }
398  if(QString("SWGLocalInputSettings").compare(type) == 0) {
399  return new SWGLocalInputSettings();
400  }
401  if(QString("SWGLocalOutputReport").compare(type) == 0) {
402  return new SWGLocalOutputReport();
403  }
404  if(QString("SWGLocalOutputSettings").compare(type) == 0) {
405  return new SWGLocalOutputSettings();
406  }
407  if(QString("SWGLocalSinkSettings").compare(type) == 0) {
408  return new SWGLocalSinkSettings();
409  }
410  if(QString("SWGLocalSourceSettings").compare(type) == 0) {
411  return new SWGLocalSourceSettings();
412  }
413  if(QString("SWGLocationInformation").compare(type) == 0) {
414  return new SWGLocationInformation();
415  }
416  if(QString("SWGLoggingInfo").compare(type) == 0) {
417  return new SWGLoggingInfo();
418  }
419  if(QString("SWGNFMDemodReport").compare(type) == 0) {
420  return new SWGNFMDemodReport();
421  }
422  if(QString("SWGNFMDemodSettings").compare(type) == 0) {
423  return new SWGNFMDemodSettings();
424  }
425  if(QString("SWGNFMModReport").compare(type) == 0) {
426  return new SWGNFMModReport();
427  }
428  if(QString("SWGNFMModSettings").compare(type) == 0) {
429  return new SWGNFMModSettings();
430  }
431  if(QString("SWGNamedEnum").compare(type) == 0) {
432  return new SWGNamedEnum();
433  }
434  if(QString("SWGPerseusReport").compare(type) == 0) {
435  return new SWGPerseusReport();
436  }
437  if(QString("SWGPerseusSettings").compare(type) == 0) {
438  return new SWGPerseusSettings();
439  }
440  if(QString("SWGPlutoSdrInputReport").compare(type) == 0) {
441  return new SWGPlutoSdrInputReport();
442  }
443  if(QString("SWGPlutoSdrInputSettings").compare(type) == 0) {
444  return new SWGPlutoSdrInputSettings();
445  }
446  if(QString("SWGPlutoSdrOutputReport").compare(type) == 0) {
447  return new SWGPlutoSdrOutputReport();
448  }
449  if(QString("SWGPlutoSdrOutputSettings").compare(type) == 0) {
450  return new SWGPlutoSdrOutputSettings();
451  }
452  if(QString("SWGPreferences").compare(type) == 0) {
453  return new SWGPreferences();
454  }
455  if(QString("SWGPreset").compare(type) == 0) {
456  return new SWGPreset();
457  }
458  if(QString("SWGPresetExport").compare(type) == 0) {
459  return new SWGPresetExport();
460  }
461  if(QString("SWGPresetGroup").compare(type) == 0) {
462  return new SWGPresetGroup();
463  }
464  if(QString("SWGPresetIdentifier").compare(type) == 0) {
465  return new SWGPresetIdentifier();
466  }
467  if(QString("SWGPresetImport").compare(type) == 0) {
468  return new SWGPresetImport();
469  }
470  if(QString("SWGPresetItem").compare(type) == 0) {
471  return new SWGPresetItem();
472  }
473  if(QString("SWGPresetTransfer").compare(type) == 0) {
474  return new SWGPresetTransfer();
475  }
476  if(QString("SWGPresets").compare(type) == 0) {
477  return new SWGPresets();
478  }
479  if(QString("SWGRDSReport").compare(type) == 0) {
480  return new SWGRDSReport();
481  }
482  if(QString("SWGRDSReport_altFrequencies").compare(type) == 0) {
483  return new SWGRDSReport_altFrequencies();
484  }
485  if(QString("SWGRange").compare(type) == 0) {
486  return new SWGRange();
487  }
488  if(QString("SWGRangeFloat").compare(type) == 0) {
489  return new SWGRangeFloat();
490  }
491  if(QString("SWGRemoteInputReport").compare(type) == 0) {
492  return new SWGRemoteInputReport();
493  }
494  if(QString("SWGRemoteInputSettings").compare(type) == 0) {
495  return new SWGRemoteInputSettings();
496  }
497  if(QString("SWGRemoteOutputReport").compare(type) == 0) {
498  return new SWGRemoteOutputReport();
499  }
500  if(QString("SWGRemoteOutputSettings").compare(type) == 0) {
501  return new SWGRemoteOutputSettings();
502  }
503  if(QString("SWGRemoteSinkSettings").compare(type) == 0) {
504  return new SWGRemoteSinkSettings();
505  }
506  if(QString("SWGRemoteSourceReport").compare(type) == 0) {
507  return new SWGRemoteSourceReport();
508  }
509  if(QString("SWGRemoteSourceSettings").compare(type) == 0) {
510  return new SWGRemoteSourceSettings();
511  }
512  if(QString("SWGRtlSdrReport").compare(type) == 0) {
513  return new SWGRtlSdrReport();
514  }
515  if(QString("SWGRtlSdrSettings").compare(type) == 0) {
516  return new SWGRtlSdrSettings();
517  }
518  if(QString("SWGSDRPlayReport").compare(type) == 0) {
519  return new SWGSDRPlayReport();
520  }
521  if(QString("SWGSDRPlaySettings").compare(type) == 0) {
522  return new SWGSDRPlaySettings();
523  }
524  if(QString("SWGSSBDemodReport").compare(type) == 0) {
525  return new SWGSSBDemodReport();
526  }
527  if(QString("SWGSSBDemodSettings").compare(type) == 0) {
528  return new SWGSSBDemodSettings();
529  }
530  if(QString("SWGSSBModReport").compare(type) == 0) {
531  return new SWGSSBModReport();
532  }
533  if(QString("SWGSSBModSettings").compare(type) == 0) {
534  return new SWGSSBModSettings();
535  }
536  if(QString("SWGSampleRate").compare(type) == 0) {
537  return new SWGSampleRate();
538  }
539  if(QString("SWGSamplingDevice").compare(type) == 0) {
540  return new SWGSamplingDevice();
541  }
542  if(QString("SWGSoapySDRFrequencySetting").compare(type) == 0) {
543  return new SWGSoapySDRFrequencySetting();
544  }
545  if(QString("SWGSoapySDRGainSetting").compare(type) == 0) {
546  return new SWGSoapySDRGainSetting();
547  }
548  if(QString("SWGSoapySDRInputSettings").compare(type) == 0) {
549  return new SWGSoapySDRInputSettings();
550  }
551  if(QString("SWGSoapySDROutputSettings").compare(type) == 0) {
552  return new SWGSoapySDROutputSettings();
553  }
554  if(QString("SWGSoapySDRReport").compare(type) == 0) {
555  return new SWGSoapySDRReport();
556  }
557  if(QString("SWGSuccessResponse").compare(type) == 0) {
558  return new SWGSuccessResponse();
559  }
560  if(QString("SWGTestMISettings").compare(type) == 0) {
561  return new SWGTestMISettings();
562  }
563  if(QString("SWGTestMiStreamSettings").compare(type) == 0) {
564  return new SWGTestMiStreamSettings();
565  }
566  if(QString("SWGTestSourceSettings").compare(type) == 0) {
567  return new SWGTestSourceSettings();
568  }
569  if(QString("SWGUDPSinkReport").compare(type) == 0) {
570  return new SWGUDPSinkReport();
571  }
572  if(QString("SWGUDPSinkSettings").compare(type) == 0) {
573  return new SWGUDPSinkSettings();
574  }
575  if(QString("SWGUDPSourceReport").compare(type) == 0) {
576  return new SWGUDPSourceReport();
577  }
578  if(QString("SWGUDPSourceSettings").compare(type) == 0) {
579  return new SWGUDPSourceSettings();
580  }
581  if(QString("SWGWFMDemodReport").compare(type) == 0) {
582  return new SWGWFMDemodReport();
583  }
584  if(QString("SWGWFMDemodSettings").compare(type) == 0) {
585  return new SWGWFMDemodSettings();
586  }
587  if(QString("SWGWFMModReport").compare(type) == 0) {
588  return new SWGWFMModReport();
589  }
590  if(QString("SWGWFMModSettings").compare(type) == 0) {
591  return new SWGWFMModSettings();
592  }
593  if(QString("SWGXtrxInputReport").compare(type) == 0) {
594  return new SWGXtrxInputReport();
595  }
596  if(QString("SWGXtrxInputSettings").compare(type) == 0) {
597  return new SWGXtrxInputSettings();
598  }
599  if(QString("SWGXtrxOutputReport").compare(type) == 0) {
600  return new SWGXtrxOutputReport();
601  }
602  if(QString("SWGXtrxOutputSettings").compare(type) == 0) {
603  return new SWGXtrxOutputSettings();
604  }
605 
606  return nullptr;
607  }
608 
609  inline void* create(QString json, QString type) {
610  void* val = create(type);
611  if(val != nullptr) {
612  SWGObject* obj = static_cast<SWGObject*>(val);
613  return obj->fromJson(json);
614  }
615  if(type.startsWith("QString")) {
616  return new QString();
617  }
618  return nullptr;
619  }
620 
621 }
622 
623 #endif /* ModelFactory_H_ */
void * create(QString type)
virtual SWGObject * fromJson(QString &jsonString)
Definition: SWGObject.h:26