Class: Ctp::CThostFtdcInputQuoteField

Inherits:
Object
  • Object
show all
Defined in:
ext/ctp/ctp.cxx

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



83455
83456
83457
83458
83459
83460
83461
83462
83463
83464
83465
83466
83467
83468
# File 'ext/ctp/ctp.cxx', line 83455

SWIGINTERN VALUE
_wrap_new_CThostFtdcInputQuoteField(int argc, VALUE *argv, VALUE self) {
  const char *classname SWIGUNUSED = "Ctp::CThostFtdcInputQuoteField";
  CThostFtdcInputQuoteField *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (CThostFtdcInputQuoteField *)new CThostFtdcInputQuoteField();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Instance Method Details

#AskHedgeFlag(*args) ⇒ Object



83183
83184
83185
83186
83187
83188
83189
83190
83191
83192
83193
83194
83195
83196
83197
83198
83199
83200
83201
83202
83203
83204
# File 'ext/ctp/ctp.cxx', line 83183

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

#AskHedgeFlag=(*args) ⇒ Object



83154
83155
83156
83157
83158
83159
83160
83161
83162
83163
83164
83165
83166
83167
83168
83169
83170
83171
83172
83173
83174
83175
83176
83177
83178
83179
83180
# File 'ext/ctp/ctp.cxx', line 83154

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskHedgeFlag_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcHedgeFlagType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskHedgeFlag", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_char(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcHedgeFlagType","AskHedgeFlag", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcHedgeFlagType >(val2);
  if (arg1) (arg1)->AskHedgeFlag = arg2;
  return Qnil;
fail:
  return Qnil;
}

#AskOffsetFlag(*args) ⇒ Object



83077
83078
83079
83080
83081
83082
83083
83084
83085
83086
83087
83088
83089
83090
83091
83092
83093
83094
83095
83096
83097
83098
# File 'ext/ctp/ctp.cxx', line 83077

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

#AskOffsetFlag=(*args) ⇒ Object



83048
83049
83050
83051
83052
83053
83054
83055
83056
83057
83058
83059
83060
83061
83062
83063
83064
83065
83066
83067
83068
83069
83070
83071
83072
83073
83074
# File 'ext/ctp/ctp.cxx', line 83048

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskOffsetFlag_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcOffsetFlagType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskOffsetFlag", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_char(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcOffsetFlagType","AskOffsetFlag", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcOffsetFlagType >(val2);
  if (arg1) (arg1)->AskOffsetFlag = arg2;
  return Qnil;
fail:
  return Qnil;
}

#AskOrderRef(*args) ⇒ Object



83290
83291
83292
83293
83294
83295
83296
83297
83298
83299
83300
83301
83302
83303
83304
83305
83306
83307
83308
83309
83310
83311
83312
83313
83314
83315
83316
83317
# File 'ext/ctp/ctp.cxx', line 83290

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskOrderRef_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskOrderRef", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->AskOrderRef);
  {
    size_t size = SWIG_strnlen(result, 13);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#AskOrderRef=(*args) ⇒ Object



83260
83261
83262
83263
83264
83265
83266
83267
83268
83269
83270
83271
83272
83273
83274
83275
83276
83277
83278
83279
83280
83281
83282
83283
83284
83285
83286
83287
# File 'ext/ctp/ctp.cxx', line 83260

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskOrderRef_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[13] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskOrderRef", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 13);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","AskOrderRef", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->AskOrderRef,arg2,13*sizeof(char));
  else memset(arg1->AskOrderRef,0,13*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#AskPrice(*args) ⇒ Object



82752
82753
82754
82755
82756
82757
82758
82759
82760
82761
82762
82763
82764
82765
82766
82767
82768
82769
82770
82771
82772
82773
# File 'ext/ctp/ctp.cxx', line 82752

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskPrice_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcPriceType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskPrice", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (TThostFtdcPriceType) ((arg1)->AskPrice);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

#AskPrice=(*args) ⇒ Object



82723
82724
82725
82726
82727
82728
82729
82730
82731
82732
82733
82734
82735
82736
82737
82738
82739
82740
82741
82742
82743
82744
82745
82746
82747
82748
82749
# File 'ext/ctp/ctp.cxx', line 82723

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskPrice_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcPriceType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskPrice", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPriceType","AskPrice", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcPriceType >(val2);
  if (arg1) (arg1)->AskPrice = arg2;
  return Qnil;
fail:
  return Qnil;
}

#AskVolume(*args) ⇒ Object



