Class: GPS_PVT::GPS::SolverOptions_GLONASS

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_GLONASS class

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 24148

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

Instance Method Details

#exclude(*args) ⇒ Object



24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 24013

SWIGINTERN VALUE
_wrap_SolverOptions_GLONASS_exclude(int argc, VALUE *argv, VALUE self) {
  GLONASS_SolverOptions< double > *arg1 = (GLONASS_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_GLONASS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLONASS_SolverOptions< double > *","exclude", 1, self )); 
  }
  arg1 = reinterpret_cast< GLONASS_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;
}

#excluded(*args) ⇒ Object



24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 24093

SWIGINTERN VALUE
_wrap_SolverOptions_GLONASS_excluded(int argc, VALUE *argv, VALUE self) {
  GLONASS_SolverOptions< double > *arg1 = (GLONASS_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_GLONASS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLONASS_SolverOptions< double > const *","excluded", 1, self )); 
  }
  arg1 = reinterpret_cast< GLONASS_SolverOptions< double > * >(argp1);
  result = ((GLONASS_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



24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 24053

SWIGINTERN VALUE
_wrap_SolverOptions_GLONASS_include(int argc, VALUE *argv, VALUE self) {
  GLONASS_SolverOptions< double > *arg1 = (GLONASS_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_GLONASS_SolverOptionsT_double_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GLONASS_SolverOptions< double > *","include", 1, self )); 
  }
  arg1 = reinterpret_cast< GLONASS_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;
}