Class: Ctp::CThostFtdcExecOrderActionField

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



72984
72985
72986
72987
72988
72989
72990
72991
72992
72993
72994
72995
72996
72997
# File 'ext/ctp/ctp.cxx', line 72984

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

Instance Method Details

#ActionDate(*args) ⇒ Object



72180
72181
72182
72183
72184
72185
72186
72187
72188
72189
72190
72191
72192
72193
72194
72195
72196
72197
72198
72199
72200
72201
72202
72203
72204
72205
72206
72207
# File 'ext/ctp/ctp.cxx', line 72180

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



72150
72151
72152
72153
72154
72155
72156
72157
72158
72159
72160
72161
72162
72163
72164
72165
72166
72167
72168
72169
72170
72171
72172
72173
72174
72175
72176
72177
# File 'ext/ctp/ctp.cxx', line 72150

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



72126
72127
72128
72129
72130
72131
72132
72133
72134
72135
72136
72137
72138
72139
72140
72141
72142
72143
72144
72145
72146
72147
# File 'ext/ctp/ctp.cxx', line 72126

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

#ActionFlag=(*args) ⇒ Object



72097
72098
72099
72100
72101
72102
72103
72104
72105
72106
72107
72108
72109
72110
72111
72112
72113
72114
72115
72116
72117
72118
72119
72120
72121
72122
72123
# File 'ext/ctp/ctp.cxx', line 72097

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



72473
72474
72475
72476
72477
72478
72479
72480
72481
72482
72483
72484
72485
72486
72487
72488
72489
72490
72491
72492
72493
72494
72495
72496
72497
72498
72499
72500
# File 'ext/ctp/ctp.cxx', line 72473

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



72443
72444
72445
72446
72447
72448
72449
72450
72451
72452
72453
72454
72455
72456
72457
72458
72459
72460
72461
72462
72463
72464
72465
72466
72467
72468
72469
72470
# File 'ext/ctp/ctp.cxx', line 72443

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



72240
72241
72242
72243
72244
72245
72246
72247
72248
72249
72250
72251
72252
72253
72254
72255
72256
72257
72258
72259
72260
72261
72262
72263
72264
72265
72266
72267
# File 'ext/ctp/ctp.cxx', line 72240

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



72210
72211
72212
72213
72214
72215
72216
72217
72218
72219
72220
72221
72222
72223
72224
72225
72226
72227
72228
72229
72230
72231
72232
72233
72234
72235
72236
72237
# File 'ext/ctp/ctp.cxx', line 72210

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

#ActionType(*args) ⇒ Object



72825
72826
72827
72828
72829
72830
72831
72832
72833
72834
72835
72836
72837
72838
72839
72840
72841
72842
72843
72844
72845
72846
# File 'ext/ctp/ctp.cxx', line 72825

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

#ActionType=(*args) ⇒ Object



72796
72797
72798
72799
72800
72801
72802
72803
72804
72805
72806
72807
72808
72809
72810
72811
72812
72813
72814
72815
72816
72817
72818
72819
72820
72821
72822
# File 'ext/ctp/ctp.cxx', line 72796

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

#BrokerID(*args) ⇒ Object



71615
71616
71617
71618
71619
71620
71621
71622
71623
71624
71625
71626
71627
71628
71629
71630
71631
71632
71633
71634
71635
71636
71637
71638
71639
71640
71641
71642
# File 'ext/ctp/ctp.cxx', line 71615

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



71585
71586
71587
71588
71589
71590
71591
71592
71593
71594
71595
71596
71597
71598
71599
71600
71601
71602
71603
71604
71605
71606
71607
71608
71609
71610
71611
71612
# File 'ext/ctp/ctp.cxx', line 71585

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



72653
72654
72655
72656
72657
72658
72659
72660
72661
72662
72663
72664
72665
72666
72667
72668
72669
72670
72671
72672
72673
72674
72675
72676
72677
72678
72679
72680
# File 'ext/ctp/ctp.cxx', line 72653

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



72623
72624
72625
72626
72627
72628
72629
72630
72631
72632
72633
72634
72635
72636
72637
72638
72639
72640
72641
72642
72643
72644
72645
72646
72647
72648
72649
72650
# File 'ext/ctp/ctp.cxx', line 72623

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



72593
72594
72595
72596
72597
72598
72599
72600
72601
72602
72603
72604
72605
72606
72607
72608
72609
72610
72611
72612
72613
72614
72615
72616
72617
72618
72619
72620
# File 'ext/ctp/ctp.cxx', line 72593

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



72563
72564
72565
72566
72567
72568
72569
72570
72571
72572
72573
72574
72575
72576
72577
72578
72579
72580
72581
72582
72583
72584
72585
72586
72587
72588
72589
72590
# File 'ext/ctp/ctp.cxx', line 72563

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



