Class: Ctp::CThostFtdcInputExecOrderActionField

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



69361
69362
69363
69364
69365
69366
69367
69368
69369
69370
69371
69372
69373
69374
# File 'ext/ctp/ctp.cxx', line 69361

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

Instance Method Details

#ActionFlag(*args) ⇒ Object



69202
69203
69204
69205
69206
69207
69208
69209
69210
69211
69212
69213
69214
69215
69216
69217
69218
69219
69220
69221
69222
69223
# File 'ext/ctp/ctp.cxx', line 69202

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

#ActionFlag=(*args) ⇒ Object



69173
69174
69175
69176
69177
69178
69179
69180
69181
69182
69183
69184
69185
69186
69187
69188
69189
69190
69191
69192
69193
69194
69195
69196
69197
69198
69199
# File 'ext/ctp/ctp.cxx', line 69173

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

#BrokerID(*args) ⇒ Object



68691
68692
68693
68694
68695
68696
68697
68698
68699
68700
68701
68702
68703
68704
68705
68706
68707
68708
68709
68710
68711
68712
68713
68714
68715
68716
68717
68718
# File 'ext/ctp/ctp.cxx', line 68691

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



68661
68662
68663
68664
68665
68666
68667
68668
68669
68670
68671
68672
68673
68674
68675
68676
68677
68678
68679
68680
68681
68682
68683
68684
68685
68686
68687
68688
# File 'ext/ctp/ctp.cxx', line 68661

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

#ExchangeID(*args) ⇒ Object



69083
69084
69085
69086
69087
69088
69089
69090
69091
69092
69093
69094
69095
69096
69097
69098
69099
69100
69101
69102
69103
69104
69105
69106
69107
69108
69109
69110
# File 'ext/ctp/ctp.cxx', line 69083

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



69053
69054
69055
69056
69057
69058
69059
69060
69061
69062
69063
69064
69065
69066
69067
69068
69069
69070
69071
69072
69073
69074
69075
69076
69077
69078
69079
69080
# File 'ext/ctp/ctp.cxx', line 69053

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



68810
68811
68812
68813
68814
68815
68816
68817
68818
68819
68820
68821
68822
68823
68824
68825
68826
68827
68828
68829
68830
68831
# File 'ext/ctp/ctp.cxx', line 68810

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

#ExecOrderActionRef=(*args) ⇒ Object



68781
68782
68783
68784
68785
68786
68787
68788
68789
68790
68791
68792
68793
68794
68795
68796
68797
68798
68799
68800
68801
68802
68803
68804
68805
68806
68807
# File 'ext/ctp/ctp.cxx', line 68781

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

#ExecOrderRef(*args) ⇒ Object



68864
68865
68866
68867
68868
68869
68870
68871
68872
68873
68874
68875
68876
68877
68878
68879
68880
68881
68882
68883
68884
68885
68886
68887
68888
68889
68890
68891
# File 'ext/ctp/ctp.cxx', line 68864

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



68834
68835
68836
68837
68838
68839
68840
68841
68842
68843
68844
68845
68846
68847
68848
68849
68850
68851
68852
68853
68854
68855
68856
68857
68858
68859
68860
68861
# File 'ext/ctp/ctp.cxx', line 68834

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



69143
69144
69145
69146
69147
69148
69149
69150
69151
69152
69153
69154
69155
69156
69157
69158
69159
69160
69161
69162
69163
69164
69165
69166
69167
69168
69169
69170
# File 'ext/ctp/ctp.cxx', line 69143

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



69113
69114
69115
69116
69117
69118
69119
69120
69121
69122
69123
69124
69125
69126
69127
69128
69129
69130
69131
69132
69133
69134
69135
69136
69137
69138
69139
69140
# File 'ext/ctp/ctp.cxx', line 69113

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



68976
68977
68978
68979
68980
68981
68982
68983
68984
68985
68986
68987
68988
68989
68990
68991
68992
68993
68994
68995
68996
68997
# File 'ext/ctp/ctp.cxx', line 68976

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

#FrontID=(*args) ⇒ Object



68947
68948
68949
68950
68951
68952
68953
68954
68955
68956
68957
68958
68959
68960
68961
68962
68963
68964
68965
68966
68967
68968
68969
68970
68971
68972
68973
# File 'ext/ctp/ctp.cxx', line 68947

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

#InstrumentID(*args) ⇒ Object



69316
69317
69318
69319
69320
69321
69322
69323
69324
69325
69326
69327
69328
69329
69330
69331
69332
69333
69334
69335
69336
69337
69338
69339
69340
69341
69342
69343
# File 'ext/ctp/ctp.cxx', line 69316

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



69286
69287
69288
69289
69290
69291
69292
69293
69294
69295
69296
69297
69298
69299
69300
69301
69302
69303
69304
69305
69306
69307
69308
69309
69310
69311
69312
69313
# File 'ext/ctp/ctp.cxx', line 69286

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



68751
68752
68753
68754
68755
68756
68757
68758
68759
68760
68761
68762
68763
68764
68765
68766
68767
68768
68769
68770
68771
68772
68773
68774
68775
68776
68777
68778
# File 'ext/ctp/ctp.cxx', line 68751

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



68721
68722
68723
68724
68725
68726
68727
68728
68729
68730
68731
68732
68733
68734
68735
68736
68737
68738
68739
68740
68741
68742
68743
68744
68745
68746
68747
68748
# File 'ext/ctp/ctp.cxx', line 68721

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

#RequestID(*args) ⇒ Object



68923
68924
68925
68926
68927
68928
68929
68930
68931
68932
68933
68934
68935
68936
68937
68938
68939
68940
68941
68942
68943
68944
# File 'ext/ctp/ctp.cxx', line 68923

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

#RequestID=(*args) ⇒ Object



68894
68895
68896
68897
68898
68899
68900
68901
68902
68903
68904
68905
68906
68907
68908
68909
68910
68911
68912
68913
68914
68915
68916
68917
68918
68919
68920
# File 'ext/ctp/ctp.cxx', line 68894

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



69029
69030
69031
69032
69033
69034
69035
69036
69037
69038
69039
69040
69041
69042
69043
69044
69045
69046
69047
69048
69049
69050
# File 'ext/ctp/ctp.cxx', line 69029

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

#SessionID=(*args) ⇒ Object



69000
69001
69002
69003
69004
69005
69006
69007
69008
69009
69010
69011
69012
69013
69014
69015
69016
69017
69018
69019
69020
69021
69022
69023
69024
69025
69026
# File 'ext/ctp/ctp.cxx', line 69000

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

#UserID(*args) ⇒ Object



69256
69257
69258
69259
69260
69261
69262
69263
69264
69265
69266
69267
69268
69269
69270
69271
69272
69273
69274
69275
69276
69277
69278
69279
69280
69281
69282
69283
# File 'ext/ctp/ctp.cxx', line 69256

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



69226
69227
69228
69229
69230
69231
69232
69233
69234
69235
69236
69237
69238
69239
69240
69241
69242
69243
69244
69245
69246
69247
69248
69249
69250
69251
69252
69253
# File 'ext/ctp/ctp.cxx', line 69226

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