Method: Ctp::CThostFtdcInvestorPositionCombineDetailField#LegMultiple

Defined in:
ext/ctp/ctp.cxx

#LegMultiple(*args) ⇒ Object



112994
112995
112996
112997
112998
112999
113000
113001
113002
113003
113004
113005
113006
113007
113008
113009
113010
113011
113012
113013
113014
113015
# File 'ext/ctp/ctp.cxx', line 112994

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