72007
72008
72009
72010
72011
72012
72013
72014
72015
72016
72017
72018
72019
72020
72021
72022
72023
72024
72025
72026
72027
72028
72029
72030
72031
72032
72033
72034
# File 'ext/ctp/ctp.cxx', line 72007

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



71977
71978
71979
71980
71981
71982
71983
71984
71985
71986
71987
71988
71989
71990
71991
71992
71993
71994
71995
71996
71997
71998
71999
72000
72001
72002
72003
72004
# File 'ext/ctp/ctp.cxx', line 71977

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

#ExecOrderActionRef(*args) ⇒ Object



71734
71735
71736
71737
71738
71739
71740
71741
71742
71743
71744
71745
71746
71747
71748
71749
71750
71751
71752
71753
71754
71755
# File 'ext/ctp/ctp.cxx', line 71734

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

#ExecOrderActionRef=(*args) ⇒ Object



71705
71706
71707
71708
71709
71710
71711
71712
71713
71714
71715
71716
71717
71718
71719
71720
71721
71722
71723
71724
71725
71726
71727
71728
71729
71730
71731
# File 'ext/ctp/ctp.cxx', line 71705

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

#ExecOrderLocalID(*args) ⇒ Object



72413
72414
72415
72416
72417
72418
72419
72420
72421
72422
72423
72424
72425
72426
72427
72428
72429
72430
72431
72432
72433
72434
72435
72436
72437
72438
72439
72440
# File 'ext/ctp/ctp.cxx', line 72413

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

#ExecOrderLocalID=(*args) ⇒ Object



72383
72384
72385
72386
72387
72388
72389
72390
72391
72392
72393
72394
72395
72396
72397
72398
72399
72400
72401
72402
72403
72404
72405
72406
72407
72408
72409
72410
# File 'ext/ctp/ctp.cxx', line 72383

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

#ExecOrderRef(*args) ⇒ Object



71788
71789
71790
71791
71792
71793
71794
71795
71796
71797
71798
71799
71800
71801
71802
71803
71804
71805
71806
71807
71808
71809
71810
71811
71812
71813
71814
71815
# File 'ext/ctp/ctp.cxx', line 71788

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

#ExecOrderRef=(*args) ⇒ Object



71758
71759
71760
71761
71762
71763
71764
71765
71766
71767
71768
71769
71770
71771
71772
71773
71774
71775
71776
71777
71778
71779
71780
71781
71782
71783
71784
71785
# File 'ext/ctp/ctp.cxx', line 71758

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

#ExecOrderSysID(*args) ⇒ Object



72067
72068
72069
72070
72071
72072
72073
72074
72075
72076
72077
72078
72079
72080
72081
72082
72083
72084
72085
72086
72087
72088
72089
72090
72091
72092
72093
72094
# File 'ext/ctp/ctp.cxx', line 72067

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

#ExecOrderSysID=(*args) ⇒ Object



72037
72038
72039
72040
72041
72042
72043
72044
72045
72046
72047
72048
72049
72050
72051
72052
72053
72054
72055
72056
72057
72058
72059
72060
72061
72062
72063
72064
# File 'ext/ctp/ctp.cxx', line 72037

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

#FrontID(*args) ⇒ Object



71900
71901
71902
71903
71904
71905
71906
71907
71908
71909
71910
71911
71912
71913
71914
71915
71916
71917
71918
71919
71920
71921
# File 'ext/ctp/ctp.cxx', line 71900

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

#FrontID=(*args) ⇒ Object



71871
71872
71873
71874
71875
71876
71877
71878
71879
71880
71881
71882
71883
71884
71885
71886
71887
71888
71889
71890
71891
71892
71893
71894
71895
71896
71897
# File 'ext/ctp/ctp.cxx', line 71871

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

#InstallID(*args) ⇒ Object



72359
72360
72361
72362
72363
72364
72365
72366
72367
72368
72369
72370
72371
72372
72373
72374
72375
72376
72377
72378
72379
72380
# File 'ext/ctp/ctp.cxx', line 72359

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

#InstallID=(*args) ⇒ Object



72330
72331
72332
72333
72334
72335
72336
72337
72338
72339
72340
72341
72342
72343
72344
72345
72346
72347
72348
72349
72350
72351
72352
72353
72354
72355
72356
# File 'ext/ctp/ctp.cxx', line 72330

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

#InstrumentID(*args) ⇒ Object



72939
72940
72941
72942
72943
72944
72945
72946
72947
72948
72949
72950
72951
72952
72953
72954
72955
72956
72957
72958
72959
72960
72961
72962
72963
72964
72965
72966
# File 'ext/ctp/ctp.cxx', line 72939

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



72909
72910
72911
72912
72913
72914
72915
72916
72917
72918
72919
72920
72921
72922
72923
72924
72925
72926
72927
72928
72929
72930
72931
72932
72933
72934
72935
72936
# File 'ext/ctp/ctp.cxx', line 72909

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



