Class: Ctp::CThostFtdcReqRepealField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcReqRepealField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #AccountID(*args) ⇒ Object
- #AccountID=(*args) ⇒ Object
- #BankAccount(*args) ⇒ Object
- #BankAccount=(*args) ⇒ Object
- #BankAccType(*args) ⇒ Object
- #BankAccType=(*args) ⇒ Object
- #BankBranchID(*args) ⇒ Object
- #BankBranchID=(*args) ⇒ Object
- #BankID(*args) ⇒ Object
- #BankID=(*args) ⇒ Object
- #BankPassWord(*args) ⇒ Object
- #BankPassWord=(*args) ⇒ Object
- #BankPwdFlag(*args) ⇒ Object
- #BankPwdFlag=(*args) ⇒ Object
- #BankRepealFlag(*args) ⇒ Object
- #BankRepealFlag=(*args) ⇒ Object
- #BankRepealSerial(*args) ⇒ Object
- #BankRepealSerial=(*args) ⇒ Object
- #BankSecuAcc(*args) ⇒ Object
- #BankSecuAcc=(*args) ⇒ Object
- #BankSecuAccType(*args) ⇒ Object
- #BankSecuAccType=(*args) ⇒ Object
- #BankSerial(*args) ⇒ Object
- #BankSerial=(*args) ⇒ Object
- #BrokerBranchID(*args) ⇒ Object
- #BrokerBranchID=(*args) ⇒ Object
- #BrokerFee(*args) ⇒ Object
- #BrokerFee=(*args) ⇒ Object
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #BrokerIDByBank(*args) ⇒ Object
- #BrokerIDByBank=(*args) ⇒ Object
- #BrokerRepealFlag(*args) ⇒ Object
- #BrokerRepealFlag=(*args) ⇒ Object
- #CurrencyID(*args) ⇒ Object
- #CurrencyID=(*args) ⇒ Object
- #CustFee(*args) ⇒ Object
- #CustFee=(*args) ⇒ Object
- #CustomerName(*args) ⇒ Object
- #CustomerName=(*args) ⇒ Object
- #CustType(*args) ⇒ Object
- #CustType=(*args) ⇒ Object
- #DeviceID(*args) ⇒ Object
- #DeviceID=(*args) ⇒ Object
- #Digest(*args) ⇒ Object
- #Digest=(*args) ⇒ Object
- #FeePayFlag(*args) ⇒ Object
- #FeePayFlag=(*args) ⇒ Object
- #FutureFetchAmount(*args) ⇒ Object
- #FutureFetchAmount=(*args) ⇒ Object
- #FutureRepealSerial(*args) ⇒ Object
- #FutureRepealSerial=(*args) ⇒ Object
- #FutureSerial(*args) ⇒ Object
- #FutureSerial=(*args) ⇒ Object
- #IdCardType(*args) ⇒ Object
- #IdCardType=(*args) ⇒ Object
- #IdentifiedCardNo(*args) ⇒ Object
- #IdentifiedCardNo=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InstallID(*args) ⇒ Object
- #InstallID=(*args) ⇒ Object
- #LastFragment(*args) ⇒ Object
- #LastFragment=(*args) ⇒ Object
- #Message(*args) ⇒ Object
- #Message=(*args) ⇒ Object
- #OperNo(*args) ⇒ Object
- #OperNo=(*args) ⇒ Object
- #Password(*args) ⇒ Object
- #Password=(*args) ⇒ Object
- #PlateRepealSerial(*args) ⇒ Object
- #PlateRepealSerial=(*args) ⇒ Object
- #PlateSerial(*args) ⇒ Object
- #PlateSerial=(*args) ⇒ Object
- #RepealedTimes(*args) ⇒ Object
- #RepealedTimes=(*args) ⇒ Object
- #RepealTimeInterval(*args) ⇒ Object
- #RepealTimeInterval=(*args) ⇒ Object
- #RequestID(*args) ⇒ Object
- #RequestID=(*args) ⇒ Object
- #SecuPwdFlag(*args) ⇒ Object
- #SecuPwdFlag=(*args) ⇒ Object
- #SessionID(*args) ⇒ Object
- #SessionID=(*args) ⇒ Object
- #TID(*args) ⇒ Object
- #TID=(*args) ⇒ Object
- #TradeAmount(*args) ⇒ Object
- #TradeAmount=(*args) ⇒ Object
- #TradeCode(*args) ⇒ Object
- #TradeCode=(*args) ⇒ Object
- #TradeDate(*args) ⇒ Object
- #TradeDate=(*args) ⇒ Object
- #TradeTime(*args) ⇒ Object
- #TradeTime=(*args) ⇒ Object
- #TradingDay(*args) ⇒ Object
- #TradingDay=(*args) ⇒ Object
- #TransferStatus(*args) ⇒ Object
- #TransferStatus=(*args) ⇒ Object
- #UserID(*args) ⇒ Object
- #UserID=(*args) ⇒ Object
- #VerifyCertNoFlag(*args) ⇒ Object
- #VerifyCertNoFlag=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
149950 149951 149952 149953 149954 149955 149956 149957 149958 149959 149960 149961 149962 149963 |
# File 'ext/ctp/ctp.cxx', line 149950
SWIGINTERN VALUE
_wrap_new_CThostFtdcReqRepealField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcReqRepealField";
CThostFtdcReqRepealField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcReqRepealField *)new CThostFtdcReqRepealField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#AccountID(*args) ⇒ Object
148570 148571 148572 148573 148574 148575 148576 148577 148578 148579 148580 148581 148582 148583 148584 148585 148586 148587 148588 148589 148590 148591 148592 148593 148594 148595 148596 148597 |
# File 'ext/ctp/ctp.cxx', line 148570
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_AccountID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","AccountID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->AccountID);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#AccountID=(*args) ⇒ Object
148540 148541 148542 148543 148544 148545 148546 148547 148548 148549 148550 148551 148552 148553 148554 148555 148556 148557 148558 148559 148560 148561 148562 148563 148564 148565 148566 148567 |
# File 'ext/ctp/ctp.cxx', line 148540
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_AccountID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","AccountID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","AccountID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->AccountID,arg2,13*sizeof(char));
else memset(arg1->AccountID,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankAccount(*args) ⇒ Object
148450 148451 148452 148453 148454 148455 148456 148457 148458 148459 148460 148461 148462 148463 148464 148465 148466 148467 148468 148469 148470 148471 148472 148473 148474 148475 148476 148477 |
# File 'ext/ctp/ctp.cxx', line 148450
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankAccount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankAccount);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankAccount=(*args) ⇒ Object
148420 148421 148422 148423 148424 148425 148426 148427 148428 148429 148430 148431 148432 148433 148434 148435 148436 148437 148438 148439 148440 148441 148442 148443 148444 148445 148446 148447 |
# File 'ext/ctp/ctp.cxx', line 148420
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankAccount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","BankAccount", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankAccount,arg2,41*sizeof(char));
else memset(arg1->BankAccount,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankAccType(*args) ⇒ Object
149353 149354 149355 149356 149357 149358 149359 149360 149361 149362 149363 149364 149365 149366 149367 149368 149369 149370 149371 149372 149373 149374 |
# File 'ext/ctp/ctp.cxx', line 149353
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankAccType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBankAccTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcBankAccTypeType) ((arg1)->BankAccType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankAccType=(*args) ⇒ Object
149324 149325 149326 149327 149328 149329 149330 149331 149332 149333 149334 149335 149336 149337 149338 149339 149340 149341 149342 149343 149344 149345 149346 149347 149348 149349 149350 |
# File 'ext/ctp/ctp.cxx', line 149324
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankAccType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcBankAccTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBankAccTypeType","BankAccType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBankAccTypeType >(val2);
if (arg1) (arg1)->BankAccType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankBranchID(*args) ⇒ Object
147645 147646 147647 147648 147649 147650 147651 147652 147653 147654 147655 147656 147657 147658 147659 147660 147661 147662 147663 147664 147665 147666 147667 147668 147669 147670 147671 147672 |
# File 'ext/ctp/ctp.cxx', line 147645
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankBranchID);
{
size_t size = SWIG_strnlen(result, 5);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankBranchID=(*args) ⇒ Object
147615 147616 147617 147618 147619 147620 147621 147622 147623 147624 147625 147626 147627 147628 147629 147630 147631 147632 147633 147634 147635 147636 147637 147638 147639 147640 147641 147642 |
# File 'ext/ctp/ctp.cxx', line 147615
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[5] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 5);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [5]","BankBranchID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankBranchID,arg2,5*sizeof(char));
else memset(arg1->BankBranchID,0,5*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankID(*args) ⇒ Object
147585 147586 147587 147588 147589 147590 147591 147592 147593 147594 147595 147596 147597 147598 147599 147600 147601 147602 147603 147604 147605 147606 147607 147608 147609 147610 147611 147612 |
# File 'ext/ctp/ctp.cxx', line 147585
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankID);
{
size_t size = SWIG_strnlen(result, 4);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankID=(*args) ⇒ Object
147555 147556 147557 147558 147559 147560 147561 147562 147563 147564 147565 147566 147567 147568 147569 147570 147571 147572 147573 147574 147575 147576 147577 147578 147579 147580 147581 147582 |
# File 'ext/ctp/ctp.cxx', line 147555
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[4] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","BankID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankID,arg2,4*sizeof(char));
else memset(arg1->BankID,0,4*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankPassWord(*args) ⇒ Object
148510 148511 148512 148513 148514 148515 148516 148517 148518 148519 148520 148521 148522 148523 148524 148525 148526 148527 148528 148529 148530 148531 148532 148533 148534 148535 148536 148537 |
# File 'ext/ctp/ctp.cxx', line 148510
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankPassWord_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankPassWord);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankPassWord=(*args) ⇒ Object
148480 148481 148482 148483 148484 148485 148486 148487 148488 148489 148490 148491 148492 148493 148494 148495 148496 148497 148498 148499 148500 148501 148502 148503 148504 148505 148506 148507 |
# File 'ext/ctp/ctp.cxx', line 148480
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankPassWord_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","BankPassWord", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankPassWord,arg2,41*sizeof(char));
else memset(arg1->BankPassWord,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankPwdFlag(*args) ⇒ Object
149639 149640 149641 149642 149643 149644 149645 149646 149647 149648 149649 149650 149651 149652 149653 149654 149655 149656 149657 149658 149659 149660 |
# File 'ext/ctp/ctp.cxx', line 149639
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankPwdFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPwdFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcPwdFlagType) ((arg1)->BankPwdFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankPwdFlag=(*args) ⇒ Object
149610 149611 149612 149613 149614 149615 149616 149617 149618 149619 149620 149621 149622 149623 149624 149625 149626 149627 149628 149629 149630 149631 149632 149633 149634 149635 149636 |
# File 'ext/ctp/ctp.cxx', line 149610
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankPwdFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcPwdFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPwdFlagType","BankPwdFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPwdFlagType >(val2);
if (arg1) (arg1)->BankPwdFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankRepealFlag(*args) ⇒ Object
147252 147253 147254 147255 147256 147257 147258 147259 147260 147261 147262 147263 147264 147265 147266 147267 147268 147269 147270 147271 147272 147273 |
# File 'ext/ctp/ctp.cxx', line 147252
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankRepealFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBankRepealFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcBankRepealFlagType) ((arg1)->BankRepealFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankRepealFlag=(*args) ⇒ Object
147223 147224 147225 147226 147227 147228 147229 147230 147231 147232 147233 147234 147235 147236 147237 147238 147239 147240 147241 147242 147243 147244 147245 147246 147247 147248 147249 |
# File 'ext/ctp/ctp.cxx', line 147223
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankRepealFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcBankRepealFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBankRepealFlagType","BankRepealFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBankRepealFlagType >(val2);
if (arg1) (arg1)->BankRepealFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankRepealSerial(*args) ⇒ Object
147412 147413 147414 147415 147416 147417 147418 147419 147420 147421 147422 147423 147424 147425 147426 147427 147428 147429 147430 147431 147432 147433 147434 147435 147436 147437 147438 147439 |
# File 'ext/ctp/ctp.cxx', line 147412
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankRepealSerial);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankRepealSerial=(*args) ⇒ Object
147382 147383 147384 147385 147386 147387 147388 147389 147390 147391 147392 147393 147394 147395 147396 147397 147398 147399 147400 147401 147402 147403 147404 147405 147406 147407 147408 147409 |
# File 'ext/ctp/ctp.cxx', line 147382
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankRepealSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","BankRepealSerial", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankRepealSerial,arg2,13*sizeof(char));
else memset(arg1->BankRepealSerial,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankSecuAcc(*args) ⇒ Object
149580 149581 149582 149583 149584 149585 149586 149587 149588 149589 149590 149591 149592 149593 149594 149595 149596 149597 149598 149599 149600 149601 149602 149603 149604 149605 149606 149607 |
# File 'ext/ctp/ctp.cxx', line 149580
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankSecuAcc_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankSecuAcc", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankSecuAcc);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankSecuAcc=(*args) ⇒ Object
149550 149551 149552 149553 149554 149555 149556 149557 149558 149559 149560 149561 149562 149563 149564 149565 149566 149567 149568 149569 149570 149571 149572 149573 149574 149575 149576 149577 |
# File 'ext/ctp/ctp.cxx', line 149550
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankSecuAcc_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankSecuAcc", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","BankSecuAcc", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankSecuAcc,arg2,41*sizeof(char));
else memset(arg1->BankSecuAcc,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankSecuAccType(*args) ⇒ Object
149466 149467 149468 149469 149470 149471 149472 149473 149474 149475 149476 149477 149478 149479 149480 149481 149482 149483 149484 149485 149486 149487 |
# File 'ext/ctp/ctp.cxx', line 149466
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankSecuAccType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBankAccTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankSecuAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcBankAccTypeType) ((arg1)->BankSecuAccType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankSecuAccType=(*args) ⇒ Object
149437 149438 149439 149440 149441 149442 149443 149444 149445 149446 149447 149448 149449 149450 149451 149452 149453 149454 149455 149456 149457 149458 149459 149460 149461 149462 149463 |
# File 'ext/ctp/ctp.cxx', line 149437
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankSecuAccType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcBankAccTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankSecuAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBankAccTypeType","BankSecuAccType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBankAccTypeType >(val2);
if (arg1) (arg1)->BankSecuAccType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankSerial(*args) ⇒ Object
147945 147946 147947 147948 147949 147950 147951 147952 147953 147954 147955 147956 147957 147958 147959 147960 147961 147962 147963 147964 147965 147966 147967 147968 147969 147970 147971 147972 |
# File 'ext/ctp/ctp.cxx', line 147945
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankSerial);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankSerial=(*args) ⇒ Object
147915 147916 147917 147918 147919 147920 147921 147922 147923 147924 147925 147926 147927 147928 147929 147930 147931 147932 147933 147934 147935 147936 147937 147938 147939 147940 147941 147942 |
# File 'ext/ctp/ctp.cxx', line 147915
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","BankSerial", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankSerial,arg2,13*sizeof(char));
else memset(arg1->BankSerial,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerBranchID(*args) ⇒ Object
147765 147766 147767 147768 147769 147770 147771 147772 147773 147774 147775 147776 147777 147778 147779 147780 147781 147782 147783 147784 147785 147786 147787 147788 147789 147790 147791 147792 |
# File 'ext/ctp/ctp.cxx', line 147765
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BrokerBranchID);
{
size_t size = SWIG_strnlen(result, 31);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerBranchID=(*args) ⇒ Object
147735 147736 147737 147738 147739 147740 147741 147742 147743 147744 147745 147746 147747 147748 147749 147750 147751 147752 147753 147754 147755 147756 147757 147758 147759 147760 147761 147762 |
# File 'ext/ctp/ctp.cxx', line 147735
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 31);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [31]","BrokerBranchID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerBranchID,arg2,31*sizeof(char));
else memset(arg1->BrokerBranchID,0,31*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerFee(*args) ⇒ Object
149180 149181 149182 149183 149184 149185 149186 149187 149188 149189 149190 149191 149192 149193 149194 149195 149196 149197 149198 149199 149200 149201 |
# File 'ext/ctp/ctp.cxx', line 149180
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerFee_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFutureFeeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcFutureFeeType) ((arg1)->BrokerFee);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#BrokerFee=(*args) ⇒ Object
149151 149152 149153 149154 149155 149156 149157 149158 149159 149160 149161 149162 149163 149164 149165 149166 149167 149168 149169 149170 149171 149172 149173 149174 149175 149176 149177 |
# File 'ext/ctp/ctp.cxx', line 149151
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerFee_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcFutureFeeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFutureFeeType","BrokerFee", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFutureFeeType >(val2);
if (arg1) (arg1)->BrokerFee = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BrokerID(*args) ⇒ Object
147705 147706 147707 147708 147709 147710 147711 147712 147713 147714 147715 147716 147717 147718 147719 147720 147721 147722 147723 147724 147725 147726 147727 147728 147729 147730 147731 147732 |
# File 'ext/ctp/ctp.cxx', line 147705
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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
147675 147676 147677 147678 147679 147680 147681 147682 147683 147684 147685 147686 147687 147688 147689 147690 147691 147692 147693 147694 147695 147696 147697 147698 147699 147700 147701 147702 |
# File 'ext/ctp/ctp.cxx', line 147675
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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;
}
|
#BrokerIDByBank(*args) ⇒ Object
149520 149521 149522 149523 149524 149525 149526 149527 149528 149529 149530 149531 149532 149533 149534 149535 149536 149537 149538 149539 149540 149541 149542 149543 149544 149545 149546 149547 |
# File 'ext/ctp/ctp.cxx', line 149520
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerIDByBank_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BrokerIDByBank);
{
size_t size = SWIG_strnlen(result, 33);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerIDByBank=(*args) ⇒ Object
149490 149491 149492 149493 149494 149495 149496 149497 149498 149499 149500 149501 149502 149503 149504 149505 149506 149507 149508 149509 149510 149511 149512 149513 149514 149515 149516 149517 |
# File 'ext/ctp/ctp.cxx', line 149490
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerIDByBank_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[33] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 33);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [33]","BrokerIDByBank", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerIDByBank,arg2,33*sizeof(char));
else memset(arg1->BrokerIDByBank,0,33*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerRepealFlag(*args) ⇒ Object
147305 147306 147307 147308 147309 147310 147311 147312 147313 147314 147315 147316 147317 147318 147319 147320 147321 147322 147323 147324 147325 147326 |
# File 'ext/ctp/ctp.cxx', line 147305
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerRepealFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBrokerRepealFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcBrokerRepealFlagType) ((arg1)->BrokerRepealFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BrokerRepealFlag=(*args) ⇒ Object
147276 147277 147278 147279 147280 147281 147282 147283 147284 147285 147286 147287 147288 147289 147290 147291 147292 147293 147294 147295 147296 147297 147298 147299 147300 147301 147302 |
# File 'ext/ctp/ctp.cxx', line 147276
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BrokerRepealFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcBrokerRepealFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BrokerRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBrokerRepealFlagType","BrokerRepealFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBrokerRepealFlagType >(val2);
if (arg1) (arg1)->BrokerRepealFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#CurrencyID(*args) ⇒ Object
148909 148910 148911 148912 148913 148914 148915 148916 148917 148918 148919 148920 148921 148922 148923 148924 148925 148926 148927 148928 148929 148930 148931 148932 148933 148934 148935 148936 |
# File 'ext/ctp/ctp.cxx', line 148909
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CurrencyID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->CurrencyID);
{
size_t size = SWIG_strnlen(result, 4);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#CurrencyID=(*args) ⇒ Object
148879 148880 148881 148882 148883 148884 148885 148886 148887 148888 148889 148890 148891 148892 148893 148894 148895 148896 148897 148898 148899 148900 148901 148902 148903 148904 148905 148906 |
# File 'ext/ctp/ctp.cxx', line 148879
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CurrencyID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[4] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","CurrencyID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->CurrencyID,arg2,4*sizeof(char));
else memset(arg1->CurrencyID,0,4*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#CustFee(*args) ⇒ Object
149127 149128 149129 149130 149131 149132 149133 149134 149135 149136 149137 149138 149139 149140 149141 149142 149143 149144 149145 149146 149147 149148 |
# File 'ext/ctp/ctp.cxx', line 149127
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CustFee_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcCustFeeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CustFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcCustFeeType) ((arg1)->CustFee);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#CustFee=(*args) ⇒ Object
149098 149099 149100 149101 149102 149103 149104 149105 149106 149107 149108 149109 149110 149111 149112 149113 149114 149115 149116 149117 149118 149119 149120 149121 149122 149123 149124 |
# File 'ext/ctp/ctp.cxx', line 149098
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CustFee_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcCustFeeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CustFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcCustFeeType","CustFee", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcCustFeeType >(val2);
if (arg1) (arg1)->CustFee = arg2;
return Qnil;
fail:
return Qnil;
}
|
#CustomerName(*args) ⇒ Object
148224 148225 148226 148227 148228 148229 148230 148231 148232 148233 148234 148235 148236 148237 148238 148239 148240 148241 148242 148243 148244 148245 148246 148247 148248 148249 148250 148251 |
# File 'ext/ctp/ctp.cxx', line 148224
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CustomerName_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CustomerName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->CustomerName);
{
size_t size = SWIG_strnlen(result, 51);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#CustomerName=(*args) ⇒ Object
148194 148195 148196 148197 148198 148199 148200 148201 148202 148203 148204 148205 148206 148207 148208 148209 148210 148211 148212 148213 148214 148215 148216 148217 148218 148219 148220 148221 |
# File 'ext/ctp/ctp.cxx', line 148194
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CustomerName_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[51] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CustomerName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 51);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [51]","CustomerName", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->CustomerName,arg2,51*sizeof(char));
else memset(arg1->CustomerName,0,51*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#CustType(*args) ⇒ Object
148396 148397 148398 148399 148400 148401 148402 148403 148404 148405 148406 148407 148408 148409 148410 148411 148412 148413 148414 148415 148416 148417 |
# File 'ext/ctp/ctp.cxx', line 148396
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CustType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcCustTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CustType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcCustTypeType) ((arg1)->CustType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#CustType=(*args) ⇒ Object
148367 148368 148369 148370 148371 148372 148373 148374 148375 148376 148377 148378 148379 148380 148381 148382 148383 148384 148385 148386 148387 148388 148389 148390 148391 148392 148393 |
# File 'ext/ctp/ctp.cxx', line 148367
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_CustType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcCustTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","CustType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcCustTypeType","CustType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcCustTypeType >(val2);
if (arg1) (arg1)->CustType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#DeviceID(*args) ⇒ Object
149407 149408 149409 149410 149411 149412 149413 149414 149415 149416 149417 149418 149419 149420 149421 149422 149423 149424 149425 149426 149427 149428 149429 149430 149431 149432 149433 149434 |
# File 'ext/ctp/ctp.cxx', line 149407
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_DeviceID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->DeviceID);
{
size_t size = SWIG_strnlen(result, 3);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#DeviceID=(*args) ⇒ Object
149377 149378 149379 149380 149381 149382 149383 149384 149385 149386 149387 149388 149389 149390 149391 149392 149393 149394 149395 149396 149397 149398 149399 149400 149401 149402 149403 149404 |
# File 'ext/ctp/ctp.cxx', line 149377
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_DeviceID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[3] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 3);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [3]","DeviceID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->DeviceID,arg2,3*sizeof(char));
else memset(arg1->DeviceID,0,3*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Digest(*args) ⇒ Object
149294 149295 149296 149297 149298 149299 149300 149301 149302 149303 149304 149305 149306 149307 149308 149309 149310 149311 149312 149313 149314 149315 149316 149317 149318 149319 149320 149321 |
# File 'ext/ctp/ctp.cxx', line 149294
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_Digest_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->Digest);
{
size_t size = SWIG_strnlen(result, 36);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Digest=(*args) ⇒ Object
149264 149265 149266 149267 149268 149269 149270 149271 149272 149273 149274 149275 149276 149277 149278 149279 149280 149281 149282 149283 149284 149285 149286 149287 149288 149289 149290 149291 |
# File 'ext/ctp/ctp.cxx', line 149264
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_Digest_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[36] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 36);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [36]","Digest", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Digest,arg2,36*sizeof(char));
else memset(arg1->Digest,0,36*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#FeePayFlag(*args) ⇒ Object
149074 149075 149076 149077 149078 149079 149080 149081 149082 149083 149084 149085 149086 149087 149088 149089 149090 149091 149092 149093 149094 149095 |
# File 'ext/ctp/ctp.cxx', line 149074
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FeePayFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFeePayFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FeePayFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcFeePayFlagType) ((arg1)->FeePayFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#FeePayFlag=(*args) ⇒ Object
149045 149046 149047 149048 149049 149050 149051 149052 149053 149054 149055 149056 149057 149058 149059 149060 149061 149062 149063 149064 149065 149066 149067 149068 149069 149070 149071 |
# File 'ext/ctp/ctp.cxx', line 149045
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FeePayFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcFeePayFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FeePayFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFeePayFlagType","FeePayFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFeePayFlagType >(val2);
if (arg1) (arg1)->FeePayFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#FutureFetchAmount(*args) ⇒ Object
149021 149022 149023 149024 149025 149026 149027 149028 149029 149030 149031 149032 149033 149034 149035 149036 149037 149038 149039 149040 149041 149042 |
# File 'ext/ctp/ctp.cxx', line 149021
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FutureFetchAmount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTradeAmountType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FutureFetchAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcTradeAmountType) ((arg1)->FutureFetchAmount);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#FutureFetchAmount=(*args) ⇒ Object
148992 148993 148994 148995 148996 148997 148998 148999 149000 149001 149002 149003 149004 149005 149006 149007 149008 149009 149010 149011 149012 149013 149014 149015 149016 149017 149018 |
# File 'ext/ctp/ctp.cxx', line 148992
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FutureFetchAmount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcTradeAmountType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FutureFetchAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTradeAmountType","FutureFetchAmount", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTradeAmountType >(val2);
if (arg1) (arg1)->FutureFetchAmount = arg2;
return Qnil;
fail:
return Qnil;
}
|
#FutureRepealSerial(*args) ⇒ Object
147471 147472 147473 147474 147475 147476 147477 147478 147479 147480 147481 147482 147483 147484 147485 147486 147487 147488 147489 147490 147491 147492 |
# File 'ext/ctp/ctp.cxx', line 147471
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FutureRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFutureSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FutureRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcFutureSerialType) ((arg1)->FutureRepealSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#FutureRepealSerial=(*args) ⇒ Object
147442 147443 147444 147445 147446 147447 147448 147449 147450 147451 147452 147453 147454 147455 147456 147457 147458 147459 147460 147461 147462 147463 147464 147465 147466 147467 147468 |
# File 'ext/ctp/ctp.cxx', line 147442
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FutureRepealSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcFutureSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FutureRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFutureSerialType","FutureRepealSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFutureSerialType >(val2);
if (arg1) (arg1)->FutureRepealSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#FutureSerial(*args) ⇒ Object
148742 148743 148744 148745 148746 148747 148748 148749 148750 148751 148752 148753 148754 148755 148756 148757 148758 148759 148760 148761 148762 148763 |
# File 'ext/ctp/ctp.cxx', line 148742
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FutureSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFutureSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FutureSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcFutureSerialType) ((arg1)->FutureSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#FutureSerial=(*args) ⇒ Object
148713 148714 148715 148716 148717 148718 148719 148720 148721 148722 148723 148724 148725 148726 148727 148728 148729 148730 148731 148732 148733 148734 148735 148736 148737 148738 148739 |
# File 'ext/ctp/ctp.cxx', line 148713
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_FutureSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcFutureSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","FutureSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFutureSerialType","FutureSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFutureSerialType >(val2);
if (arg1) (arg1)->FutureSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#IdCardType(*args) ⇒ Object
148283 148284 148285 148286 148287 148288 148289 148290 148291 148292 148293 148294 148295 148296 148297 148298 148299 148300 148301 148302 148303 148304 |
# File 'ext/ctp/ctp.cxx', line 148283
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_IdCardType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcIdCardTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","IdCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcIdCardTypeType) ((arg1)->IdCardType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#IdCardType=(*args) ⇒ Object
148254 148255 148256 148257 148258 148259 148260 148261 148262 148263 148264 148265 148266 148267 148268 148269 148270 148271 148272 148273 148274 148275 148276 148277 148278 148279 148280 |
# File 'ext/ctp/ctp.cxx', line 148254
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_IdCardType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcIdCardTypeType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","IdCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcIdCardTypeType","IdCardType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcIdCardTypeType >(val2);
if (arg1) (arg1)->IdCardType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#IdentifiedCardNo(*args) ⇒ Object
148337 148338 148339 148340 148341 148342 148343 148344 148345 148346 148347 148348 148349 148350 148351 148352 148353 148354 148355 148356 148357 148358 148359 148360 148361 148362 148363 148364 |
# File 'ext/ctp/ctp.cxx', line 148337
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_IdentifiedCardNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->IdentifiedCardNo);
{
size_t size = SWIG_strnlen(result, 51);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#IdentifiedCardNo=(*args) ⇒ Object
148307 148308 148309 148310 148311 148312 148313 148314 148315 148316 148317 148318 148319 148320 148321 148322 148323 148324 148325 148326 148327 148328 148329 148330 148331 148332 148333 148334 |
# File 'ext/ctp/ctp.cxx', line 148307
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_IdentifiedCardNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[51] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 51);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [51]","IdentifiedCardNo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->IdentifiedCardNo,arg2,51*sizeof(char));
else memset(arg1->IdentifiedCardNo,0,51*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InstallID(*args) ⇒ Object
148689 148690 148691 148692 148693 148694 148695 148696 148697 148698 148699 148700 148701 148702 148703 148704 148705 148706 148707 148708 148709 148710 |
# File 'ext/ctp/ctp.cxx', line 148689
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_InstallID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcInstallIDType) ((arg1)->InstallID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#InstallID=(*args) ⇒ Object
148660 148661 148662 148663 148664 148665 148666 148667 148668 148669 148670 148671 148672 148673 148674 148675 148676 148677 148678 148679 148680 148681 148682 148683 148684 148685 148686 |
# File 'ext/ctp/ctp.cxx', line 148660
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_InstallID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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;
}
|
#LastFragment(*args) ⇒ Object
148117 148118 148119 148120 148121 148122 148123 148124 148125 148126 148127 148128 148129 148130 148131 148132 148133 148134 148135 148136 148137 148138 |
# File 'ext/ctp/ctp.cxx', line 148117
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_LastFragment_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcLastFragmentType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcLastFragmentType) ((arg1)->LastFragment);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#LastFragment=(*args) ⇒ Object
148088 148089 148090 148091 148092 148093 148094 148095 148096 148097 148098 148099 148100 148101 148102 148103 148104 148105 148106 148107 148108 148109 148110 148111 148112 148113 148114 |
# File 'ext/ctp/ctp.cxx', line 148088
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_LastFragment_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcLastFragmentType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcLastFragmentType","LastFragment", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcLastFragmentType >(val2);
if (arg1) (arg1)->LastFragment = arg2;
return Qnil;
fail:
return Qnil;
}
|
#Message(*args) ⇒ Object
149234 149235 149236 149237 149238 149239 149240 149241 149242 149243 149244 149245 149246 149247 149248 149249 149250 149251 149252 149253 149254 149255 149256 149257 149258 149259 149260 149261 |
# File 'ext/ctp/ctp.cxx', line 149234
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_Message_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","Message", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->Message);
{
size_t size = SWIG_strnlen(result, 129);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Message=(*args) ⇒ Object
149204 149205 149206 149207 149208 149209 149210 149211 149212 149213 149214 149215 149216 149217 149218 149219 149220 149221 149222 149223 149224 149225 149226 149227 149228 149229 149230 149231 |
# File 'ext/ctp/ctp.cxx', line 149204
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_Message_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[129] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","Message", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 129);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [129]","Message", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Message,arg2,129*sizeof(char));
else memset(arg1->Message,0,129*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#OperNo(*args) ⇒ Object
149746 149747 149748 149749 149750 149751 149752 149753 149754 149755 149756 149757 149758 149759 149760 149761 149762 149763 149764 149765 149766 149767 149768 149769 149770 149771 149772 149773 |
# File 'ext/ctp/ctp.cxx', line 149746
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_OperNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->OperNo);
{
size_t size = SWIG_strnlen(result, 17);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#OperNo=(*args) ⇒ Object
149716 149717 149718 149719 149720 149721 149722 149723 149724 149725 149726 149727 149728 149729 149730 149731 149732 149733 149734 149735 149736 149737 149738 149739 149740 149741 149742 149743 |
# File 'ext/ctp/ctp.cxx', line 149716
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_OperNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[17] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 17);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [17]","OperNo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->OperNo,arg2,17*sizeof(char));
else memset(arg1->OperNo,0,17*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Password(*args) ⇒ Object
148630 148631 148632 148633 148634 148635 148636 148637 148638 148639 148640 148641 148642 148643 148644 148645 148646 148647 148648 148649 148650 148651 148652 148653 148654 148655 148656 148657 |
# File 'ext/ctp/ctp.cxx', line 148630
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_Password_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","Password", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->Password);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Password=(*args) ⇒ Object
148600 148601 148602 148603 148604 148605 148606 148607 148608 148609 148610 148611 148612 148613 148614 148615 148616 148617 148618 148619 148620 148621 148622 148623 148624 148625 148626 148627 |
# File 'ext/ctp/ctp.cxx', line 148600
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_Password_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","Password", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","Password", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Password,arg2,41*sizeof(char));
else memset(arg1->Password,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PlateRepealSerial(*args) ⇒ Object
147358 147359 147360 147361 147362 147363 147364 147365 147366 147367 147368 147369 147370 147371 147372 147373 147374 147375 147376 147377 147378 147379 |
# File 'ext/ctp/ctp.cxx', line 147358
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_PlateRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPlateSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","PlateRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcPlateSerialType) ((arg1)->PlateRepealSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateRepealSerial=(*args) ⇒ Object
147329 147330 147331 147332 147333 147334 147335 147336 147337 147338 147339 147340 147341 147342 147343 147344 147345 147346 147347 147348 147349 147350 147351 147352 147353 147354 147355 |
# File 'ext/ctp/ctp.cxx', line 147329
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_PlateRepealSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcPlateSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","PlateRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPlateSerialType","PlateRepealSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPlateSerialType >(val2);
if (arg1) (arg1)->PlateRepealSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#PlateSerial(*args) ⇒ Object
148064 148065 148066 148067 148068 148069 148070 148071 148072 148073 148074 148075 148076 148077 148078 148079 148080 148081 148082 148083 148084 148085 |
# File 'ext/ctp/ctp.cxx', line 148064
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_PlateSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcSerialType) ((arg1)->PlateSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateSerial=(*args) ⇒ Object
148035 148036 148037 148038 148039 148040 148041 148042 148043 148044 148045 148046 148047 148048 148049 148050 148051 148052 148053 148054 148055 148056 148057 148058 148059 148060 148061 |
# File 'ext/ctp/ctp.cxx', line 148035
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_PlateSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcSerialType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSerialType","PlateSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSerialType >(val2);
if (arg1) (arg1)->PlateSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#RepealedTimes(*args) ⇒ Object
147199 147200 147201 147202 147203 147204 147205 147206 147207 147208 147209 147210 147211 147212 147213 147214 147215 147216 147217 147218 147219 147220 |
# File 'ext/ctp/ctp.cxx', line 147199
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_RepealedTimes_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRepealedTimesType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","RepealedTimes", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcRepealedTimesType) ((arg1)->RepealedTimes);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RepealedTimes=(*args) ⇒ Object
147170 147171 147172 147173 147174 147175 147176 147177 147178 147179 147180 147181 147182 147183 147184 147185 147186 147187 147188 147189 147190 147191 147192 147193 147194 147195 147196 |
# File 'ext/ctp/ctp.cxx', line 147170
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_RepealedTimes_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcRepealedTimesType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","RepealedTimes", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRepealedTimesType","RepealedTimes", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRepealedTimesType >(val2);
if (arg1) (arg1)->RepealedTimes = arg2;
return Qnil;
fail:
return Qnil;
}
|
#RepealTimeInterval(*args) ⇒ Object
147146 147147 147148 147149 147150 147151 147152 147153 147154 147155 147156 147157 147158 147159 147160 147161 147162 147163 147164 147165 147166 147167 |
# File 'ext/ctp/ctp.cxx', line 147146
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_RepealTimeInterval_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRepealTimeIntervalType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","RepealTimeInterval", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcRepealTimeIntervalType) ((arg1)->RepealTimeInterval);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RepealTimeInterval=(*args) ⇒ Object
147117 147118 147119 147120 147121 147122 147123 147124 147125 147126 147127 147128 147129 147130 147131 147132 147133 147134 147135 147136 147137 147138 147139 147140 147141 147142 147143 |
# File 'ext/ctp/ctp.cxx', line 147117
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_RepealTimeInterval_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcRepealTimeIntervalType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","RepealTimeInterval", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRepealTimeIntervalType","RepealTimeInterval", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRepealTimeIntervalType >(val2);
if (arg1) (arg1)->RepealTimeInterval = arg2;
return Qnil;
fail:
return Qnil;
}
|
#RequestID(*args) ⇒ Object
149805 149806 149807 149808 149809 149810 149811 149812 149813 149814 149815 149816 149817 149818 149819 149820 149821 149822 149823 149824 149825 149826 |
# File 'ext/ctp/ctp.cxx', line 149805
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_RequestID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RequestID=(*args) ⇒ Object
149776 149777 149778 149779 149780 149781 149782 149783 149784 149785 149786 149787 149788 149789 149790 149791 149792 149793 149794 149795 149796 149797 149798 149799 149800 149801 149802 |
# File 'ext/ctp/ctp.cxx', line 149776
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_RequestID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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;
}
|
#SecuPwdFlag(*args) ⇒ Object
149692 149693 149694 149695 149696 149697 149698 149699 149700 149701 149702 149703 149704 149705 149706 149707 149708 149709 149710 149711 149712 149713 |
# File 'ext/ctp/ctp.cxx', line 149692
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_SecuPwdFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPwdFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","SecuPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcPwdFlagType) ((arg1)->SecuPwdFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#SecuPwdFlag=(*args) ⇒ Object
149663 149664 149665 149666 149667 149668 149669 149670 149671 149672 149673 149674 149675 149676 149677 149678 149679 149680 149681 149682 149683 149684 149685 149686 149687 149688 149689 |
# File 'ext/ctp/ctp.cxx', line 149663
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_SecuPwdFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcPwdFlagType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","SecuPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPwdFlagType","SecuPwdFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPwdFlagType >(val2);
if (arg1) (arg1)->SecuPwdFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#SessionID(*args) ⇒ Object
148170 148171 148172 148173 148174 148175 148176 148177 148178 148179 148180 148181 148182 148183 148184 148185 148186 148187 148188 148189 148190 148191 |
# File 'ext/ctp/ctp.cxx', line 148170
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_SessionID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcSessionIDType) ((arg1)->SessionID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SessionID=(*args) ⇒ Object
148141 148142 148143 148144 148145 148146 148147 148148 148149 148150 148151 148152 148153 148154 148155 148156 148157 148158 148159 148160 148161 148162 148163 148164 148165 148166 148167 |
# File 'ext/ctp/ctp.cxx', line 148141
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_SessionID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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;
}
|
#TID(*args) ⇒ Object
149858 149859 149860 149861 149862 149863 149864 149865 149866 149867 149868 149869 149870 149871 149872 149873 149874 149875 149876 149877 149878 149879 |
# File 'ext/ctp/ctp.cxx', line 149858
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTIDType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcTIDType) ((arg1)->TID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#TID=(*args) ⇒ Object
149829 149830 149831 149832 149833 149834 149835 149836 149837 149838 149839 149840 149841 149842 149843 149844 149845 149846 149847 149848 149849 149850 149851 149852 149853 149854 149855 |
# File 'ext/ctp/ctp.cxx', line 149829
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcTIDType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTIDType","TID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTIDType >(val2);
if (arg1) (arg1)->TID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#TradeAmount(*args) ⇒ Object
148968 148969 148970 148971 148972 148973 148974 148975 148976 148977 148978 148979 148980 148981 148982 148983 148984 148985 148986 148987 148988 148989 |
# File 'ext/ctp/ctp.cxx', line 148968
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeAmount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTradeAmountType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcTradeAmountType) ((arg1)->TradeAmount);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#TradeAmount=(*args) ⇒ Object
148939 148940 148941 148942 148943 148944 148945 148946 148947 148948 148949 148950 148951 148952 148953 148954 148955 148956 148957 148958 148959 148960 148961 148962 148963 148964 148965 |
# File 'ext/ctp/ctp.cxx', line 148939
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeAmount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcTradeAmountType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTradeAmountType","TradeAmount", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTradeAmountType >(val2);
if (arg1) (arg1)->TradeAmount = arg2;
return Qnil;
fail:
return Qnil;
}
|
#TradeCode(*args) ⇒ Object
147525 147526 147527 147528 147529 147530 147531 147532 147533 147534 147535 147536 147537 147538 147539 147540 147541 147542 147543 147544 147545 147546 147547 147548 147549 147550 147551 147552 |
# File 'ext/ctp/ctp.cxx', line 147525
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->TradeCode);
{
size_t size = SWIG_strnlen(result, 7);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradeCode=(*args) ⇒ Object
147495 147496 147497 147498 147499 147500 147501 147502 147503 147504 147505 147506 147507 147508 147509 147510 147511 147512 147513 147514 147515 147516 147517 147518 147519 147520 147521 147522 |
# File 'ext/ctp/ctp.cxx', line 147495
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[7] ;
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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 7);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [7]","TradeCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradeCode,arg2,7*sizeof(char));
else memset(arg1->TradeCode,0,7*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradeDate(*args) ⇒ Object
147825 147826 147827 147828 147829 147830 147831 147832 147833 147834 147835 147836 147837 147838 147839 147840 147841 147842 147843 147844 147845 147846 147847 147848 147849 147850 147851 147852 |
# File 'ext/ctp/ctp.cxx', line 147825
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeDate_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->TradeDate);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradeDate=(*args) ⇒ Object
147795 147796 147797 147798 147799 147800 147801 147802 147803 147804 147805 147806 147807 147808 147809 147810 147811 147812 147813 147814 147815 147816 147817 147818 147819 147820 147821 147822 |
# File 'ext/ctp/ctp.cxx', line 147795
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeDate_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","TradeDate", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradeDate,arg2,9*sizeof(char));
else memset(arg1->TradeDate,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradeTime(*args) ⇒ Object
147885 147886 147887 147888 147889 147890 147891 147892 147893 147894 147895 147896 147897 147898 147899 147900 147901 147902 147903 147904 147905 147906 147907 147908 147909 147910 147911 147912 |
# File 'ext/ctp/ctp.cxx', line 147885
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->TradeTime);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradeTime=(*args) ⇒ Object
147855 147856 147857 147858 147859 147860 147861 147862 147863 147864 147865 147866 147867 147868 147869 147870 147871 147872 147873 147874 147875 147876 147877 147878 147879 147880 147881 147882 |
# File 'ext/ctp/ctp.cxx', line 147855
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradeTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","TradeTime", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradeTime,arg2,9*sizeof(char));
else memset(arg1->TradeTime,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradingDay(*args) ⇒ Object
148005 148006 148007 148008 148009 148010 148011 148012 148013 148014 148015 148016 148017 148018 148019 148020 148021 148022 148023 148024 148025 148026 148027 148028 148029 148030 148031 148032 |
# File 'ext/ctp/ctp.cxx', line 148005
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradingDay_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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
147975 147976 147977 147978 147979 147980 147981 147982 147983 147984 147985 147986 147987 147988 147989 147990 147991 147992 147993 147994 147995 147996 147997 147998 147999 148000 148001 148002 |
# File 'ext/ctp/ctp.cxx', line 147975
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TradingDay_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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;
}
|
#TransferStatus(*args) ⇒ Object
149911 149912 149913 149914 149915 149916 149917 149918 149919 149920 149921 149922 149923 149924 149925 149926 149927 149928 149929 149930 149931 149932 |
# File 'ext/ctp/ctp.cxx', line 149911
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TransferStatus_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTransferStatusType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TransferStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcTransferStatusType) ((arg1)->TransferStatus);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#TransferStatus=(*args) ⇒ Object
149882 149883 149884 149885 149886 149887 149888 149889 149890 149891 149892 149893 149894 149895 149896 149897 149898 149899 149900 149901 149902 149903 149904 149905 149906 149907 149908 |
# File 'ext/ctp/ctp.cxx', line 149882
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_TransferStatus_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcTransferStatusType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","TransferStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTransferStatusType","TransferStatus", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTransferStatusType >(val2);
if (arg1) (arg1)->TransferStatus = arg2;
return Qnil;
fail:
return Qnil;
}
|
#UserID(*args) ⇒ Object
148796 148797 148798 148799 148800 148801 148802 148803 148804 148805 148806 148807 148808 148809 148810 148811 148812 148813 148814 148815 148816 148817 148818 148819 148820 148821 148822 148823 |
# File 'ext/ctp/ctp.cxx', line 148796
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_UserID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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
148766 148767 148768 148769 148770 148771 148772 148773 148774 148775 148776 148777 148778 148779 148780 148781 148782 148783 148784 148785 148786 148787 148788 148789 148790 148791 148792 148793 |
# File 'ext/ctp/ctp.cxx', line 148766
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_UserID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(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;
}
|
#VerifyCertNoFlag(*args) ⇒ Object
148855 148856 148857 148858 148859 148860 148861 148862 148863 148864 148865 148866 148867 148868 148869 148870 148871 148872 148873 148874 148875 148876 |
# File 'ext/ctp/ctp.cxx', line 148855
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_VerifyCertNoFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcYesNoIndicatorType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","VerifyCertNoFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (TThostFtdcYesNoIndicatorType) ((arg1)->VerifyCertNoFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#VerifyCertNoFlag=(*args) ⇒ Object
148826 148827 148828 148829 148830 148831 148832 148833 148834 148835 148836 148837 148838 148839 148840 148841 148842 148843 148844 148845 148846 148847 148848 148849 148850 148851 148852 |
# File 'ext/ctp/ctp.cxx', line 148826
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_VerifyCertNoFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 0 ;
TThostFtdcYesNoIndicatorType 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","VerifyCertNoFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcYesNoIndicatorType","VerifyCertNoFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcYesNoIndicatorType >(val2);
if (arg1) (arg1)->VerifyCertNoFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|