Class: Ctp::CThostFtdcReqDayEndFileReadyField

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



166546
166547
166548
166549
166550
166551
166552
166553
166554
166555
166556
166557
166558
166559
# File 'ext/ctp/ctp.cxx', line 166546

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

Instance Method Details

#BankBranchID(*args) ⇒ Object



165869
165870
165871
165872
165873
165874
165875
165876
165877
165878
165879
165880
165881
165882
165883
165884
165885
165886
165887
165888
165889
165890
165891
165892
165893
165894
165895
165896
# File 'ext/ctp/ctp.cxx', line 165869

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

#BankBranchID=(*args) ⇒ Object



165839
165840
165841
165842
165843
165844
165845
165846
165847
165848
165849
165850
165851
165852
165853
165854
165855
165856
165857
165858
165859
165860
165861
165862
165863
165864
165865
165866
# File 'ext/ctp/ctp.cxx', line 165839

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

#BankID(*args) ⇒ Object



165809
165810
165811
165812
165813
165814
165815
165816
165817
165818
165819
165820
165821
165822
165823
165824
165825
165826
165827
165828
165829
165830
165831
165832
165833
165834
165835
165836
# File 'ext/ctp/ctp.cxx', line 165809

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

#BankID=(*args) ⇒ Object



165779
165780
165781
165782
165783
165784
165785
165786
165787
165788
165789
165790
165791
165792
165793
165794
165795
165796
165797
165798
165799
165800
165801
165802
165803
165804
165805
165806
# File 'ext/ctp/ctp.cxx', line 165779

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

#BankSerial(*args) ⇒ Object



166169
166170
166171
166172
166173
166174
166175
166176
166177
166178
166179
166180
166181
166182
166183
166184
166185
166186
166187
166188
166189
166190
166191
166192
166193
166194
166195
166196
# File 'ext/ctp/ctp.cxx', line 166169

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

#BankSerial=(*args) ⇒ Object



166139
166140
166141
166142
166143
166144
166145
166146
166147
166148
166149
166150
166151
166152
166153
166154
166155
166156
166157
166158
166159
166160
166161
166162
166163
166164
166165
166166
# File 'ext/ctp/ctp.cxx', line 166139

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

#BrokerBranchID(*args) ⇒ Object



165989
165990
165991
165992
165993
165994
165995
165996
165997
165998
165999
166000
166001
166002
166003
166004
166005
166006
166007
166008
166009
166010
166011
166012
166013
166014
166015
166016
# File 'ext/ctp/ctp.cxx', line 165989

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

#BrokerBranchID=(*args) ⇒ Object



165959
165960
165961
165962
165963
165964
165965
165966
165967
165968
165969
165970
165971
165972
165973
165974
165975
165976
165977
165978
165979
165980
165981
165982
165983
165984
165985
165986
# File 'ext/ctp/ctp.cxx', line 165959

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

#BrokerID(*args) ⇒ Object



165929
165930
165931
165932
165933
165934
165935
165936
165937
165938
165939
165940
165941
165942
165943
165944
165945
165946
165947
165948
165949
165950
165951
165952
165953
165954
165955
165956
# File 'ext/ctp/ctp.cxx', line 165929

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



165899
165900
165901
165902
165903
165904
165905
165906
165907
165908
165909
165910
165911
165912
165913
165914
165915
165916
165917
165918
165919
165920
165921
165922
165923
165924
165925
165926
# File 'ext/ctp/ctp.cxx', line 165899

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

#Digest(*args) ⇒ Object



166501
166502
166503
166504
166505
166506
166507
166508
166509
166510
166511
166512
166513
166514
166515
166516
166517
166518
166519
166520
166521
166522
166523
166524
166525
166526
166527
166528
# File 'ext/ctp/ctp.cxx', line 166501

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

#Digest=(*args) ⇒ Object



166471
166472
166473
166474
166475
166476
166477
166478
166479
166480
166481
166482
166483
166484
166485
166486
166487
166488
166489
166490
166491
166492
166493
166494
166495
166496
166497
166498
# File 'ext/ctp/ctp.cxx', line 166471

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

#FileBusinessCode(*args) ⇒ Object



166447
166448
166449
166450
166451
166452
166453
166454
166455
166456
166457
166458
166459
166460
166461
166462
166463
166464
166465
166466
166467
166468
# File 'ext/ctp/ctp.cxx', line 166447

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

#FileBusinessCode=(*args) ⇒ Object



