-
Notifications
You must be signed in to change notification settings - Fork 8
/
SatHelper_wrap.cxx
4904 lines (3281 loc) · 138 KB
/
SatHelper_wrap.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
// source: SatHelper.i
#define SWIGMODULE SatHelper
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
struct SwigMovePointer {
T *ptr;
SwigMovePointer(T *p) : ptr(p) { }
~SwigMovePointer() { delete ptr; }
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
} pointer;
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
SwigValueWrapper() : pointer(0) { }
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
operator T&() const { return *pointer.ptr; }
T *operator&() { return pointer.ptr; }
};
template <typename T> T SwigValueInit() {
return T();
}
#endif
/* -----------------------------------------------------------------------------
* This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels.
* ----------------------------------------------------------------------------- */
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
# define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
# define SWIGTEMPLATEDISAMBIGUATOR template
# else
# define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif
/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline
# else
# define SWIGINLINE
# endif
#endif
/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif
/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif
/* exporting methods */
#if defined(__GNUC__)
# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif
# endif
#endif
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED)
# define SWIGEXPORT
# else
# define SWIGEXPORT __declspec(dllexport)
# endif
# else
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
# define SWIGEXPORT __attribute__ ((visibility("default")))
# else
# define SWIGEXPORT
# endif
# endif
#endif
/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif
/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif
/* Intel's compiler complains if a variable which was never initialised is
* cast to void, which is a common idiom which we use to indicate that we
* are aware a variable isn't used. So we just silence that warning.
* See: https://github.com/swig/swig/issues/192 for more discussion.
*/
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
typedef long long intgo;
typedef unsigned long long uintgo;
# if !defined(__clang__) && (defined(__i386__) || defined(__x86_64__))
# define SWIGSTRUCTPACKED __attribute__((__packed__, __gcc_struct__))
# else
# define SWIGSTRUCTPACKED __attribute__((__packed__))
# endif
typedef struct { char *p; intgo n; } _gostring_;
typedef struct { void* array; intgo len; intgo cap; } _goslice_;
#define swiggo_size_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2+1];
#define swiggo_size_assert(t, n) swiggo_size_assert_eq(sizeof(t), n, swiggo_sizeof_##t##_is_not_##n)
swiggo_size_assert(char, 1)
swiggo_size_assert(short, 2)
swiggo_size_assert(int, 4)
typedef long long swiggo_long_long;
swiggo_size_assert(swiggo_long_long, 8)
swiggo_size_assert(float, 4)
swiggo_size_assert(double, 8)
#ifdef __cplusplus
extern "C" {
#endif
extern void crosscall2(void (*fn)(void *, int), void *, int);
extern char* _cgo_topofstack(void) __attribute__ ((weak));
extern void _cgo_allocate(void *, int);
extern void _cgo_panic(void *, int);
#ifdef __cplusplus
}
#endif
static char *_swig_topofstack() {
if (_cgo_topofstack) {
return _cgo_topofstack();
} else {
return 0;
}
}
static void _swig_gopanic(const char *p) {
struct {
const char *p;
} SWIGSTRUCTPACKED a;
a.p = p;
crosscall2(_cgo_panic, &a, (int) sizeof a);
}
#define SWIG_contract_assert(expr, msg) \
if (!(expr)) { _swig_gopanic(msg); } else
#define SWIG_exception(code, msg) _swig_gopanic(msg)
static _gostring_ Swig_AllocateString(const char *p, size_t l) {
_gostring_ ret;
ret.p = (char*)malloc(l);
memcpy(ret.p, p, l);
ret.n = l;
return ret;
}
static void Swig_free(void* p) {
free(p);
}
static void* Swig_malloc(int c) {
return malloc(c);
}
#include "SatHelper/sathelper.h"
#include <stdint.h> // Use the C99 official header
#include <typeinfo>
#include <stdexcept>
#include <string>
#include <vector>
#include <stdexcept>
#include <map>
#include <algorithm>
#include <stdexcept>
#include <utility>
#include <vector>
SWIGINTERN std::vector< float >::const_reference std_vector_Sl_float_Sg__get(std::vector< float > *self,int i){
int size = int(self->size());
if (i>=0 && i<size)
return (*self)[i];
else
throw std::out_of_range("vector index out of range");
}
SWIGINTERN void std_vector_Sl_float_Sg__set(std::vector< float > *self,int i,std::vector< float >::value_type const &val){
int size = int(self->size());
if (i>=0 && i<size)
(*self)[i] = val;
else
throw std::out_of_range("vector index out of range");
}
SWIGINTERN std::vector< double >::const_reference std_vector_Sl_double_Sg__get(std::vector< double > *self,int i){
int size = int(self->size());
if (i>=0 && i<size)
return (*self)[i];
else
throw std::out_of_range("vector index out of range");
}
SWIGINTERN void std_vector_Sl_double_Sg__set(std::vector< double > *self,int i,std::vector< double >::value_type const &val){
int size = int(self->size());
if (i>=0 && i<size)
(*self)[i] = val;
else
throw std::out_of_range("vector index out of range");
}
#include <complex>
SWIGINTERN SatHelper::ConfigParser SatHelper_ConfigParser___getitem__(SatHelper::ConfigParser *self,std::string const &key){
return (*(self))[key];
}
#ifdef __cplusplus
extern "C" {
#endif
void _wrap_Swig_free_SatHelper_9d76377ed7889403(void *_swig_go_0) {
void *arg1 = (void *) 0 ;
arg1 = *(void **)&_swig_go_0;
Swig_free(arg1);
}
void *_wrap_Swig_malloc_SatHelper_9d76377ed7889403(intgo _swig_go_0) {
int arg1 ;
void *result = 0 ;
void *_swig_go_result;
arg1 = (int)_swig_go_0;
result = (void *)Swig_malloc(arg1);
*(void **)&_swig_go_result = (void *)result;
return _swig_go_result;
}
std::vector< float > *_wrap_new_VecFloat__SWIG_0_SatHelper_9d76377ed7889403() {
std::vector< float > *result = 0 ;
std::vector< float > *_swig_go_result;
result = (std::vector< float > *)new std::vector< float >();
*(std::vector< float > **)&_swig_go_result = (std::vector< float > *)result;
return _swig_go_result;
}
std::vector< float > *_wrap_new_VecFloat__SWIG_1_SatHelper_9d76377ed7889403(long long _swig_go_0) {
std::vector< float >::size_type arg1 ;
std::vector< float > *result = 0 ;
std::vector< float > *_swig_go_result;
arg1 = (size_t)_swig_go_0;
result = (std::vector< float > *)new std::vector< float >(arg1);
*(std::vector< float > **)&_swig_go_result = (std::vector< float > *)result;
return _swig_go_result;
}
long long _wrap_VecFloat_size_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
std::vector< float >::size_type result;
long long _swig_go_result;
arg1 = *(std::vector< float > **)&_swig_go_0;
result = ((std::vector< float > const *)arg1)->size();
_swig_go_result = result;
return _swig_go_result;
}
long long _wrap_VecFloat_capacity_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
std::vector< float >::size_type result;
long long _swig_go_result;
arg1 = *(std::vector< float > **)&_swig_go_0;
result = ((std::vector< float > const *)arg1)->capacity();
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_VecFloat_reserve_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0, long long _swig_go_1) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
std::vector< float >::size_type arg2 ;
arg1 = *(std::vector< float > **)&_swig_go_0;
arg2 = (size_t)_swig_go_1;
(arg1)->reserve(arg2);
}
bool _wrap_VecFloat_isEmpty_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
bool result;
bool _swig_go_result;
arg1 = *(std::vector< float > **)&_swig_go_0;
result = (bool)((std::vector< float > const *)arg1)->empty();
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_VecFloat_clear_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
arg1 = *(std::vector< float > **)&_swig_go_0;
(arg1)->clear();
}
void _wrap_VecFloat_add_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0, float _swig_go_1) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
std::vector< float >::value_type *arg2 = 0 ;
arg1 = *(std::vector< float > **)&_swig_go_0;
arg2 = (std::vector< float >::value_type *)&_swig_go_1;
(arg1)->push_back((std::vector< float >::value_type const &)*arg2);
}
float _wrap_VecFloat_get_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0, intgo _swig_go_1) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
int arg2 ;
std::vector< float >::value_type *result = 0 ;
float _swig_go_result;
arg1 = *(std::vector< float > **)&_swig_go_0;
arg2 = (int)_swig_go_1;
try {
result = (std::vector< float >::value_type *) &std_vector_Sl_float_Sg__get(arg1,arg2);
}
catch(std::out_of_range &_e) {
_swig_gopanic((&_e)->what());
}
_swig_go_result = (float)*result;
return _swig_go_result;
}
void _wrap_VecFloat_set_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0, intgo _swig_go_1, float _swig_go_2) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
int arg2 ;
std::vector< float >::value_type *arg3 = 0 ;
arg1 = *(std::vector< float > **)&_swig_go_0;
arg2 = (int)_swig_go_1;
arg3 = (std::vector< float >::value_type *)&_swig_go_2;
try {
std_vector_Sl_float_Sg__set(arg1,arg2,(float const &)*arg3);
}
catch(std::out_of_range &_e) {
_swig_gopanic((&_e)->what());
}
}
void _wrap_delete_VecFloat_SatHelper_9d76377ed7889403(std::vector< float > *_swig_go_0) {
std::vector< float > *arg1 = (std::vector< float > *) 0 ;
arg1 = *(std::vector< float > **)&_swig_go_0;
delete arg1;
}
std::vector< double > *_wrap_new_VecDouble__SWIG_0_SatHelper_9d76377ed7889403() {
std::vector< double > *result = 0 ;
std::vector< double > *_swig_go_result;
result = (std::vector< double > *)new std::vector< double >();
*(std::vector< double > **)&_swig_go_result = (std::vector< double > *)result;
return _swig_go_result;
}
std::vector< double > *_wrap_new_VecDouble__SWIG_1_SatHelper_9d76377ed7889403(long long _swig_go_0) {
std::vector< double >::size_type arg1 ;
std::vector< double > *result = 0 ;
std::vector< double > *_swig_go_result;
arg1 = (size_t)_swig_go_0;
result = (std::vector< double > *)new std::vector< double >(arg1);
*(std::vector< double > **)&_swig_go_result = (std::vector< double > *)result;
return _swig_go_result;
}
long long _wrap_VecDouble_size_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
std::vector< double >::size_type result;
long long _swig_go_result;
arg1 = *(std::vector< double > **)&_swig_go_0;
result = ((std::vector< double > const *)arg1)->size();
_swig_go_result = result;
return _swig_go_result;
}
long long _wrap_VecDouble_capacity_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
std::vector< double >::size_type result;
long long _swig_go_result;
arg1 = *(std::vector< double > **)&_swig_go_0;
result = ((std::vector< double > const *)arg1)->capacity();
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_VecDouble_reserve_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0, long long _swig_go_1) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
std::vector< double >::size_type arg2 ;
arg1 = *(std::vector< double > **)&_swig_go_0;
arg2 = (size_t)_swig_go_1;
(arg1)->reserve(arg2);
}
bool _wrap_VecDouble_isEmpty_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
bool result;
bool _swig_go_result;
arg1 = *(std::vector< double > **)&_swig_go_0;
result = (bool)((std::vector< double > const *)arg1)->empty();
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_VecDouble_clear_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
arg1 = *(std::vector< double > **)&_swig_go_0;
(arg1)->clear();
}
void _wrap_VecDouble_add_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0, double _swig_go_1) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
std::vector< double >::value_type *arg2 = 0 ;
arg1 = *(std::vector< double > **)&_swig_go_0;
arg2 = (std::vector< double >::value_type *)&_swig_go_1;
(arg1)->push_back((std::vector< double >::value_type const &)*arg2);
}
double _wrap_VecDouble_get_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0, intgo _swig_go_1) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
int arg2 ;
std::vector< double >::value_type *result = 0 ;
double _swig_go_result;
arg1 = *(std::vector< double > **)&_swig_go_0;
arg2 = (int)_swig_go_1;
try {
result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg__get(arg1,arg2);
}
catch(std::out_of_range &_e) {
_swig_gopanic((&_e)->what());
}
_swig_go_result = (double)*result;
return _swig_go_result;
}
void _wrap_VecDouble_set_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0, intgo _swig_go_1, double _swig_go_2) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
int arg2 ;
std::vector< double >::value_type *arg3 = 0 ;
arg1 = *(std::vector< double > **)&_swig_go_0;
arg2 = (int)_swig_go_1;
arg3 = (std::vector< double >::value_type *)&_swig_go_2;
try {
std_vector_Sl_double_Sg__set(arg1,arg2,(double const &)*arg3);
}
catch(std::out_of_range &_e) {
_swig_gopanic((&_e)->what());
}
}
void _wrap_delete_VecDouble_SatHelper_9d76377ed7889403(std::vector< double > *_swig_go_0) {
std::vector< double > *arg1 = (std::vector< double > *) 0 ;
arg1 = *(std::vector< double > **)&_swig_go_0;
delete arg1;
}
SatHelper::ConfigParser *_wrap_new_ConfigParser_SatHelper_9d76377ed7889403(_gostring_ _swig_go_0) {
std::string *arg1 = 0 ;
SatHelper::ConfigParser *result = 0 ;
SatHelper::ConfigParser *_swig_go_result;
std::string arg1_str(_swig_go_0.p, _swig_go_0.n);
arg1 = &arg1_str;
result = (SatHelper::ConfigParser *)new SatHelper::ConfigParser((std::string const &)*arg1);
*(SatHelper::ConfigParser **)&_swig_go_result = (SatHelper::ConfigParser *)result;
return _swig_go_result;
}
void _wrap_ConfigParser_set_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1, _gostring_ _swig_go_2) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
std::string *arg3 = 0 ;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
std::string arg3_str(_swig_go_2.p, _swig_go_2.n);
arg3 = &arg3_str;
(arg1)->set((std::string const &)*arg2,(std::string const &)*arg3);
}
bool _wrap_ConfigParser_hasKey_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
bool result;
bool _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = (bool)(arg1)->hasKey((std::string const &)*arg2);
_swig_go_result = result;
return _swig_go_result;
}
_gostring_ _wrap_ConfigParser_get_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
std::string result;
_gostring_ _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = (arg1)->get((std::string const &)*arg2);
_swig_go_result = Swig_AllocateString((&result)->data(), (&result)->length());
return _swig_go_result;
}
float _wrap_ConfigParser_getFloat_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
float result;
float _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = (float)(arg1)->getFloat((std::string const &)*arg2);
_swig_go_result = result;
return _swig_go_result;
}
intgo _wrap_ConfigParser_getInt_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
int result;
intgo _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = (int)(arg1)->getInt((std::string const &)*arg2);
_swig_go_result = result;
return _swig_go_result;
}
intgo _wrap_ConfigParser_getUInt_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
unsigned int result;
intgo _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = (unsigned int)(arg1)->getUInt((std::string const &)*arg2);
_swig_go_result = result;
return _swig_go_result;
}
bool _wrap_ConfigParser_getBool_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
bool result;
bool _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = (bool)(arg1)->getBool((std::string const &)*arg2);
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_ConfigParser_SaveFile_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
(arg1)->SaveFile();
}
bool _wrap_ConfigParser_LoadFile_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
bool result;
bool _swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
result = (bool)(arg1)->LoadFile();
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_delete_ConfigParser_SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
delete arg1;
}
SatHelper::ConfigParser *_wrap_ConfigParser___getitem___SatHelper_9d76377ed7889403(SatHelper::ConfigParser *_swig_go_0, _gostring_ _swig_go_1) {
SatHelper::ConfigParser *arg1 = (SatHelper::ConfigParser *) 0 ;
std::string *arg2 = 0 ;
SwigValueWrapper< SatHelper::ConfigParser > result;
SatHelper::ConfigParser *_swig_go_result;
arg1 = *(SatHelper::ConfigParser **)&_swig_go_0;
std::string arg2_str(_swig_go_1.p, _swig_go_1.n);
arg2 = &arg2_str;
result = SatHelper_ConfigParser___getitem__(arg1,(std::string const &)*arg2);
*(SatHelper::ConfigParser **)&_swig_go_result = new SatHelper::ConfigParser(result);
return _swig_go_result;
}
bool _wrap_Correlator_hardCorrelate_SatHelper_9d76377ed7889403(char _swig_go_0, char _swig_go_1) {
uint8_t arg1 ;
uint8_t arg2 ;
bool result;
bool _swig_go_result;
arg1 = (uint8_t)_swig_go_0;
arg2 = (uint8_t)_swig_go_1;
result = (bool)SatHelper::Correlator::hardCorrelate(arg1,arg2);
_swig_go_result = result;
return _swig_go_result;
}
intgo _wrap_Correlator_softCorrelate_SatHelper_9d76377ed7889403(char _swig_go_0, char _swig_go_1) {
uint8_t arg1 ;
uint8_t arg2 ;
uint32_t result;
intgo _swig_go_result;
arg1 = (uint8_t)_swig_go_0;
arg2 = (uint8_t)_swig_go_1;
result = (uint32_t)SatHelper::Correlator::softCorrelate(arg1,arg2);
_swig_go_result = result;
return _swig_go_result;
}
SatHelper::Correlator *_wrap_new_Correlator_SatHelper_9d76377ed7889403() {
SatHelper::Correlator *result = 0 ;
SatHelper::Correlator *_swig_go_result;
result = (SatHelper::Correlator *)new SatHelper::Correlator();
*(SatHelper::Correlator **)&_swig_go_result = (SatHelper::Correlator *)result;
return _swig_go_result;
}
void _wrap_delete_Correlator_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
delete arg1;
}
intgo _wrap_Correlator_getHighestCorrelation_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
uint32_t result;
intgo _swig_go_result;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
result = (uint32_t)(arg1)->getHighestCorrelation();
_swig_go_result = result;
return _swig_go_result;
}
intgo _wrap_Correlator_getHighestCorrelationPosition_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
uint32_t result;
intgo _swig_go_result;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
result = (uint32_t)(arg1)->getHighestCorrelationPosition();
_swig_go_result = result;
return _swig_go_result;
}
intgo _wrap_Correlator_getCorrelationWordNumber_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
uint32_t result;
intgo _swig_go_result;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
result = (uint32_t)(arg1)->getCorrelationWordNumber();
_swig_go_result = result;
return _swig_go_result;
}
void _wrap_Correlator_addWord__SWIG_0_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0, intgo _swig_go_1) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
uint32_t arg2 ;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
arg2 = (uint32_t)_swig_go_1;
(arg1)->addWord(arg2);
}
void _wrap_Correlator_addWord__SWIG_1_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0, long long _swig_go_1) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
uint64_t arg2 ;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
arg2 = (uint64_t)_swig_go_1;
(arg1)->addWord(arg2);
}
void _wrap_Correlator_correlate_SatHelper_9d76377ed7889403(SatHelper::Correlator *_swig_go_0, char *_swig_go_1, intgo _swig_go_2) {
SatHelper::Correlator *arg1 = (SatHelper::Correlator *) 0 ;
uint8_t *arg2 = (uint8_t *) 0 ;
uint32_t arg3 ;
arg1 = *(SatHelper::Correlator **)&_swig_go_0;
arg2 = *(uint8_t **)&_swig_go_1;
arg3 = (uint32_t)_swig_go_2;
(arg1)->correlate(arg2,arg3);
}
SatHelper::Viterbi27 *_wrap_new_Viterbi27__SWIG_0_SatHelper_9d76377ed7889403(intgo _swig_go_0, intgo _swig_go_1, intgo _swig_go_2) {
int arg1 ;
int arg2 ;
int arg3 ;
SatHelper::Viterbi27 *result = 0 ;
SatHelper::Viterbi27 *_swig_go_result;
arg1 = (int)_swig_go_0;
arg2 = (int)_swig_go_1;
arg3 = (int)_swig_go_2;
result = (SatHelper::Viterbi27 *)new SatHelper::Viterbi27(arg1,arg2,arg3);
*(SatHelper::Viterbi27 **)&_swig_go_result = (SatHelper::Viterbi27 *)result;
return _swig_go_result;
}
SatHelper::Viterbi27 *_wrap_new_Viterbi27__SWIG_1_SatHelper_9d76377ed7889403(intgo _swig_go_0) {
int arg1 ;
SatHelper::Viterbi27 *result = 0 ;
SatHelper::Viterbi27 *_swig_go_result;
arg1 = (int)_swig_go_0;
result = (SatHelper::Viterbi27 *)new SatHelper::Viterbi27(arg1);
*(SatHelper::Viterbi27 **)&_swig_go_result = (SatHelper::Viterbi27 *)result;
return _swig_go_result;
}
intgo _wrap_Viterbi27_DecodedSize_SatHelper_9d76377ed7889403(SatHelper::Viterbi27 *_swig_go_0) {
SatHelper::Viterbi27 *arg1 = (SatHelper::Viterbi27 *) 0 ;
int result;
intgo _swig_go_result;
arg1 = *(SatHelper::Viterbi27 **)&_swig_go_0;
result = (int)(arg1)->DecodedSize();
_swig_go_result = result;