Class: Ctp::CThostFtdcOptionInstrMiniMarginField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcOptionInstrMiniMarginField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InstrumentID(*args) ⇒ Object
- #InstrumentID=(*args) ⇒ Object
- #InvestorID(*args) ⇒ Object
- #InvestorID=(*args) ⇒ Object
- #InvestorRange(*args) ⇒ Object
- #InvestorRange=(*args) ⇒ Object
- #IsRelative(*args) ⇒ Object
- #IsRelative=(*args) ⇒ Object
- #MinMargin(*args) ⇒ Object
- #MinMargin=(*args) ⇒ Object
- #ValueMethod(*args) ⇒ Object
- #ValueMethod=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
65129 65130 65131 65132 65133 65134 65135 65136 65137 65138 65139 65140 65141 65142 |
# File 'ext/ctp/ctp.cxx', line 65129 SWIGINTERN VALUE _wrap_new_CThostFtdcOptionInstrMiniMarginField(int argc, VALUE *argv, VALUE self) { const char *classname SWIGUNUSED = "Ctp::CThostFtdcOptionInstrMiniMarginField"; CThostFtdcOptionInstrMiniMarginField *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } result = (CThostFtdcOptionInstrMiniMarginField *)new CThostFtdcOptionInstrMiniMarginField(); DATA_PTR(self) = result; return self; fail: return Qnil; } |
Instance Method Details
#BrokerID(*args) ⇒ Object
64865 64866 64867 64868 64869 64870 64871 64872 64873 64874 64875 64876 64877 64878 64879 64880 64881 64882 64883 64884 64885 64886 64887 64888 64889 64890 64891 64892 |
# File 'ext/ctp/ctp.cxx', line 64865 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_BrokerID_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","BrokerID", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(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
64835 64836 64837 64838 64839 64840 64841 64842 64843 64844 64845 64846 64847 64848 64849 64850 64851 64852 64853 64854 64855 64856 64857 64858 64859 64860 64861 64862 |
# File 'ext/ctp/ctp.cxx', line 64835 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_BrokerID_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","BrokerID", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(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; } |
#InstrumentID(*args) ⇒ Object
64752 64753 64754 64755 64756 64757 64758 64759 64760 64761 64762 64763 64764 64765 64766 64767 64768 64769 64770 64771 64772 64773 64774 64775 64776 64777 64778 64779 |
# File 'ext/ctp/ctp.cxx', line 64752 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_InstrumentID_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","InstrumentID", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(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
64722 64723 64724 64725 64726 64727 64728 64729 64730 64731 64732 64733 64734 64735 64736 64737 64738 64739 64740 64741 64742 64743 64744 64745 64746 64747 64748 64749 |
# File 'ext/ctp/ctp.cxx', line 64722 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_InstrumentID_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","InstrumentID", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(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
64925 64926 64927 64928 64929 64930 64931 64932 64933 64934 64935 64936 64937 64938 64939 64940 64941 64942 64943 64944 64945 64946 64947 64948 64949 64950 64951 64952 |
# File 'ext/ctp/ctp.cxx', line 64925 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_InvestorID_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","InvestorID", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(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
64895 64896 64897 64898 64899 64900 64901 64902 64903 64904 64905 64906 64907 64908 64909 64910 64911 64912 64913 64914 64915 64916 64917 64918 64919 64920 64921 64922 |
# File 'ext/ctp/ctp.cxx', line 64895 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_InvestorID_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","InvestorID", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(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; } |
#InvestorRange(*args) ⇒ Object
64811 64812 64813 64814 64815 64816 64817 64818 64819 64820 64821 64822 64823 64824 64825 64826 64827 64828 64829 64830 64831 64832 |
# File 'ext/ctp/ctp.cxx', line 64811 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_InvestorRange_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; TThostFtdcInvestorRangeType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","InvestorRange", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); result = (TThostFtdcInvestorRangeType) ((arg1)->InvestorRange); vresult = SWIG_From_char(static_cast< char >(result)); return vresult; fail: return Qnil; } |
#InvestorRange=(*args) ⇒ Object
64782 64783 64784 64785 64786 64787 64788 64789 64790 64791 64792 64793 64794 64795 64796 64797 64798 64799 64800 64801 64802 64803 64804 64805 64806 64807 64808 |
# File 'ext/ctp/ctp.cxx', line 64782 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_InvestorRange_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; TThostFtdcInvestorRangeType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","InvestorRange", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); ecode2 = SWIG_AsVal_char(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcInvestorRangeType","InvestorRange", 2, argv[0] )); } arg2 = static_cast< TThostFtdcInvestorRangeType >(val2); if (arg1) (arg1)->InvestorRange = arg2; return Qnil; fail: return Qnil; } |
#IsRelative(*args) ⇒ Object
65090 65091 65092 65093 65094 65095 65096 65097 65098 65099 65100 65101 65102 65103 65104 65105 65106 65107 65108 65109 65110 65111 |
# File 'ext/ctp/ctp.cxx', line 65090 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_IsRelative_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; TThostFtdcBoolType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","IsRelative", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); result = (TThostFtdcBoolType) ((arg1)->IsRelative); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
#IsRelative=(*args) ⇒ Object
65061 65062 65063 65064 65065 65066 65067 65068 65069 65070 65071 65072 65073 65074 65075 65076 65077 65078 65079 65080 65081 65082 65083 65084 65085 65086 65087 |
# File 'ext/ctp/ctp.cxx', line 65061 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_IsRelative_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; TThostFtdcBoolType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","IsRelative", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBoolType","IsRelative", 2, argv[0] )); } arg2 = static_cast< TThostFtdcBoolType >(val2); if (arg1) (arg1)->IsRelative = arg2; return Qnil; fail: return Qnil; } |
#MinMargin(*args) ⇒ Object
64984 64985 64986 64987 64988 64989 64990 64991 64992 64993 64994 64995 64996 64997 64998 64999 65000 65001 65002 65003 65004 65005 |
# File 'ext/ctp/ctp.cxx', line 64984 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_MinMargin_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; TThostFtdcMoneyType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","MinMargin", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); result = (TThostFtdcMoneyType) ((arg1)->MinMargin); vresult = SWIG_From_double(static_cast< double >(result)); return vresult; fail: return Qnil; } |
#MinMargin=(*args) ⇒ Object
64955 64956 64957 64958 64959 64960 64961 64962 64963 64964 64965 64966 64967 64968 64969 64970 64971 64972 64973 64974 64975 64976 64977 64978 64979 64980 64981 |
# File 'ext/ctp/ctp.cxx', line 64955 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_MinMargin_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; TThostFtdcMoneyType arg2 ; void *argp1 = 0 ; int res1 = 0 ; double 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","MinMargin", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcMoneyType","MinMargin", 2, argv[0] )); } arg2 = static_cast< TThostFtdcMoneyType >(val2); if (arg1) (arg1)->MinMargin = arg2; return Qnil; fail: return Qnil; } |
#ValueMethod(*args) ⇒ Object
65037 65038 65039 65040 65041 65042 65043 65044 65045 65046 65047 65048 65049 65050 65051 65052 65053 65054 65055 65056 65057 65058 |
# File 'ext/ctp/ctp.cxx', line 65037 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_ValueMethod_get(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; void *argp1 = 0 ; int res1 = 0 ; TThostFtdcValueMethodType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","ValueMethod", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); result = (TThostFtdcValueMethodType) ((arg1)->ValueMethod); vresult = SWIG_From_char(static_cast< char >(result)); return vresult; fail: return Qnil; } |
#ValueMethod=(*args) ⇒ Object
65008 65009 65010 65011 65012 65013 65014 65015 65016 65017 65018 65019 65020 65021 65022 65023 65024 65025 65026 65027 65028 65029 65030 65031 65032 65033 65034 |
# File 'ext/ctp/ctp.cxx', line 65008 SWIGINTERN VALUE _wrap_CThostFtdcOptionInstrMiniMarginField_ValueMethod_set(int argc, VALUE *argv, VALUE self) { CThostFtdcOptionInstrMiniMarginField *arg1 = (CThostFtdcOptionInstrMiniMarginField *) 0 ; TThostFtdcValueMethodType 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_CThostFtdcOptionInstrMiniMarginField, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOptionInstrMiniMarginField *","ValueMethod", 1, self )); } arg1 = reinterpret_cast< CThostFtdcOptionInstrMiniMarginField * >(argp1); ecode2 = SWIG_AsVal_char(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcValueMethodType","ValueMethod", 2, argv[0] )); } arg2 = static_cast< TThostFtdcValueMethodType >(val2); if (arg1) (arg1)->ValueMethod = arg2; return Qnil; fail: return Qnil; } |