class Openwsman::EnumerateInfo

Public Instance Methods

encoding(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_encoding(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char *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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","encoding", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (char *)__WsEnumerateInfo_encoding(arg1);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}
epr_to(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_epr_to(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char *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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","epr_to", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (char *)__WsEnumerateInfo_epr_to(arg1);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}
epr_uri(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_epr_uri(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char *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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","epr_uri", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (char *)__WsEnumerateInfo_epr_uri(arg1);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}
filter(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_filter(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  filter_t *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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","filter", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (filter_t *)__WsEnumerateInfo_filter(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_filter_t, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
flags(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_flags(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","flags", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (int)__WsEnumerateInfo_flags(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}
index(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_index(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","index", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (int)__WsEnumerateInfo_index(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}
index=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_indexe___(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","set_index", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","set_index", 2, argv[0] ));
  } 
  arg2 = (int)(val2);
  __WsEnumerateInfo_set_index(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
max_items(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_max_items(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","max_items", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (int)__WsEnumerateInfo_max_items(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}
max_items=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_max_itemse___(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","set_max_items", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","set_max_items", 2, argv[0] ));
  } 
  arg2 = (int)(val2);
  __WsEnumerateInfo_set_max_items(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
pull_result(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_pull_result(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  WsXmlDocH 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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","pull_result", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (WsXmlDocH)__WsEnumerateInfo_pull_result(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
pull_result=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_pull_resulte___(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  WsXmlDocH arg2 = (WsXmlDocH) 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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","set_pull_result", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__WsXmlDoc, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "WsXmlDocH","set_pull_result", 2, argv[0] )); 
  }
  arg2 = (WsXmlDocH)(argp2);
  __WsEnumerateInfo_set_pull_result(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
total_items(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_total_items(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","total_items", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  result = (int)__WsEnumerateInfo_total_items(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}
total_items=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_EnumerateInfo_total_itemse___(int argc, VALUE *argv, VALUE self) {
  struct __WsEnumerateInfo *arg1 = (struct __WsEnumerateInfo *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  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___WsEnumerateInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __WsEnumerateInfo *","set_total_items", 1, self )); 
  }
  arg1 = (struct __WsEnumerateInfo *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","set_total_items", 2, argv[0] ));
  } 
  arg2 = (int)(val2);
  __WsEnumerateInfo_set_total_items(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}