class Fox::FXTableRange

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXTableRange(int argc, VALUE *argv, VALUE self) {
  FXTableRange *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (FXTableRange *)new FXTableRange();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Public Instance Methods

fm(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableRange_fm_get(int argc, VALUE *argv, VALUE self) {
  FXTableRange *arg1 = (FXTableRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTablePos *result = 0 ;
  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_FXTableRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableRange *","fm", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableRange * >(argp1);
  result = (FXTablePos *)& ((arg1)->fm);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXTablePos, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
fm=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableRange_fm_set(int argc, VALUE *argv, VALUE self) {
  FXTableRange *arg1 = (FXTableRange *) 0 ;
  FXTablePos *arg2 = (FXTablePos *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_FXTableRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableRange *","fm", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableRange * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTablePos, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTablePos *","fm", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTablePos * >(argp2);
  if (arg1) (arg1)->fm = *arg2;
  return Qnil;
fail:
  return Qnil;
}
to(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableRange_to_get(int argc, VALUE *argv, VALUE self) {
  FXTableRange *arg1 = (FXTableRange *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXTablePos *result = 0 ;
  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_FXTableRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableRange *","to", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableRange * >(argp1);
  result = (FXTablePos *)& ((arg1)->to);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXTablePos, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
to=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXTableRange_to_set(int argc, VALUE *argv, VALUE self) {
  FXTableRange *arg1 = (FXTableRange *) 0 ;
  FXTablePos *arg2 = (FXTablePos *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_FXTableRange, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTableRange *","to", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTableRange * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXTablePos, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXTablePos *","to", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXTablePos * >(argp2);
  if (arg1) (arg1)->to = *arg2;
  return Qnil;
fail:
  return Qnil;
}