Class: Ctp::CThostFtdcExchangeQuoteActionField

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



91771
91772
91773
91774
91775
91776
91777
91778
91779
91780
91781
91782
91783
91784
# File 'ext/ctp/ctp.cxx', line 91771

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

Instance Method Details

#ActionDate(*args) ⇒ Object



91140
91141
91142
91143
91144
91145
91146
91147
91148
91149
91150
91151
91152
91153
91154
91155
91156
91157
91158
91159
91160
91161
91162
91163
91164
91165
91166
91167
# File 'ext/ctp/ctp.cxx', line 91140

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

#ActionDate=(*args) ⇒ Object



91110
91111
91112
91113
91114
91115
91116
91117
91118
91119
91120
91121
91122
91123
91124
91125
91126
91127
91128
91129
91130
91131
91132
91133
91134
91135
91136
91137
# File 'ext/ctp/ctp.cxx', line 91110

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

#ActionFlag(*args) ⇒ Object



91086
91087
91088
91089
91090
91091
91092
91093
91094
91095
91096
91097
91098
91099
91100
91101
91102
91103
91104
91105
91106
91107
# File 'ext/ctp/ctp.cxx', line 91086

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

#ActionFlag=(*args) ⇒ Object



91057
91058
91059
91060
91061
91062
91063
91064
91065
91066
91067
91068
91069
91070
91071
91072
91073
91074
91075
91076
91077
91078
91079
91080
91081
91082
91083
# File 'ext/ctp/ctp.cxx', line 91057

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

#ActionLocalID(*args) ⇒ Object



91433
91434
91435
91436
91437
91438
91439
91440
91441
91442
91443
91444
91445
91446
91447
91448
91449
91450
91451
91452
91453
91454
91455
91456
91457
91458
91459
91460
# File 'ext/ctp/ctp.cxx', line 91433

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

#ActionLocalID=(*args) ⇒ Object



91403
91404
91405
91406
91407
91408
91409
91410
91411
91412
91413
91414
91415
91416
91417
91418
91419
91420
91421
91422
91423
91424
91425
91426
91427
91428
91429
91430
# File 'ext/ctp/ctp.cxx', line 91403

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

#ActionTime(*args) ⇒ Object



91200
91201
91202
91203
91204
91205
91206
91207
91208
91209
91210
91211
91212
91213
91214
91215
91216
91217
91218
91219
91220
91221
91222
91223
91224
91225
91226
91227
# File 'ext/ctp/ctp.cxx', line 91200

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

#ActionTime=(*args) ⇒ Object



91170
91171
91172
91173
91174
91175
91176
91177
91178
91179
91180
91181
91182
91183
91184
91185
91186
91187
91188
91189
91190
91191
91192
91193
91194
91195
91196
91197
# File 'ext/ctp/ctp.cxx', line 91170

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

#BusinessUnit(*args) ⇒ Object



91613
91614
91615
91616
91617
91618
91619
91620
91621
91622
91623
91624
91625
91626
91627
91628
91629
91630
91631
91632
91633
91634
91635
91636
91637
91638
91639
91640
# File 'ext/ctp/ctp.cxx', line 91613

SWIGINTERN VALUE
_wrap_CThostFtdcExchangeQuoteActionField_BusinessUnit_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcExchangeQuoteActionField *arg1 = (CThostFtdcExchangeQuoteActionField *) 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_CThostFtdcExchangeQuoteActionField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcExchangeQuoteActionField *","BusinessUnit", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcExchangeQuoteActionField * >(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



91583
91584
91585
91586
91587
91588
91589
91590
91591
91592
91593
91594
91595
91596
91597
91598
91599
91600
91601
91602
91603
91604
91605
91606
91607
91608
91609
91610
# File 'ext/ctp/ctp.cxx', line 91583

SWIGINTERN VALUE
_wrap_CThostFtdcExchangeQuoteActionField_BusinessUnit_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcExchangeQuoteActionField *arg1 = (CThostFtdcExchangeQuoteActionField *) 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_CThostFtdcExchangeQuoteActionField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcExchangeQuoteActionField *","BusinessUnit", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcExchangeQuoteActionField * >(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;
}

#ClientID(*args) ⇒ Object



91553
91554
91555
91556
91557
91558
91559
91560
91561
91562
91563
91564
91565
91566
91567
91568
91569
91570
91571
91572
91573
91574
91575
91576
91577
91578
91579
91580
# File 'ext/ctp/ctp.cxx', line 91553

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

#ClientID=(*args) ⇒ Object



91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
91535
91536
91537
91538
91539
91540
91541
91542
91543
91544
91545
91546
91547
91548
91549
91550
# File 'ext/ctp/ctp.cxx', line 91523

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

#ExchangeID(*args) ⇒ Object



90967
90968
90969
90970
90971
90972
90973
90974
90975
90976
90977
90978
90979
90980
90981
90982
90983
90984
90985
90986
90987
90988
90989
90990
90991
90992
90993
90994
# File 'ext/ctp/ctp.cxx', line 90967

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

#ExchangeID=(*args) ⇒ Object



90937
90938
90939
90940
90941
90942
90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
90956
90957
90958
90959
90960
90961
90962
90963
90964
# File 'ext/ctp/ctp.cxx', line 90937

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