82858
82859
82860
82861
82862
82863
82864
82865
82866
82867
82868
82869
82870
82871
82872
82873
82874
82875
82876
82877
82878
82879
# File 'ext/ctp/ctp.cxx', line 82858

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskVolume_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcVolumeType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskVolume", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (TThostFtdcVolumeType) ((arg1)->AskVolume);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#AskVolume=(*args) ⇒ Object



82829
82830
82831
82832
82833
82834
82835
82836
82837
82838
82839
82840
82841
82842
82843
82844
82845
82846
82847
82848
82849
82850
82851
82852
82853
82854
82855
# File 'ext/ctp/ctp.cxx', line 82829

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_AskVolume_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcVolumeType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","AskVolume", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcVolumeType","AskVolume", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcVolumeType >(val2);
  if (arg1) (arg1)->AskVolume = arg2;
  return Qnil;
fail:
  return Qnil;
}

#BidHedgeFlag(*args) ⇒ Object



83236
83237
83238
83239
83240
83241
83242
83243
83244
83245
83246
83247
83248
83249
83250
83251
83252
83253
83254
83255
83256
83257
# File 'ext/ctp/ctp.cxx', line 83236

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

#BidHedgeFlag=(*args) ⇒ Object



83207
83208
83209
83210
83211
83212
83213
83214
83215
83216
83217
83218
83219
83220
83221
83222
83223
83224
83225
83226
83227
83228
83229
83230
83231
83232
83233
# File 'ext/ctp/ctp.cxx', line 83207

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidHedgeFlag_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcHedgeFlagType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidHedgeFlag", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_char(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcHedgeFlagType","BidHedgeFlag", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcHedgeFlagType >(val2);
  if (arg1) (arg1)->BidHedgeFlag = arg2;
  return Qnil;
fail:
  return Qnil;
}

#BidOffsetFlag(*args) ⇒ Object



83130
83131
83132
83133
83134
83135
83136
83137
83138
83139
83140
83141
83142
83143
83144
83145
83146
83147
83148
83149
83150
83151
# File 'ext/ctp/ctp.cxx', line 83130

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

#BidOffsetFlag=(*args) ⇒ Object



83101
83102
83103
83104
83105
83106
83107
83108
83109
83110
83111
83112
83113
83114
83115
83116
83117
83118
83119
83120
83121
83122
83123
83124
83125
83126
83127
# File 'ext/ctp/ctp.cxx', line 83101

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidOffsetFlag_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcOffsetFlagType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidOffsetFlag", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_char(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcOffsetFlagType","BidOffsetFlag", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcOffsetFlagType >(val2);
  if (arg1) (arg1)->BidOffsetFlag = arg2;
  return Qnil;
fail:
  return Qnil;
}

#BidOrderRef(*args) ⇒ Object



83350
83351
83352
83353
83354
83355
83356
83357
83358
83359
83360
83361
83362
83363
83364
83365
83366
83367
83368
83369
83370
83371
83372
83373
83374
83375
83376
83377
# File 'ext/ctp/ctp.cxx', line 83350

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidOrderRef_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidOrderRef", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->BidOrderRef);
  {
    size_t size = SWIG_strnlen(result, 13);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#BidOrderRef=(*args) ⇒ Object



83320
83321
83322
83323
83324
83325
83326
83327
83328
83329
83330
83331
83332
83333
83334
83335
83336
83337
83338
83339
83340
83341
83342
83343
83344
83345
83346
83347
# File 'ext/ctp/ctp.cxx', line 83320

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidOrderRef_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[13] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidOrderRef", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 13);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","BidOrderRef", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->BidOrderRef,arg2,13*sizeof(char));
  else memset(arg1->BidOrderRef,0,13*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#BidPrice(*args) ⇒ Object



82805
82806
82807
82808
82809
82810
82811
82812
82813
82814
82815
82816
82817
82818
82819
82820
82821
82822
82823
82824
82825
82826
# File 'ext/ctp/ctp.cxx', line 82805

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidPrice_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcPriceType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidPrice", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (TThostFtdcPriceType) ((arg1)->BidPrice);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

#BidPrice=(*args) ⇒ Object



82776
82777
82778
82779
82780
82781
82782
82783
82784
82785
82786
82787
82788
82789
82790
82791
82792
82793
82794
82795
82796
82797
82798
82799
82800
82801
82802
# File 'ext/ctp/ctp.cxx', line 82776

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidPrice_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcPriceType arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidPrice", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPriceType","BidPrice", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcPriceType >(val2);
  if (arg1) (arg1)->BidPrice = arg2;
  return Qnil;
fail:
  return Qnil;
}