71675
71676
71677
71678
71679
71680
71681
71682
71683
71684
71685
71686
71687
71688
71689
71690
71691
71692
71693
71694
71695
71696
71697
71698
71699
71700
71701
71702
# File 'ext/ctp/ctp.cxx', line 71675

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



71645
71646
71647
71648
71649
71650
71651
71652
71653
71654
71655
71656
71657
71658
71659
71660
71661
71662
71663
71664
71665
71666
71667
71668
71669
71670
71671
71672
# File 'ext/ctp/ctp.cxx', line 71645

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

#OrderActionStatus(*args) ⇒ Object



72712
72713
72714
72715
72716
72717
72718
72719
72720
72721
72722
72723
72724
72725
72726
72727
72728
72729
72730
72731
72732
72733
# File 'ext/ctp/ctp.cxx', line 72712

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

#OrderActionStatus=(*args) ⇒ Object



72683
72684
72685
72686
72687
72688
72689
72690
72691
72692
72693
72694
72695
72696
72697
72698
72699
72700
72701
72702
72703
72704
72705
72706
72707
72708
72709
# File 'ext/ctp/ctp.cxx', line 72683

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



72533
72534
72535
72536
72537
72538
72539
72540
72541
72542
72543
72544
72545
72546
72547
72548
72549
72550
72551
72552
72553
72554
72555
72556
72557
72558
72559
72560
# File 'ext/ctp/ctp.cxx', line 72533

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



72503
72504
72505
72506
72507
72508
72509
72510
72511
72512
72513
72514
72515
72516
72517
72518
72519
72520
72521
72522
72523
72524
72525
72526
72527
72528
72529
72530
# File 'ext/ctp/ctp.cxx', line 72503

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

#RequestID(*args) ⇒ Object



71847
71848
71849
71850
71851
71852
71853
71854
71855
71856
71857
71858
71859
71860
71861
71862
71863
71864
71865
71866
71867
71868
# File 'ext/ctp/ctp.cxx', line 71847

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

#RequestID=(*args) ⇒ Object



71818
71819
71820
71821
71822
71823
71824
71825
71826
71827
71828
71829
71830
71831
71832
71833
71834
71835
71836
71837
71838
71839
71840
71841
71842
71843
71844
# File 'ext/ctp/ctp.cxx', line 71818

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

#SessionID(*args) ⇒ Object



71953
71954
71955
71956
71957
71958
71959
71960
71961
71962
71963
71964
71965
71966
71967
71968
71969
71970
71971
71972
71973
71974
# File 'ext/ctp/ctp.cxx', line 71953

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

#SessionID=(*args) ⇒ Object



71924
71925
71926
71927
71928
71929
71930
71931
71932
71933
71934
71935
71936
71937
71938
71939
71940
71941
71942
71943
71944
71945
71946
71947
71948
71949
71950
# File 'ext/ctp/ctp.cxx', line 71924

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

#StatusMsg(*args) ⇒ Object



72879
72880
72881
72882
72883
72884
72885
72886
72887
72888
72889
72890
72891
72892
72893
72894
72895
72896
72897
72898
72899
72900
72901
72902
72903
72904
72905
72906
# File 'ext/ctp/ctp.cxx', line 72879

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

#StatusMsg=(*args) ⇒ Object



72849
72850
72851
72852
72853
72854
72855
72856
72857
72858
72859
72860
72861
72862
72863
72864
72865
72866
72867
72868
72869
72870
72871
72872
72873
72874
72875
72876
# File 'ext/ctp/ctp.cxx', line 72849

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

#TraderID(*args) ⇒ Object



72300
72301
72302
72303
72304
72305
72306
72307
72308
72309
72310
72311
72312
72313
72314
72315
72316
72317
72318
72319
72320
72321
72322
72323
72324
72325
72326
72327
# File 'ext/ctp/ctp.cxx', line 72300

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



72270
72271
72272
72273
72274
72275
72276
72277
72278
72279
72280
72281
72282
72283
72284
72285
72286
72287
72288
72289
72290
72291
72292
72293
72294
72295
72296
72297
# File 'ext/ctp/ctp.cxx', line 72270

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



72766
72767
72768
72769
72770
72771
72772
72773
72774
72775
72776
72777
72778
72779
72780
72781
72782
72783
72784
72785
72786
72787
72788
72789
72790
72791
72792
72793
# File 'ext/ctp/ctp.cxx', line 72766

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



72736
72737
72738
72739
72740
72741
72742
72743
72744
72745
72746
72747
72748
72749
72750
72751
72752
72753
72754
72755
72756
72757
72758
72759
72760
72761
72762
72763
# File 'ext/ctp/ctp.cxx', line 72736

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