Method: Ctp::CThostFtdcExecOrderField#ActionType

Defined in:
ext/ctp/ctp.cxx

#ActionType(*args) ⇒ Object



69986
69987
69988
69989
69990
69991
69992
69993
69994
69995
69996
69997
69998
69999
70000
70001
70002
70003
70004
70005
70006
70007
# File 'ext/ctp/ctp.cxx', line 69986

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