#InstallID(*args) ⇒ Object



91319
91320
91321
91322
91323
91324
91325
91326
91327
91328
91329
91330
91331
91332
91333
91334
91335
91336
91337
91338
91339
91340
# File 'ext/ctp/ctp.cxx', line 91319

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

#InstallID=(*args) ⇒ Object



91290
91291
91292
91293
91294
91295
91296
91297
91298
91299
91300
91301
91302
91303
91304
91305
91306
91307
91308
91309
91310
91311
91312
91313
91314
91315
91316
# File 'ext/ctp/ctp.cxx', line 91290

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

#OrderActionStatus(*args) ⇒ Object



91672
91673
91674
91675
91676
91677
91678
91679
91680
91681
91682
91683
91684
91685
91686
91687
91688
91689
91690
91691
91692
91693
# File 'ext/ctp/ctp.cxx', line 91672

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

#OrderActionStatus=(*args) ⇒ Object



91643
91644
91645
91646
91647
91648
91649
91650
91651
91652
91653
91654
91655
91656
91657
91658
91659
91660
91661
91662
91663
91664
91665
91666
91667
91668
91669
# File 'ext/ctp/ctp.cxx', line 91643

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

#ParticipantID(*args) ⇒ Object



91493
91494
91495
91496
91497
91498
91499
91500
91501
91502
91503
91504
91505
91506
91507
91508
91509
91510
91511
91512
91513
91514
91515
91516
91517
91518
91519
91520
# File 'ext/ctp/ctp.cxx', line 91493

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

#ParticipantID=(*args) ⇒ Object



91463
91464
91465
91466
91467
91468
91469
91470
91471
91472
91473
91474
91475
91476
91477
91478
91479
91480
91481
91482
91483
91484
91485
91486
91487
91488
91489
91490
# File 'ext/ctp/ctp.cxx', line 91463

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

#QuoteLocalID(*args) ⇒ Object



91373
91374
91375
91376
91377
91378
91379
91380
91381
91382
91383
91384
91385
91386
91387
91388
91389
91390
91391
91392
91393
91394
91395
91396
91397
91398
91399
91400
# File 'ext/ctp/ctp.cxx', line 91373

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

#QuoteLocalID=(*args) ⇒ Object



91343
91344
91345
91346
91347
91348
91349
91350
91351
91352
91353
91354
91355
91356
91357
91358
91359
91360
91361
91362
91363
91364
91365
91366
91367
91368
91369
91370
# File 'ext/ctp/ctp.cxx', line 91343

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

#QuoteSysID(*args) ⇒ Object



91027
91028
91029
91030
91031
91032
91033
91034
91035
91036
91037
91038
91039
91040
91041
91042
91043
91044
91045
91046
91047
91048
91049
91050
91051
91052
91053
91054
# File 'ext/ctp/ctp.cxx', line 91027

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

#QuoteSysID=(*args) ⇒ Object



90997
90998
90999
91000
91001
91002
91003
91004
91005
91006
91007
91008
91009
91010
91011
91012
91013
91014
91015
91016
91017
91018
91019
91020
91021
91022
91023
91024
# File 'ext/ctp/ctp.cxx', line 90997

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

#TraderID(*args) ⇒ Object



91260
91261
91262
91263
91264
91265
91266
91267
91268
91269
91270
91271
91272
91273
91274
91275
91276
91277
91278
91279
91280
91281
91282
91283
91284
91285
91286
91287
# File 'ext/ctp/ctp.cxx', line 91260

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

#TraderID=(*args) ⇒ Object



91230
91231
91232
91233
91234
91235
91236
91237
91238
91239
91240
91241
91242
91243
91244
91245
91246
91247
91248
91249
91250
91251
91252
91253
91254
91255
91256
91257
# File 'ext/ctp/ctp.cxx', line 91230

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

#UserID(*args) ⇒ Object



91726
91727
91728
91729
91730
91731
91732
91733
91734
91735
91736
91737
91738
91739
91740
91741
91742
91743
91744
91745
91746
91747
91748
91749
91750
91751
91752
91753
# File 'ext/ctp/ctp.cxx', line 91726

SWIGINTERN VALUE
_wrap_CThostFtdcExchangeQuoteActionField_UserID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcExchangeQuoteActionField *arg1 = (CThostFtdcExchangeQuoteActionField *) 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_CThostFtdcExchangeQuoteActionField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcExchangeQuoteActionField *","UserID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcExchangeQuoteActionField * >(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



91696
91697
91698
91699
91700
91701
91702
91703
91704
91705
91706
91707
91708
91709
91710
91711
91712
91713
91714
91715
91716
91717
91718
91719
91720
91721
91722
91723
# File 'ext/ctp/ctp.cxx', line 91696

SWIGINTERN VALUE
_wrap_CThostFtdcExchangeQuoteActionField_UserID_set(int argc, VALUE *argv, VALUE self) {
  CThostFtdcExchangeQuoteActionField *arg1 = (CThostFtdcExchangeQuoteActionField *) 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_CThostFtdcExchangeQuoteActionField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcExchangeQuoteActionField *","UserID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcExchangeQuoteActionField * >(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;
}