Method: Ctp::CThostFtdcNotifyQueryAccountField#IdCardType

Defined in:
ext/ctp/ctp.cxx

#IdCardType(*args) ⇒ Object



172323
172324
172325
172326
172327
172328
172329
172330
172331
172332
172333
172334
172335
172336
172337
172338
172339
172340
172341
172342
172343
172344
# File 'ext/ctp/ctp.cxx', line 172323

SWIGINTERN VALUE
_wrap_CThostFtdcNotifyQueryAccountField_IdCardType_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcNotifyQueryAccountField *arg1 = (CThostFtdcNotifyQueryAccountField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcIdCardTypeType 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_CThostFtdcNotifyQueryAccountField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyQueryAccountField *","IdCardType", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcNotifyQueryAccountField * >(argp1);
  result = (TThostFtdcIdCardTypeType) ((arg1)->IdCardType);
  vresult = SWIG_From_char(static_cast< char >(result));
  return vresult;
fail:
  return Qnil;
}