166418
166419
166420
166421
166422
166423
166424
166425
166426
166427
166428
166429
166430
166431
166432
166433
166434
166435
166436
166437
166438
166439
166440
166441
166442
166443
166444
# File 'ext/ctp/ctp.cxx', line 166418

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

#LastFragment(*args) ⇒ Object



166341
166342
166343
166344
166345
166346
166347
166348
166349
166350
166351
166352
166353
166354
166355
166356
166357
166358
166359
166360
166361
166362
# File 'ext/ctp/ctp.cxx', line 166341

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

#LastFragment=(*args) ⇒ Object



166312
166313
166314
166315
166316
166317
166318
166319
166320
166321
166322
166323
166324
166325
166326
166327
166328
166329
166330
166331
166332
166333
166334
166335
166336
166337
166338
# File 'ext/ctp/ctp.cxx', line 166312

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

#PlateSerial(*args) ⇒ Object



166288
166289
166290
166291
166292
166293
166294
166295
166296
166297
166298
166299
166300
166301
166302
166303
166304
166305
166306
166307
166308
166309
# File 'ext/ctp/ctp.cxx', line 166288

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

#PlateSerial=(*args) ⇒ Object



166259
166260
166261
166262
166263
166264
166265
166266
166267
166268
166269
166270
166271
166272
166273
166274
166275
166276
166277
166278
166279
166280
166281
166282
166283
166284
166285
# File 'ext/ctp/ctp.cxx', line 166259

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

#SessionID(*args) ⇒ Object



166394
166395
166396
166397
166398
166399
166400
166401
166402
166403
166404
166405
166406
166407
166408
166409
166410
166411
166412
166413
166414
166415
# File 'ext/ctp/ctp.cxx', line 166394

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

#SessionID=(*args) ⇒ Object



166365
166366
166367
166368
166369
166370
166371
166372
166373
166374
166375
166376
166377
166378
166379
166380
166381
166382
166383
166384
166385
166386
166387
166388
166389
166390
166391
# File 'ext/ctp/ctp.cxx', line 166365

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

#TradeCode(*args) ⇒ Object



165749
165750
165751
165752
165753
165754
165755
165756
165757
165758
165759
165760
165761
165762
165763
165764
165765
165766
165767
165768
165769
165770
165771
165772
165773
165774
165775
165776
# File 'ext/ctp/ctp.cxx', line 165749

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

#TradeCode=(*args) ⇒ Object



165719
165720
165721
165722
165723
165724
165725
165726
165727
165728
165729
165730
165731
165732
165733
165734
165735
165736
165737
165738
165739
165740
165741
165742
165743
165744
165745
165746
# File 'ext/ctp/ctp.cxx', line 165719

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

#TradeDate(*args) ⇒ Object



166049
166050
166051
166052
166053
166054
166055
166056
166057
166058
166059
166060
166061
166062
166063
166064
166065
166066
166067
166068
166069
166070
166071
166072
166073
166074
166075
166076
# File 'ext/ctp/ctp.cxx', line 166049

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

#TradeDate=(*args) ⇒ Object



166019
166020
166021
166022
166023
166024
166025
166026
166027
166028
166029
166030
166031
166032
166033
166034
166035
166036
166037
166038
166039
166040
166041
166042
166043
166044
166045
166046
# File 'ext/ctp/ctp.cxx', line 166019

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

#TradeTime(*args) ⇒ Object



166109
166110
166111
166112
166113
166114
166115
166116
166117
166118
166119
166120
166121
166122
166123
166124
166125
166126
166127
166128
166129
166130
166131
166132
166133
166134
166135
166136
# File 'ext/ctp/ctp.cxx', line 166109

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

#TradeTime=(*args) ⇒ Object



166079
166080
166081
166082
166083
166084
166085
166086
166087
166088
166089
166090
166091
166092
166093
166094
166095
166096
166097
166098
166099
166100
166101
166102
166103
166104
166105
166106
# File 'ext/ctp/ctp.cxx', line 166079

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

#TradingDay(*args) ⇒ Object



166229
166230
166231
166232
166233
166234
166235
166236
166237
166238
166239
166240
166241
166242
166243
166244
166245
166246
166247
166248
166249
166250
166251
166252
166253
166254
166255
166256
# File 'ext/ctp/ctp.cxx', line 166229

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

#TradingDay=(*args) ⇒ Object



166199
166200
166201
166202
166203
166204
166205
166206
166207
166208
166209
166210
166211
166212
166213
166214
166215
166216
166217
166218
166219
166220
166221
166222
166223
166224
166225
166226
# File 'ext/ctp/ctp.cxx', line 166199

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