Class: GPS_PVT::GPS::SolverOptions_SBAS
- Inherits:
-
((swig_class *) SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_GPS_SolverOptions_CommonT_double_t->clientdata)->klass
- GPS_PVT::GPS::SolverOptions_SBAS
- Defined in:
- ext/gps_pvt/GPS/GPS_wrap.cxx,
ext/gps_pvt/GPS/GPS_wrap.cxx
Overview
Proxy of C++ GPS_PVT::GPS::SolverOptions_SBAS class
Instance Method Summary collapse
- #exclude(*args) ⇒ Object
- #excluded(*args) ⇒ Object
- #include(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
Constructor Details
#initialize(*args) ⇒ Object
19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 |
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 19637
SWIGINTERN VALUE
_wrap_new_SolverOptions_SBAS(int argc, VALUE *argv, VALUE self) {
SBAS_SolverOptions< double > *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (SBAS_SolverOptions< double > *)new SBAS_SolverOptions< double >();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#exclude(*args) ⇒ Object
19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 |
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 19502
SWIGINTERN VALUE
_wrap_SolverOptions_SBAS_exclude(int argc, VALUE *argv, VALUE self) {
SBAS_SolverOptions< double > *arg1 = (SBAS_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_SBAS_SolverOptionsT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SBAS_SolverOptions< double > *","exclude", 1, self ));
}
arg1 = reinterpret_cast< SBAS_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
19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 |
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 19582
SWIGINTERN VALUE
_wrap_SolverOptions_SBAS_excluded(int argc, VALUE *argv, VALUE self) {
SBAS_SolverOptions< double > *arg1 = (SBAS_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_SBAS_SolverOptionsT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SBAS_SolverOptions< double > const *","excluded", 1, self ));
}
arg1 = reinterpret_cast< SBAS_SolverOptions< double > * >(argp1);
result = ((SBAS_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
19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 |
# File 'ext/gps_pvt/GPS/GPS_wrap.cxx', line 19542
SWIGINTERN VALUE
_wrap_SolverOptions_SBAS_include(int argc, VALUE *argv, VALUE self) {
SBAS_SolverOptions< double > *arg1 = (SBAS_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_SBAS_SolverOptionsT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SBAS_SolverOptions< double > *","include", 1, self ));
}
arg1 = reinterpret_cast< SBAS_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;
}
|