Method: Ctp::CThostFtdcAccountregisterField#BankAccType

Defined in:
ext/ctp/ctp.cxx

#BankAccType(*args) ⇒ Object



181246
181247
181248
181249
181250
181251
181252
181253
181254
181255
181256
181257
181258
181259
181260
181261
181262
181263
181264
181265
181266
181267
# File 'ext/ctp/ctp.cxx', line 181246

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