Class: Ctp::CThostFtdcQuoteField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcQuoteField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #ActiveUserID(*args) ⇒ Object
- #ActiveUserID=(*args) ⇒ Object
- #AskHedgeFlag(*args) ⇒ Object
- #AskHedgeFlag=(*args) ⇒ Object
- #AskOffsetFlag(*args) ⇒ Object
- #AskOffsetFlag=(*args) ⇒ Object
- #AskOrderRef(*args) ⇒ Object
- #AskOrderRef=(*args) ⇒ Object
- #AskOrderSysID(*args) ⇒ Object
- #AskOrderSysID=(*args) ⇒ Object
- #AskPrice(*args) ⇒ Object
- #AskPrice=(*args) ⇒ Object
- #AskVolume(*args) ⇒ Object
- #AskVolume=(*args) ⇒ Object
- #BidHedgeFlag(*args) ⇒ Object
- #BidHedgeFlag=(*args) ⇒ Object
- #BidOffsetFlag(*args) ⇒ Object
- #BidOffsetFlag=(*args) ⇒ Object
- #BidOrderRef(*args) ⇒ Object
- #BidOrderRef=(*args) ⇒ Object
- #BidOrderSysID(*args) ⇒ Object
- #BidOrderSysID=(*args) ⇒ Object
- #BidPrice(*args) ⇒ Object
- #BidPrice=(*args) ⇒ Object
- #BidVolume(*args) ⇒ Object
- #BidVolume=(*args) ⇒ Object
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #BrokerQuoteSeq(*args) ⇒ Object
- #BrokerQuoteSeq=(*args) ⇒ Object
- #BusinessUnit(*args) ⇒ Object
- #BusinessUnit=(*args) ⇒ Object
- #CancelTime(*args) ⇒ Object
- #CancelTime=(*args) ⇒ Object
- #ClearingPartID(*args) ⇒ Object
- #ClearingPartID=(*args) ⇒ Object
- #ClientID(*args) ⇒ Object
- #ClientID=(*args) ⇒ Object
- #ExchangeID(*args) ⇒ Object
- #ExchangeID=(*args) ⇒ Object
- #ExchangeInstID(*args) ⇒ Object
- #ExchangeInstID=(*args) ⇒ Object
- #ForQuoteSysID(*args) ⇒ Object
- #ForQuoteSysID=(*args) ⇒ Object
- #FrontID(*args) ⇒ Object
- #FrontID=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InsertDate(*args) ⇒ Object
- #InsertDate=(*args) ⇒ Object
- #InsertTime(*args) ⇒ Object
- #InsertTime=(*args) ⇒ Object
- #InstallID(*args) ⇒ Object
- #InstallID=(*args) ⇒ Object
- #InstrumentID(*args) ⇒ Object
- #InstrumentID=(*args) ⇒ Object
- #InvestorID(*args) ⇒ Object
- #InvestorID=(*args) ⇒ Object
- #NotifySequence(*args) ⇒ Object
- #NotifySequence=(*args) ⇒ Object
- #OrderSubmitStatus(*args) ⇒ Object
- #OrderSubmitStatus=(*args) ⇒ Object
- #ParticipantID(*args) ⇒ Object
- #ParticipantID=(*args) ⇒ Object
- #QuoteLocalID(*args) ⇒ Object
- #QuoteLocalID=(*args) ⇒ Object
- #QuoteRef(*args) ⇒ Object
- #QuoteRef=(*args) ⇒ Object
- #QuoteStatus(*args) ⇒ Object
- #QuoteStatus=(*args) ⇒ Object
- #QuoteSysID(*args) ⇒ Object
- #QuoteSysID=(*args) ⇒ Object
- #RequestID(*args) ⇒ Object
- #RequestID=(*args) ⇒ Object
- #SequenceNo(*args) ⇒ Object
- #SequenceNo=(*args) ⇒ Object
- #SessionID(*args) ⇒ Object
- #SessionID=(*args) ⇒ Object
- #SettlementID(*args) ⇒ Object
- #SettlementID=(*args) ⇒ Object
- #StatusMsg(*args) ⇒ Object
- #StatusMsg=(*args) ⇒ Object
- #TraderID(*args) ⇒ Object
- #TraderID=(*args) ⇒ Object
- #TradingDay(*args) ⇒ Object
- #TradingDay=(*args) ⇒ Object
- #UserID(*args) ⇒ Object
- #UserID=(*args) ⇒ Object
- #UserProductInfo(*args) ⇒ Object
- #UserProductInfo=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
86732 86733 86734 86735 86736 86737 86738 86739 86740 86741 86742 86743 86744 86745 |
# File 'ext/ctp/ctp.cxx', line 86732
SWIGINTERN VALUE
_wrap_new_CThostFtdcQuoteField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcQuoteField";
CThostFtdcQuoteField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcQuoteField *)new CThostFtdcQuoteField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#ActiveUserID(*args) ⇒ Object
86454 86455 86456 86457 86458 86459 86460 86461 86462 86463 86464 86465 86466 86467 86468 86469 86470 86471 86472 86473 86474 86475 86476 86477 86478 86479 86480 86481 |
# File 'ext/ctp/ctp.cxx', line 86454
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ActiveUserID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ActiveUserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->ActiveUserID);
{
size_t size = SWIG_strnlen(result, 16);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ActiveUserID=(*args) ⇒ Object
86424 86425 86426 86427 86428 86429 86430 86431 86432 86433 86434 86435 86436 86437 86438 86439 86440 86441 86442 86443 86444 86445 86446 86447 86448 86449 86450 86451 |
# File 'ext/ctp/ctp.cxx', line 86424
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ActiveUserID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ActiveUserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 16);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [16]","ActiveUserID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ActiveUserID,arg2,16*sizeof(char));
else memset(arg1->ActiveUserID,0,16*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#AskHedgeFlag(*args) ⇒ Object
84963 84964 84965 84966 84967 84968 84969 84970 84971 84972 84973 84974 84975 84976 84977 84978 84979 84980 84981 84982 84983 84984 |
# File 'ext/ctp/ctp.cxx', line 84963
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskHedgeFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcHedgeFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskHedgeFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcHedgeFlagType) ((arg1)->AskHedgeFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#AskHedgeFlag=(*args) ⇒ Object
84934 84935 84936 84937 84938 84939 84940 84941 84942 84943 84944 84945 84946 84947 84948 84949 84950 84951 84952 84953 84954 84955 84956 84957 84958 84959 84960 |
# File 'ext/ctp/ctp.cxx', line 84934
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskHedgeFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcHedgeFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskHedgeFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcHedgeFlagType","AskHedgeFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcHedgeFlagType >(val2);
if (arg1) (arg1)->AskHedgeFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#AskOffsetFlag(*args) ⇒ Object
84857 84858 84859 84860 84861 84862 84863 84864 84865 84866 84867 84868 84869 84870 84871 84872 84873 84874 84875 84876 84877 84878 |
# File 'ext/ctp/ctp.cxx', line 84857
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskOffsetFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcOffsetFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskOffsetFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcOffsetFlagType) ((arg1)->AskOffsetFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#AskOffsetFlag=(*args) ⇒ Object
84828 84829 84830 84831 84832 84833 84834 84835 84836 84837 84838 84839 84840 84841 84842 84843 84844 84845 84846 84847 84848 84849 84850 84851 84852 84853 84854 |
# File 'ext/ctp/ctp.cxx', line 84828
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskOffsetFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcOffsetFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskOffsetFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcOffsetFlagType","AskOffsetFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcOffsetFlagType >(val2);
if (arg1) (arg1)->AskOffsetFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#AskOrderRef(*args) ⇒ Object
86567 86568 86569 86570 86571 86572 86573 86574 86575 86576 86577 86578 86579 86580 86581 86582 86583 86584 86585 86586 86587 86588 86589 86590 86591 86592 86593 86594 |
# File 'ext/ctp/ctp.cxx', line 86567
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskOrderRef_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskOrderRef", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->AskOrderRef);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#AskOrderRef=(*args) ⇒ Object
86537 86538 86539 86540 86541 86542 86543 86544 86545 86546 86547 86548 86549 86550 86551 86552 86553 86554 86555 86556 86557 86558 86559 86560 86561 86562 86563 86564 |
# File 'ext/ctp/ctp.cxx', line 86537
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskOrderRef_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskOrderRef", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","AskOrderRef", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->AskOrderRef,arg2,13*sizeof(char));
else memset(arg1->AskOrderRef,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#AskOrderSysID(*args) ⇒ Object
86108 86109 86110 86111 86112 86113 86114 86115 86116 86117 86118 86119 86120 86121 86122 86123 86124 86125 86126 86127 86128 86129 86130 86131 86132 86133 86134 86135 |
# File 'ext/ctp/ctp.cxx', line 86108
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskOrderSysID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskOrderSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->AskOrderSysID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#AskOrderSysID=(*args) ⇒ Object
86078 86079 86080 86081 86082 86083 86084 86085 86086 86087 86088 86089 86090 86091 86092 86093 86094 86095 86096 86097 86098 86099 86100 86101 86102 86103 86104 86105 |
# File 'ext/ctp/ctp.cxx', line 86078
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskOrderSysID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskOrderSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","AskOrderSysID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->AskOrderSysID,arg2,21*sizeof(char));
else memset(arg1->AskOrderSysID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#AskPrice(*args) ⇒ Object
84532 84533 84534 84535 84536 84537 84538 84539 84540 84541 84542 84543 84544 84545 84546 84547 84548 84549 84550 84551 84552 84553 |
# File 'ext/ctp/ctp.cxx', line 84532
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskPrice_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPriceType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskPrice", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcPriceType) ((arg1)->AskPrice);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#AskPrice=(*args) ⇒ Object
84503 84504 84505 84506 84507 84508 84509 84510 84511 84512 84513 84514 84515 84516 84517 84518 84519 84520 84521 84522 84523 84524 84525 84526 84527 84528 84529 |
# File 'ext/ctp/ctp.cxx', line 84503
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskPrice_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcPriceType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskPrice", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPriceType","AskPrice", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPriceType >(val2);
if (arg1) (arg1)->AskPrice = arg2;
return Qnil;
fail:
return Qnil;
}
|
#AskVolume(*args) ⇒ Object
84638 84639 84640 84641 84642 84643 84644 84645 84646 84647 84648 84649 84650 84651 84652 84653 84654 84655 84656 84657 84658 84659 |
# File 'ext/ctp/ctp.cxx', line 84638
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskVolume_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcVolumeType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskVolume", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcVolumeType) ((arg1)->AskVolume);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#AskVolume=(*args) ⇒ Object
84609 84610 84611 84612 84613 84614 84615 84616 84617 84618 84619 84620 84621 84622 84623 84624 84625 84626 84627 84628 84629 84630 84631 84632 84633 84634 84635 |
# File 'ext/ctp/ctp.cxx', line 84609
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_AskVolume_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcVolumeType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","AskVolume", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcVolumeType","AskVolume", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcVolumeType >(val2);
if (arg1) (arg1)->AskVolume = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BidHedgeFlag(*args) ⇒ Object
85016 85017 85018 85019 85020 85021 85022 85023 85024 85025 85026 85027 85028 85029 85030 85031 85032 85033 85034 85035 85036 85037 |
# File 'ext/ctp/ctp.cxx', line 85016
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidHedgeFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcHedgeFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidHedgeFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcHedgeFlagType) ((arg1)->BidHedgeFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BidHedgeFlag=(*args) ⇒ Object
84987 84988 84989 84990 84991 84992 84993 84994 84995 84996 84997 84998 84999 85000 85001 85002 85003 85004 85005 85006 85007 85008 85009 85010 85011 85012 85013 |
# File 'ext/ctp/ctp.cxx', line 84987
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidHedgeFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcHedgeFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidHedgeFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcHedgeFlagType","BidHedgeFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcHedgeFlagType >(val2);
if (arg1) (arg1)->BidHedgeFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BidOffsetFlag(*args) ⇒ Object
84910 84911 84912 84913 84914 84915 84916 84917 84918 84919 84920 84921 84922 84923 84924 84925 84926 84927 84928 84929 84930 84931 |
# File 'ext/ctp/ctp.cxx', line 84910
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidOffsetFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcOffsetFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidOffsetFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcOffsetFlagType) ((arg1)->BidOffsetFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BidOffsetFlag=(*args) ⇒ Object
84881 84882 84883 84884 84885 84886 84887 84888 84889 84890 84891 84892 84893 84894 84895 84896 84897 84898 84899 84900 84901 84902 84903 84904 84905 84906 84907 |
# File 'ext/ctp/ctp.cxx', line 84881
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidOffsetFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcOffsetFlagType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidOffsetFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcOffsetFlagType","BidOffsetFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcOffsetFlagType >(val2);
if (arg1) (arg1)->BidOffsetFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BidOrderRef(*args) ⇒ Object
86627 86628 86629 86630 86631 86632 86633 86634 86635 86636 86637 86638 86639 86640 86641 86642 86643 86644 86645 86646 86647 86648 86649 86650 86651 86652 86653 86654 |
# File 'ext/ctp/ctp.cxx', line 86627
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidOrderRef_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidOrderRef", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->BidOrderRef);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BidOrderRef=(*args) ⇒ Object
86597 86598 86599 86600 86601 86602 86603 86604 86605 86606 86607 86608 86609 86610 86611 86612 86613 86614 86615 86616 86617 86618 86619 86620 86621 86622 86623 86624 |
# File 'ext/ctp/ctp.cxx', line 86597
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidOrderRef_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidOrderRef", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","BidOrderRef", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BidOrderRef,arg2,13*sizeof(char));
else memset(arg1->BidOrderRef,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BidOrderSysID(*args) ⇒ Object
86168 86169 86170 86171 86172 86173 86174 86175 86176 86177 86178 86179 86180 86181 86182 86183 86184 86185 86186 86187 86188 86189 86190 86191 86192 86193 86194 86195 |
# File 'ext/ctp/ctp.cxx', line 86168
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidOrderSysID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidOrderSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->BidOrderSysID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BidOrderSysID=(*args) ⇒ Object
86138 86139 86140 86141 86142 86143 86144 86145 86146 86147 86148 86149 86150 86151 86152 86153 86154 86155 86156 86157 86158 86159 86160 86161 86162 86163 86164 86165 |
# File 'ext/ctp/ctp.cxx', line 86138
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidOrderSysID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidOrderSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","BidOrderSysID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BidOrderSysID,arg2,21*sizeof(char));
else memset(arg1->BidOrderSysID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BidPrice(*args) ⇒ Object
84585 84586 84587 84588 84589 84590 84591 84592 84593 84594 84595 84596 84597 84598 84599 84600 84601 84602 84603 84604 84605 84606 |
# File 'ext/ctp/ctp.cxx', line 84585
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidPrice_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPriceType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidPrice", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcPriceType) ((arg1)->BidPrice);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#BidPrice=(*args) ⇒ Object
84556 84557 84558 84559 84560 84561 84562 84563 84564 84565 84566 84567 84568 84569 84570 84571 84572 84573 84574 84575 84576 84577 84578 84579 84580 84581 84582 |
# File 'ext/ctp/ctp.cxx', line 84556
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidPrice_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcPriceType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidPrice", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPriceType","BidPrice", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPriceType >(val2);
if (arg1) (arg1)->BidPrice = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BidVolume(*args) ⇒ Object
84691 84692 84693 84694 84695 84696 84697 84698 84699 84700 84701 84702 84703 84704 84705 84706 84707 84708 84709 84710 84711 84712 |
# File 'ext/ctp/ctp.cxx', line 84691
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidVolume_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcVolumeType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidVolume", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcVolumeType) ((arg1)->BidVolume);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#BidVolume=(*args) ⇒ Object
84662 84663 84664 84665 84666 84667 84668 84669 84670 84671 84672 84673 84674 84675 84676 84677 84678 84679 84680 84681 84682 84683 84684 84685 84686 84687 84688 |
# File 'ext/ctp/ctp.cxx', line 84662
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BidVolume_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcVolumeType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BidVolume", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcVolumeType","BidVolume", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcVolumeType >(val2);
if (arg1) (arg1)->BidVolume = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BrokerID(*args) ⇒ Object
84233 84234 84235 84236 84237 84238 84239 84240 84241 84242 84243 84244 84245 84246 84247 84248 84249 84250 84251 84252 84253 84254 84255 84256 84257 84258 84259 84260 |
# File 'ext/ctp/ctp.cxx', line 84233
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
84203 84204 84205 84206 84207 84208 84209 84210 84211 84212 84213 84214 84215 84216 84217 84218 84219 84220 84221 84222 84223 84224 84225 84226 84227 84228 84229 84230 |
# File 'ext/ctp/ctp.cxx', line 84203
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#BrokerQuoteSeq(*args) ⇒ Object
86513 86514 86515 86516 86517 86518 86519 86520 86521 86522 86523 86524 86525 86526 86527 86528 86529 86530 86531 86532 86533 86534 |
# File 'ext/ctp/ctp.cxx', line 86513
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BrokerQuoteSeq_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSequenceNoType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BrokerQuoteSeq", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcSequenceNoType) ((arg1)->BrokerQuoteSeq);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#BrokerQuoteSeq=(*args) ⇒ Object
86484 86485 86486 86487 86488 86489 86490 86491 86492 86493 86494 86495 86496 86497 86498 86499 86500 86501 86502 86503 86504 86505 86506 86507 86508 86509 86510 |
# File 'ext/ctp/ctp.cxx', line 86484
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BrokerQuoteSeq_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcSequenceNoType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BrokerQuoteSeq", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSequenceNoType","BrokerQuoteSeq", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSequenceNoType >(val2);
if (arg1) (arg1)->BrokerQuoteSeq = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BusinessUnit(*args) ⇒ Object
84798 84799 84800 84801 84802 84803 84804 84805 84806 84807 84808 84809 84810 84811 84812 84813 84814 84815 84816 84817 84818 84819 84820 84821 84822 84823 84824 84825 |
# File 'ext/ctp/ctp.cxx', line 84798
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BusinessUnit_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BusinessUnit", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->BusinessUnit);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BusinessUnit=(*args) ⇒ Object
84768 84769 84770 84771 84772 84773 84774 84775 84776 84777 84778 84779 84780 84781 84782 84783 84784 84785 84786 84787 84788 84789 84790 84791 84792 84793 84794 84795 |
# File 'ext/ctp/ctp.cxx', line 84768
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_BusinessUnit_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","BusinessUnit", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","BusinessUnit", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BusinessUnit,arg2,21*sizeof(char));
else memset(arg1->BusinessUnit,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#CancelTime(*args) ⇒ Object
85882 85883 85884 85885 85886 85887 85888 85889 85890 85891 85892 85893 85894 85895 85896 85897 85898 85899 85900 85901 85902 85903 85904 85905 85906 85907 85908 85909 |
# File 'ext/ctp/ctp.cxx', line 85882
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_CancelTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","CancelTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->CancelTime);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#CancelTime=(*args) ⇒ Object
85852 85853 85854 85855 85856 85857 85858 85859 85860 85861 85862 85863 85864 85865 85866 85867 85868 85869 85870 85871 85872 85873 85874 85875 85876 85877 85878 85879 |
# File 'ext/ctp/ctp.cxx', line 85852
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_CancelTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","CancelTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","CancelTime", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->CancelTime,arg2,9*sizeof(char));
else memset(arg1->CancelTime,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ClearingPartID(*args) ⇒ Object
85995 85996 85997 85998 85999 86000 86001 86002 86003 86004 86005 86006 86007 86008 86009 86010 86011 86012 86013 86014 86015 86016 86017 86018 86019 86020 86021 86022 |
# File 'ext/ctp/ctp.cxx', line 85995
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ClearingPartID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ClearingPartID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->ClearingPartID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ClearingPartID=(*args) ⇒ Object
85965 85966 85967 85968 85969 85970 85971 85972 85973 85974 85975 85976 85977 85978 85979 85980 85981 85982 85983 85984 85985 85986 85987 85988 85989 85990 85991 85992 |
# File 'ext/ctp/ctp.cxx', line 85965
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ClearingPartID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ClearingPartID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","ClearingPartID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ClearingPartID,arg2,11*sizeof(char));
else memset(arg1->ClearingPartID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ClientID(*args) ⇒ Object
85250 85251 85252 85253 85254 85255 85256 85257 85258 85259 85260 85261 85262 85263 85264 85265 85266 85267 85268 85269 85270 85271 85272 85273 85274 85275 85276 85277 |
# File 'ext/ctp/ctp.cxx', line 85250
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ClientID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ClientID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->ClientID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ClientID=(*args) ⇒ Object
85220 85221 85222 85223 85224 85225 85226 85227 85228 85229 85230 85231 85232 85233 85234 85235 85236 85237 85238 85239 85240 85241 85242 85243 85244 85245 85246 85247 |
# File 'ext/ctp/ctp.cxx', line 85220
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ClientID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ClientID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","ClientID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ClientID,arg2,11*sizeof(char));
else memset(arg1->ClientID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ExchangeID(*args) ⇒ Object
85130 85131 85132 85133 85134 85135 85136 85137 85138 85139 85140 85141 85142 85143 85144 85145 85146 85147 85148 85149 85150 85151 85152 85153 85154 85155 85156 85157 |
# File 'ext/ctp/ctp.cxx', line 85130
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ExchangeID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ExchangeID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
85100 85101 85102 85103 85104 85105 85106 85107 85108 85109 85110 85111 85112 85113 85114 85115 85116 85117 85118 85119 85120 85121 85122 85123 85124 85125 85126 85127 |
# File 'ext/ctp/ctp.cxx', line 85100
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ExchangeID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ExchangeID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#ExchangeInstID(*args) ⇒ Object
85310 85311 85312 85313 85314 85315 85316 85317 85318 85319 85320 85321 85322 85323 85324 85325 85326 85327 85328 85329 85330 85331 85332 85333 85334 85335 85336 85337 |
# File 'ext/ctp/ctp.cxx', line 85310
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ExchangeInstID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ExchangeInstID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->ExchangeInstID);
{
size_t size = SWIG_strnlen(result, 31);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ExchangeInstID=(*args) ⇒ Object
85280 85281 85282 85283 85284 85285 85286 85287 85288 85289 85290 85291 85292 85293 85294 85295 85296 85297 85298 85299 85300 85301 85302 85303 85304 85305 85306 85307 |
# File 'ext/ctp/ctp.cxx', line 85280
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ExchangeInstID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ExchangeInstID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 31);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [31]","ExchangeInstID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ExchangeInstID,arg2,31*sizeof(char));
else memset(arg1->ExchangeInstID,0,31*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ForQuoteSysID(*args) ⇒ Object
86687 86688 86689 86690 86691 86692 86693 86694 86695 86696 86697 86698 86699 86700 86701 86702 86703 86704 86705 86706 86707 86708 86709 86710 86711 86712 86713 86714 |
# File 'ext/ctp/ctp.cxx', line 86687
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ForQuoteSysID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ForQuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->ForQuoteSysID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ForQuoteSysID=(*args) ⇒ Object
86657 86658 86659 86660 86661 86662 86663 86664 86665 86666 86667 86668 86669 86670 86671 86672 86673 86674 86675 86676 86677 86678 86679 86680 86681 86682 86683 86684 |
# File 'ext/ctp/ctp.cxx', line 86657
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ForQuoteSysID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ForQuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","ForQuoteSysID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ForQuoteSysID,arg2,21*sizeof(char));
else memset(arg1->ForQuoteSysID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#FrontID(*args) ⇒ Object
86227 86228 86229 86230 86231 86232 86233 86234 86235 86236 86237 86238 86239 86240 86241 86242 86243 86244 86245 86246 86247 86248 |
# File 'ext/ctp/ctp.cxx', line 86227
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_FrontID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","FrontID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcFrontIDType) ((arg1)->FrontID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#FrontID=(*args) ⇒ Object
86198 86199 86200 86201 86202 86203 86204 86205 86206 86207 86208 86209 86210 86211 86212 86213 86214 86215 86216 86217 86218 86219 86220 86221 86222 86223 86224 |
# File 'ext/ctp/ctp.cxx', line 86198
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_FrontID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","FrontID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#InsertDate(*args) ⇒ Object
85762 85763 85764 85765 85766 85767 85768 85769 85770 85771 85772 85773 85774 85775 85776 85777 85778 85779 85780 85781 85782 85783 85784 85785 85786 85787 85788 85789 |
# File 'ext/ctp/ctp.cxx', line 85762
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InsertDate_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InsertDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->InsertDate);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InsertDate=(*args) ⇒ Object
85732 85733 85734 85735 85736 85737 85738 85739 85740 85741 85742 85743 85744 85745 85746 85747 85748 85749 85750 85751 85752 85753 85754 85755 85756 85757 85758 85759 |
# File 'ext/ctp/ctp.cxx', line 85732
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InsertDate_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InsertDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","InsertDate", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InsertDate,arg2,9*sizeof(char));
else memset(arg1->InsertDate,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InsertTime(*args) ⇒ Object
85822 85823 85824 85825 85826 85827 85828 85829 85830 85831 85832 85833 85834 85835 85836 85837 85838 85839 85840 85841 85842 85843 85844 85845 85846 85847 85848 85849 |
# File 'ext/ctp/ctp.cxx', line 85822
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InsertTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InsertTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->InsertTime);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InsertTime=(*args) ⇒ Object
85792 85793 85794 85795 85796 85797 85798 85799 85800 85801 85802 85803 85804 85805 85806 85807 85808 85809 85810 85811 85812 85813 85814 85815 85816 85817 85818 85819 |
# File 'ext/ctp/ctp.cxx', line 85792
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InsertTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InsertTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","InsertTime", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InsertTime,arg2,9*sizeof(char));
else memset(arg1->InsertTime,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InstallID(*args) ⇒ Object
85429 85430 85431 85432 85433 85434 85435 85436 85437 85438 85439 85440 85441 85442 85443 85444 85445 85446 85447 85448 85449 85450 |
# File 'ext/ctp/ctp.cxx', line 85429
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InstallID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcInstallIDType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcInstallIDType) ((arg1)->InstallID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#InstallID=(*args) ⇒ Object
85400 85401 85402 85403 85404 85405 85406 85407 85408 85409 85410 85411 85412 85413 85414 85415 85416 85417 85418 85419 85420 85421 85422 85423 85424 85425 85426 |
# File 'ext/ctp/ctp.cxx', line 85400
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InstallID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcInstallIDType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcInstallIDType","InstallID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcInstallIDType >(val2);
if (arg1) (arg1)->InstallID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#InstrumentID(*args) ⇒ Object
84353 84354 84355 84356 84357 84358 84359 84360 84361 84362 84363 84364 84365 84366 84367 84368 84369 84370 84371 84372 84373 84374 84375 84376 84377 84378 84379 84380 |
# File 'ext/ctp/ctp.cxx', line 84353
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InstrumentID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InstrumentID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
84323 84324 84325 84326 84327 84328 84329 84330 84331 84332 84333 84334 84335 84336 84337 84338 84339 84340 84341 84342 84343 84344 84345 84346 84347 84348 84349 84350 |
# File 'ext/ctp/ctp.cxx', line 84323
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InstrumentID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InstrumentID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
84293 84294 84295 84296 84297 84298 84299 84300 84301 84302 84303 84304 84305 84306 84307 84308 84309 84310 84311 84312 84313 84314 84315 84316 84317 84318 84319 84320 |
# File 'ext/ctp/ctp.cxx', line 84293
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InvestorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
84263 84264 84265 84266 84267 84268 84269 84270 84271 84272 84273 84274 84275 84276 84277 84278 84279 84280 84281 84282 84283 84284 84285 84286 84287 84288 84289 84290 |
# File 'ext/ctp/ctp.cxx', line 84263
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_InvestorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#NotifySequence(*args) ⇒ Object
85482 85483 85484 85485 85486 85487 85488 85489 85490 85491 85492 85493 85494 85495 85496 85497 85498 85499 85500 85501 85502 85503 |
# File 'ext/ctp/ctp.cxx', line 85482
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_NotifySequence_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSequenceNoType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","NotifySequence", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcSequenceNoType) ((arg1)->NotifySequence);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#NotifySequence=(*args) ⇒ Object
85453 85454 85455 85456 85457 85458 85459 85460 85461 85462 85463 85464 85465 85466 85467 85468 85469 85470 85471 85472 85473 85474 85475 85476 85477 85478 85479 |
# File 'ext/ctp/ctp.cxx', line 85453
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_NotifySequence_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcSequenceNoType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","NotifySequence", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSequenceNoType","NotifySequence", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSequenceNoType >(val2);
if (arg1) (arg1)->NotifySequence = arg2;
return Qnil;
fail:
return Qnil;
}
|
#OrderSubmitStatus(*args) ⇒ Object
85535 85536 85537 85538 85539 85540 85541 85542 85543 85544 85545 85546 85547 85548 85549 85550 85551 85552 85553 85554 85555 85556 |
# File 'ext/ctp/ctp.cxx', line 85535
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_OrderSubmitStatus_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcOrderSubmitStatusType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","OrderSubmitStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcOrderSubmitStatusType) ((arg1)->OrderSubmitStatus);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#OrderSubmitStatus=(*args) ⇒ Object
85506 85507 85508 85509 85510 85511 85512 85513 85514 85515 85516 85517 85518 85519 85520 85521 85522 85523 85524 85525 85526 85527 85528 85529 85530 85531 85532 |
# File 'ext/ctp/ctp.cxx', line 85506
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_OrderSubmitStatus_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcOrderSubmitStatusType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","OrderSubmitStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcOrderSubmitStatusType","OrderSubmitStatus", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcOrderSubmitStatusType >(val2);
if (arg1) (arg1)->OrderSubmitStatus = arg2;
return Qnil;
fail:
return Qnil;
}
|
#ParticipantID(*args) ⇒ Object
85190 85191 85192 85193 85194 85195 85196 85197 85198 85199 85200 85201 85202 85203 85204 85205 85206 85207 85208 85209 85210 85211 85212 85213 85214 85215 85216 85217 |
# File 'ext/ctp/ctp.cxx', line 85190
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ParticipantID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ParticipantID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->ParticipantID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ParticipantID=(*args) ⇒ Object
85160 85161 85162 85163 85164 85165 85166 85167 85168 85169 85170 85171 85172 85173 85174 85175 85176 85177 85178 85179 85180 85181 85182 85183 85184 85185 85186 85187 |
# File 'ext/ctp/ctp.cxx', line 85160
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_ParticipantID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","ParticipantID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","ParticipantID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ParticipantID,arg2,11*sizeof(char));
else memset(arg1->ParticipantID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#QuoteLocalID(*args) ⇒ Object
85070 85071 85072 85073 85074 85075 85076 85077 85078 85079 85080 85081 85082 85083 85084 85085 85086 85087 85088 85089 85090 85091 85092 85093 85094 85095 85096 85097 |
# File 'ext/ctp/ctp.cxx', line 85070
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteLocalID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteLocalID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->QuoteLocalID);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#QuoteLocalID=(*args) ⇒ Object
85040 85041 85042 85043 85044 85045 85046 85047 85048 85049 85050 85051 85052 85053 85054 85055 85056 85057 85058 85059 85060 85061 85062 85063 85064 85065 85066 85067 |
# File 'ext/ctp/ctp.cxx', line 85040
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteLocalID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteLocalID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","QuoteLocalID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->QuoteLocalID,arg2,13*sizeof(char));
else memset(arg1->QuoteLocalID,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#QuoteRef(*args) ⇒ Object
84413 84414 84415 84416 84417 84418 84419 84420 84421 84422 84423 84424 84425 84426 84427 84428 84429 84430 84431 84432 84433 84434 84435 84436 84437 84438 84439 84440 |
# File 'ext/ctp/ctp.cxx', line 84413
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteRef_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteRef", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->QuoteRef);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#QuoteRef=(*args) ⇒ Object
84383 84384 84385 84386 84387 84388 84389 84390 84391 84392 84393 84394 84395 84396 84397 84398 84399 84400 84401 84402 84403 84404 84405 84406 84407 84408 84409 84410 |
# File 'ext/ctp/ctp.cxx', line 84383
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteRef_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteRef", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","QuoteRef", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->QuoteRef,arg2,13*sizeof(char));
else memset(arg1->QuoteRef,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#QuoteStatus(*args) ⇒ Object
85941 85942 85943 85944 85945 85946 85947 85948 85949 85950 85951 85952 85953 85954 85955 85956 85957 85958 85959 85960 85961 85962 |
# File 'ext/ctp/ctp.cxx', line 85941
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteStatus_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcOrderStatusType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcOrderStatusType) ((arg1)->QuoteStatus);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#QuoteStatus=(*args) ⇒ Object
85912 85913 85914 85915 85916 85917 85918 85919 85920 85921 85922 85923 85924 85925 85926 85927 85928 85929 85930 85931 85932 85933 85934 85935 85936 85937 85938 |
# File 'ext/ctp/ctp.cxx', line 85912
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteStatus_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcOrderStatusType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcOrderStatusType","QuoteStatus", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcOrderStatusType >(val2);
if (arg1) (arg1)->QuoteStatus = arg2;
return Qnil;
fail:
return Qnil;
}
|
#QuoteSysID(*args) ⇒ Object
85702 85703 85704 85705 85706 85707 85708 85709 85710 85711 85712 85713 85714 85715 85716 85717 85718 85719 85720 85721 85722 85723 85724 85725 85726 85727 85728 85729 |
# File 'ext/ctp/ctp.cxx', line 85702
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteSysID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->QuoteSysID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#QuoteSysID=(*args) ⇒ Object
85672 85673 85674 85675 85676 85677 85678 85679 85680 85681 85682 85683 85684 85685 85686 85687 85688 85689 85690 85691 85692 85693 85694 85695 85696 85697 85698 85699 |
# File 'ext/ctp/ctp.cxx', line 85672
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_QuoteSysID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","QuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","QuoteSysID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->QuoteSysID,arg2,21*sizeof(char));
else memset(arg1->QuoteSysID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#RequestID(*args) ⇒ Object
84744 84745 84746 84747 84748 84749 84750 84751 84752 84753 84754 84755 84756 84757 84758 84759 84760 84761 84762 84763 84764 84765 |
# File 'ext/ctp/ctp.cxx', line 84744
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_RequestID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RequestID=(*args) ⇒ Object
84715 84716 84717 84718 84719 84720 84721 84722 84723 84724 84725 84726 84727 84728 84729 84730 84731 84732 84733 84734 84735 84736 84737 84738 84739 84740 84741 |
# File 'ext/ctp/ctp.cxx', line 84715
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_RequestID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#SequenceNo(*args) ⇒ Object
86054 86055 86056 86057 86058 86059 86060 86061 86062 86063 86064 86065 86066 86067 86068 86069 86070 86071 86072 86073 86074 86075 |
# File 'ext/ctp/ctp.cxx', line 86054
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_SequenceNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSequenceNoType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","SequenceNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcSequenceNoType) ((arg1)->SequenceNo);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SequenceNo=(*args) ⇒ Object
86025 86026 86027 86028 86029 86030 86031 86032 86033 86034 86035 86036 86037 86038 86039 86040 86041 86042 86043 86044 86045 86046 86047 86048 86049 86050 86051 |
# File 'ext/ctp/ctp.cxx', line 86025
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_SequenceNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcSequenceNoType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","SequenceNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSequenceNoType","SequenceNo", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSequenceNoType >(val2);
if (arg1) (arg1)->SequenceNo = arg2;
return Qnil;
fail:
return Qnil;
}
|
#SessionID(*args) ⇒ Object
86280 86281 86282 86283 86284 86285 86286 86287 86288 86289 86290 86291 86292 86293 86294 86295 86296 86297 86298 86299 86300 86301 |
# File 'ext/ctp/ctp.cxx', line 86280
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_SessionID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcSessionIDType) ((arg1)->SessionID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SessionID=(*args) ⇒ Object
86251 86252 86253 86254 86255 86256 86257 86258 86259 86260 86261 86262 86263 86264 86265 86266 86267 86268 86269 86270 86271 86272 86273 86274 86275 86276 86277 |
# File 'ext/ctp/ctp.cxx', line 86251
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_SessionID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#SettlementID(*args) ⇒ Object
85648 85649 85650 85651 85652 85653 85654 85655 85656 85657 85658 85659 85660 85661 85662 85663 85664 85665 85666 85667 85668 85669 |
# File 'ext/ctp/ctp.cxx', line 85648
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_SettlementID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSettlementIDType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","SettlementID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (TThostFtdcSettlementIDType) ((arg1)->SettlementID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SettlementID=(*args) ⇒ Object
85619 85620 85621 85622 85623 85624 85625 85626 85627 85628 85629 85630 85631 85632 85633 85634 85635 85636 85637 85638 85639 85640 85641 85642 85643 85644 85645 |
# File 'ext/ctp/ctp.cxx', line 85619
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_SettlementID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
TThostFtdcSettlementIDType 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","SettlementID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSettlementIDType","SettlementID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSettlementIDType >(val2);
if (arg1) (arg1)->SettlementID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#StatusMsg(*args) ⇒ Object
86394 86395 86396 86397 86398 86399 86400 86401 86402 86403 86404 86405 86406 86407 86408 86409 86410 86411 86412 86413 86414 86415 86416 86417 86418 86419 86420 86421 |
# File 'ext/ctp/ctp.cxx', line 86394
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_StatusMsg_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","StatusMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->StatusMsg);
{
size_t size = SWIG_strnlen(result, 81);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#StatusMsg=(*args) ⇒ Object
86364 86365 86366 86367 86368 86369 86370 86371 86372 86373 86374 86375 86376 86377 86378 86379 86380 86381 86382 86383 86384 86385 86386 86387 86388 86389 86390 86391 |
# File 'ext/ctp/ctp.cxx', line 86364
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_StatusMsg_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[81] ;
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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","StatusMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 81);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [81]","StatusMsg", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->StatusMsg,arg2,81*sizeof(char));
else memset(arg1->StatusMsg,0,81*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TraderID(*args) ⇒ Object
85370 85371 85372 85373 85374 85375 85376 85377 85378 85379 85380 85381 85382 85383 85384 85385 85386 85387 85388 85389 85390 85391 85392 85393 85394 85395 85396 85397 |
# File 'ext/ctp/ctp.cxx', line 85370
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_TraderID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","TraderID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->TraderID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TraderID=(*args) ⇒ Object
85340 85341 85342 85343 85344 85345 85346 85347 85348 85349 85350 85351 85352 85353 85354 85355 85356 85357 85358 85359 85360 85361 85362 85363 85364 85365 85366 85367 |
# File 'ext/ctp/ctp.cxx', line 85340
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_TraderID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","TraderID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","TraderID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TraderID,arg2,21*sizeof(char));
else memset(arg1->TraderID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradingDay(*args) ⇒ Object
85589 85590 85591 85592 85593 85594 85595 85596 85597 85598 85599 85600 85601 85602 85603 85604 85605 85606 85607 85608 85609 85610 85611 85612 85613 85614 85615 85616 |
# File 'ext/ctp/ctp.cxx', line 85589
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_TradingDay_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
85559 85560 85561 85562 85563 85564 85565 85566 85567 85568 85569 85570 85571 85572 85573 85574 85575 85576 85577 85578 85579 85580 85581 85582 85583 85584 85585 85586 |
# File 'ext/ctp/ctp.cxx', line 85559
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_TradingDay_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#UserID(*args) ⇒ Object
84473 84474 84475 84476 84477 84478 84479 84480 84481 84482 84483 84484 84485 84486 84487 84488 84489 84490 84491 84492 84493 84494 84495 84496 84497 84498 84499 84500 |
# File 'ext/ctp/ctp.cxx', line 84473
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_UserID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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
84443 84444 84445 84446 84447 84448 84449 84450 84451 84452 84453 84454 84455 84456 84457 84458 84459 84460 84461 84462 84463 84464 84465 84466 84467 84468 84469 84470 |
# File 'ext/ctp/ctp.cxx', line 84443
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_UserID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(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;
}
|
#UserProductInfo(*args) ⇒ Object
86334 86335 86336 86337 86338 86339 86340 86341 86342 86343 86344 86345 86346 86347 86348 86349 86350 86351 86352 86353 86354 86355 86356 86357 86358 86359 86360 86361 |
# File 'ext/ctp/ctp.cxx', line 86334
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_UserProductInfo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","UserProductInfo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
result = (char *) ((arg1)->UserProductInfo);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#UserProductInfo=(*args) ⇒ Object
86304 86305 86306 86307 86308 86309 86310 86311 86312 86313 86314 86315 86316 86317 86318 86319 86320 86321 86322 86323 86324 86325 86326 86327 86328 86329 86330 86331 |
# File 'ext/ctp/ctp.cxx', line 86304
SWIGINTERN VALUE
_wrap_CThostFtdcQuoteField_UserProductInfo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQuoteField *arg1 = (CThostFtdcQuoteField *) 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_CThostFtdcQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQuoteField *","UserProductInfo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","UserProductInfo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->UserProductInfo,arg2,11*sizeof(char));
else memset(arg1->UserProductInfo,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|