#BidVolume(*args) ⇒ Object



82911
82912
82913
82914
82915
82916
82917
82918
82919
82920
82921
82922
82923
82924
82925
82926
82927
82928
82929
82930
82931
82932
# File 'ext/ctp/ctp.cxx', line 82911

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidVolume_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcVolumeType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidVolume", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (TThostFtdcVolumeType) ((arg1)->BidVolume);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#BidVolume=(*args) ⇒ Object



82882
82883
82884
82885
82886
82887
82888
82889
82890
82891
82892
82893
82894
82895
82896
82897
82898
82899
82900
82901
82902
82903
82904
82905
82906
82907
82908
# File 'ext/ctp/ctp.cxx', line 82882

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BidVolume_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcVolumeType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BidVolume", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcVolumeType","BidVolume", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcVolumeType >(val2);
  if (arg1) (arg1)->BidVolume = arg2;
  return Qnil;
fail:
  return Qnil;
}

#BrokerID(*args) ⇒ Object



82453
82454
82455
82456
82457
82458
82459
82460
82461
82462
82463
82464
82465
82466
82467
82468
82469
82470
82471
82472
82473
82474
82475
82476
82477
82478
82479
82480
# File 'ext/ctp/ctp.cxx', line 82453

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BrokerID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->BrokerID);
  {
    size_t size = SWIG_strnlen(result, 11);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#BrokerID=(*args) ⇒ Object



82423
82424
82425
82426
82427
82428
82429
82430
82431
82432
82433
82434
82435
82436
82437
82438
82439
82440
82441
82442
82443
82444
82445
82446
82447
82448
82449
82450
# File 'ext/ctp/ctp.cxx', line 82423

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[11] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BrokerID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 11);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","BrokerID", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->BrokerID,arg2,11*sizeof(char));
  else memset(arg1->BrokerID,0,11*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#BusinessUnit(*args) ⇒ Object



83018
83019
83020
83021
83022
83023
83024
83025
83026
83027
83028
83029
83030
83031
83032
83033
83034
83035
83036
83037
83038
83039
83040
83041
83042
83043
83044
83045
# File 'ext/ctp/ctp.cxx', line 83018

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BusinessUnit_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BusinessUnit", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->BusinessUnit);
  {
    size_t size = SWIG_strnlen(result, 21);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#BusinessUnit=(*args) ⇒ Object



82988
82989
82990
82991
82992
82993
82994
82995
82996
82997
82998
82999
83000
83001
83002
83003
83004
83005
83006
83007
83008
83009
83010
83011
83012
83013
83014
83015
# File 'ext/ctp/ctp.cxx', line 82988

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_BusinessUnit_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[21] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","BusinessUnit", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 21);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","BusinessUnit", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->BusinessUnit,arg2,21*sizeof(char));
  else memset(arg1->BusinessUnit,0,21*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#ForQuoteSysID(*args) ⇒ Object



83410
83411
83412
83413
83414
83415
83416
83417
83418
83419
83420
83421
83422
83423
83424
83425
83426
83427
83428
83429
83430
83431
83432
83433
83434
83435
83436
83437
# File 'ext/ctp/ctp.cxx', line 83410

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_ForQuoteSysID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","ForQuoteSysID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->ForQuoteSysID);
  {
    size_t size = SWIG_strnlen(result, 21);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#ForQuoteSysID=(*args) ⇒ Object



83380
83381
83382
83383
83384
83385
83386
83387
83388
83389
83390
83391
83392
83393
83394
83395
83396
83397
83398
83399
83400
83401
83402
83403
83404
83405
83406
83407
# File 'ext/ctp/ctp.cxx', line 83380

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_ForQuoteSysID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[21] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","ForQuoteSysID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 21);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","ForQuoteSysID", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->ForQuoteSysID,arg2,21*sizeof(char));
  else memset(arg1->ForQuoteSysID,0,21*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#InstrumentID(*args) ⇒ Object



82573
82574
82575
82576
82577
82578
82579
82580
82581
82582
82583
82584
82585
82586
82587
82588
82589
82590
82591
82592
82593
82594
82595
82596
82597
82598
82599
82600
# File 'ext/ctp/ctp.cxx', line 82573

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_InstrumentID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","InstrumentID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->InstrumentID);
  {
    size_t size = SWIG_strnlen(result, 31);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#InstrumentID=(*args) ⇒ Object



82543
82544
82545
82546
82547
82548
82549
82550
82551
82552
82553
82554
82555
82556
82557
82558
82559
82560
82561
82562
82563
82564
82565
82566
82567
82568
82569
82570
# File 'ext/ctp/ctp.cxx', line 82543

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_InstrumentID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[31] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","InstrumentID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 31);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [31]","InstrumentID", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->InstrumentID,arg2,31*sizeof(char));
  else memset(arg1->InstrumentID,0,31*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#InvestorID(*args) ⇒ Object



82513
82514
82515
82516
82517
82518
82519
82520
82521
82522
82523
82524
82525
82526
82527
82528
82529
82530
82531
82532
82533
82534
82535
82536
82537
82538
82539
82540
# File 'ext/ctp/ctp.cxx', line 82513

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_InvestorID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","InvestorID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->InvestorID);
  {
    size_t size = SWIG_strnlen(result, 13);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#InvestorID=(*args) ⇒ Object



82483
82484
82485
82486
82487
82488
82489
82490
82491
82492
82493
82494
82495
82496
82497
82498
82499
82500
82501
82502
82503
82504
82505
82506
82507
82508
82509
82510
# File 'ext/ctp/ctp.cxx', line 82483

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_InvestorID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[13] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","InvestorID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 13);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","InvestorID", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->InvestorID,arg2,13*sizeof(char));
  else memset(arg1->InvestorID,0,13*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#QuoteRef(*args) ⇒ Object



82633
82634
82635
82636
82637
82638
82639
82640
82641
82642
82643
82644
82645
82646
82647
82648
82649
82650
82651
82652
82653
82654
82655
82656
82657
82658
82659
82660
# File 'ext/ctp/ctp.cxx', line 82633

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_QuoteRef_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","QuoteRef", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->QuoteRef);
  {
    size_t size = SWIG_strnlen(result, 13);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#QuoteRef=(*args) ⇒ Object



82603
82604
82605
82606
82607
82608
82609
82610
82611
82612
82613
82614
82615
82616
82617
82618
82619
82620
82621
82622
82623
82624
82625
82626
82627
82628
82629
82630
# File 'ext/ctp/ctp.cxx', line 82603

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_QuoteRef_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[13] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","QuoteRef", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 13);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","QuoteRef", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->QuoteRef,arg2,13*sizeof(char));
  else memset(arg1->QuoteRef,0,13*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#RequestID(*args) ⇒ Object



82964
82965
82966
82967
82968
82969
82970
82971
82972
82973
82974
82975
82976
82977
82978
82979
82980
82981
82982
82983
82984
82985
# File 'ext/ctp/ctp.cxx', line 82964

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_RequestID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcRequestIDType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","RequestID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#RequestID=(*args) ⇒ Object



82935
82936
82937
82938
82939
82940
82941
82942
82943
82944
82945
82946
82947
82948
82949
82950
82951
82952
82953
82954
82955
82956
82957
82958
82959
82960
82961
# File 'ext/ctp/ctp.cxx', line 82935

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_RequestID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  TThostFtdcRequestIDType 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","RequestID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRequestIDType","RequestID", 2, argv[0] ));
  } 
  arg2 = static_cast< TThostFtdcRequestIDType >(val2);
  if (arg1) (arg1)->RequestID = arg2;
  return Qnil;
fail:
  return Qnil;
}

#UserID(*args) ⇒ Object



82693
82694
82695
82696
82697
82698
82699
82700
82701
82702
82703
82704
82705
82706
82707
82708
82709
82710
82711
82712
82713
82714
82715
82716
82717
82718
82719
82720
# File 'ext/ctp/ctp.cxx', line 82693

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_UserID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","UserID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  result = (char *) ((arg1)->UserID);
  {
    size_t size = SWIG_strnlen(result, 16);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}

#UserID=(*args) ⇒ Object



82663
82664
82665
82666
82667
82668
82669
82670
82671
82672
82673
82674
82675
82676
82677
82678
82679
82680
82681
82682
82683
82684
82685
82686
82687
82688
82689
82690
# File 'ext/ctp/ctp.cxx', line 82663

SWIGINTERN VALUE
_wrap_CThostFtdcInputQuoteField_UserID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcInputQuoteField *arg1 = (CThostFtdcInputQuoteField *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[16] ;
  int res2 ;
  
  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_CThostFtdcInputQuoteField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInputQuoteField *","UserID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcInputQuoteField * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, 16);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [16]","UserID", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->UserID,arg2,16*sizeof(char));
  else memset(arg1->UserID,0,16*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}