Class: GPS_PVT::GPS::SolverOptions

Inherits:
((swig_class *) SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t->clientdata)->klass
  • Object
show all
Defined in:
ext/gps_pvt/GPS/GPS_wrap.cxx,
ext/gps_pvt/GPS/GPS_wrap.cxx

Overview

Proxy of C++ GPS_PVT::GPS::SolverOptions class

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object

call-seq:

SolverOptions.new

Class constructor.



16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 16181

SWIGINTERN VALUE
_wrap_new_SolverOptions(int argc, VALUE *argv, VALUE self) {
  GPS_SolverOptions< double > *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (GPS_SolverOptions< double > *)new GPS_SolverOptions< double >();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Instance Method Details

#exclude(*args) ⇒ Object

call-seq:

exclude(int const & prn)

An instance method.



15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 15970

SWIGINTERN VALUE
_wrap_SolverOptions_exclude(int argc, VALUE *argv, VALUE self) {
  GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
  int *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > *","exclude", 1, self )); 
  }
  arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","exclude", 2, argv[0] ));
  } 
  temp2 = static_cast< int >(val2);
  arg2 = &temp2;
  (arg1)->exclude((int const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}

#exclude_L2C=(*args) ⇒ Object

call-seq:

exclude_L2C=(bool const & b) -> bool

An instance method.



16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 16123

SWIGINTERN VALUE
_wrap_SolverOptions_exclude_L2Ce___(int argc, VALUE *argv, VALUE self) {
  GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
  bool *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool temp2 ;
  bool val2 ;
  int ecode2 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > *","set_exclude_L2C", 1, self )); 
  }
  arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","set_exclude_L2C", 2, argv[0] ));
  } 
  temp2 = static_cast< bool >(val2);
  arg2 = &temp2;
  result = (bool)(arg1)->set_exclude_L2C((bool const &)*arg2);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#exclude_L2C?(*args) ⇒ Boolean

call-seq:

exclude_L2C? -> bool

An instance method.

Returns:

  • (Boolean)


16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 16090

SWIGINTERN VALUE
_wrap_SolverOptions_exclude_L2Cq___(int argc, VALUE *argv, VALUE self) {
  GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > *","get_exclude_L2C", 1, self )); 
  }
  arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
  result = (bool)(arg1)->get_exclude_L2C();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#excluded(*args) ⇒ Object

call-seq:

excluded -> std::vector< int >

An instance method.



16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 16050

SWIGINTERN VALUE
_wrap_SolverOptions_excluded(int argc, VALUE *argv, VALUE self) {
  GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< int > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > const *","excluded", 1, self )); 
  }
  arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
  result = ((GPS_SolverOptions< double > const *)arg1)->excluded();
  {
    vresult = rb_ary_new();
    
    for(std::vector< int >::const_iterator it((&result)->begin()), it_end((&result)->end());
      it != it_end; ++it){
      vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_int  (*it));
    }
  }
  return vresult;
fail:
  return Qnil;
}

#include(*args) ⇒ Object

call-seq:

include(int const & prn)

An instance method.



16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 16010

SWIGINTERN VALUE
_wrap_SolverOptions_include(int argc, VALUE *argv, VALUE self) {
  GPS_SolverOptions< double > *arg1 = (GPS_SolverOptions< double > *) 0 ;
  int *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int temp2 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GPS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GPS_SolverOptions< double > *","include", 1, self )); 
  }
  arg1 = reinterpret_cast< GPS_SolverOptions< double > * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","include", 2, argv[0] ));
  } 
  temp2 = static_cast< int >(val2);
  arg2 = &temp2;
  (arg1)->include((int const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}