Class: Ctp::CThostFtdcRspFutureSignOutField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcRspFutureSignOutField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #BankBranchID(*args) ⇒ Object
- #BankBranchID=(*args) ⇒ Object
- #BankID(*args) ⇒ Object
- #BankID=(*args) ⇒ Object
- #BankSerial(*args) ⇒ Object
- #BankSerial=(*args) ⇒ Object
- #BrokerBranchID(*args) ⇒ Object
- #BrokerBranchID=(*args) ⇒ Object
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #BrokerIDByBank(*args) ⇒ Object
- #BrokerIDByBank=(*args) ⇒ Object
- #CurrencyID(*args) ⇒ Object
- #CurrencyID=(*args) ⇒ Object
- #DeviceID(*args) ⇒ Object
- #DeviceID=(*args) ⇒ Object
- #Digest(*args) ⇒ Object
- #Digest=(*args) ⇒ Object
- #ErrorID(*args) ⇒ Object
- #ErrorID=(*args) ⇒ Object
- #ErrorMsg(*args) ⇒ Object
- #ErrorMsg=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InstallID(*args) ⇒ Object
- #InstallID=(*args) ⇒ Object
- #LastFragment(*args) ⇒ Object
- #LastFragment=(*args) ⇒ Object
- #OperNo(*args) ⇒ Object
- #OperNo=(*args) ⇒ Object
- #PlateSerial(*args) ⇒ Object
- #PlateSerial=(*args) ⇒ Object
- #RequestID(*args) ⇒ Object
- #RequestID=(*args) ⇒ Object
- #SessionID(*args) ⇒ Object
- #SessionID=(*args) ⇒ Object
- #TID(*args) ⇒ Object
- #TID=(*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
- #UserID(*args) ⇒ Object
- #UserID=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
162602 162603 162604 162605 162606 162607 162608 162609 162610 162611 162612 162613 162614 162615 |
# File 'ext/ctp/ctp.cxx', line 162602
SWIGINTERN VALUE
_wrap_new_CThostFtdcRspFutureSignOutField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcRspFutureSignOutField";
CThostFtdcRspFutureSignOutField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcRspFutureSignOutField *)new CThostFtdcRspFutureSignOutField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#BankBranchID(*args) ⇒ Object
161406 161407 161408 161409 161410 161411 161412 161413 161414 161415 161416 161417 161418 161419 161420 161421 161422 161423 161424 161425 161426 161427 161428 161429 161430 161431 161432 161433 |
# File 'ext/ctp/ctp.cxx', line 161406
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BankBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161376 161377 161378 161379 161380 161381 161382 161383 161384 161385 161386 161387 161388 161389 161390 161391 161392 161393 161394 161395 161396 161397 161398 161399 161400 161401 161402 161403 |
# File 'ext/ctp/ctp.cxx', line 161376
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BankBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161346 161347 161348 161349 161350 161351 161352 161353 161354 161355 161356 161357 161358 161359 161360 161361 161362 161363 161364 161365 161366 161367 161368 161369 161370 161371 161372 161373 |
# File 'ext/ctp/ctp.cxx', line 161346
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BankID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161316 161317 161318 161319 161320 161321 161322 161323 161324 161325 161326 161327 161328 161329 161330 161331 161332 161333 161334 161335 161336 161337 161338 161339 161340 161341 161342 161343 |
# File 'ext/ctp/ctp.cxx', line 161316
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BankID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#BankSerial(*args) ⇒ Object
161706 161707 161708 161709 161710 161711 161712 161713 161714 161715 161716 161717 161718 161719 161720 161721 161722 161723 161724 161725 161726 161727 161728 161729 161730 161731 161732 161733 |
# File 'ext/ctp/ctp.cxx', line 161706
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BankSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161676 161677 161678 161679 161680 161681 161682 161683 161684 161685 161686 161687 161688 161689 161690 161691 161692 161693 161694 161695 161696 161697 161698 161699 161700 161701 161702 161703 |
# File 'ext/ctp/ctp.cxx', line 161676
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BankSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161526 161527 161528 161529 161530 161531 161532 161533 161534 161535 161536 161537 161538 161539 161540 161541 161542 161543 161544 161545 161546 161547 161548 161549 161550 161551 161552 161553 |
# File 'ext/ctp/ctp.cxx', line 161526
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BrokerBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161496 161497 161498 161499 161500 161501 161502 161503 161504 161505 161506 161507 161508 161509 161510 161511 161512 161513 161514 161515 161516 161517 161518 161519 161520 161521 161522 161523 |
# File 'ext/ctp/ctp.cxx', line 161496
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BrokerBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#BrokerID(*args) ⇒ Object
161466 161467 161468 161469 161470 161471 161472 161473 161474 161475 161476 161477 161478 161479 161480 161481 161482 161483 161484 161485 161486 161487 161488 161489 161490 161491 161492 161493 |
# File 'ext/ctp/ctp.cxx', line 161466
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161436 161437 161438 161439 161440 161441 161442 161443 161444 161445 161446 161447 161448 161449 161450 161451 161452 161453 161454 161455 161456 161457 161458 161459 161460 161461 161462 161463 |
# File 'ext/ctp/ctp.cxx', line 161436
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162278 162279 162280 162281 162282 162283 162284 162285 162286 162287 162288 162289 162290 162291 162292 162293 162294 162295 162296 162297 162298 162299 162300 162301 162302 162303 162304 162305 |
# File 'ext/ctp/ctp.cxx', line 162278
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BrokerIDByBank_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162248 162249 162250 162251 162252 162253 162254 162255 162256 162257 162258 162259 162260 162261 162262 162263 162264 162265 162266 162267 162268 162269 162270 162271 162272 162273 162274 162275 |
# File 'ext/ctp/ctp.cxx', line 162248
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_BrokerIDByBank_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#CurrencyID(*args) ⇒ Object
162158 162159 162160 162161 162162 162163 162164 162165 162166 162167 162168 162169 162170 162171 162172 162173 162174 162175 162176 162177 162178 162179 162180 162181 162182 162183 162184 162185 |
# File 'ext/ctp/ctp.cxx', line 162158
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_CurrencyID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162128 162129 162130 162131 162132 162133 162134 162135 162136 162137 162138 162139 162140 162141 162142 162143 162144 162145 162146 162147 162148 162149 162150 162151 162152 162153 162154 162155 |
# File 'ext/ctp/ctp.cxx', line 162128
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_CurrencyID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#DeviceID(*args) ⇒ Object
162218 162219 162220 162221 162222 162223 162224 162225 162226 162227 162228 162229 162230 162231 162232 162233 162234 162235 162236 162237 162238 162239 162240 162241 162242 162243 162244 162245 |
# File 'ext/ctp/ctp.cxx', line 162218
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_DeviceID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162188 162189 162190 162191 162192 162193 162194 162195 162196 162197 162198 162199 162200 162201 162202 162203 162204 162205 162206 162207 162208 162209 162210 162211 162212 162213 162214 162215 |
# File 'ext/ctp/ctp.cxx', line 162188
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_DeviceID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162098 162099 162100 162101 162102 162103 162104 162105 162106 162107 162108 162109 162110 162111 162112 162113 162114 162115 162116 162117 162118 162119 162120 162121 162122 162123 162124 162125 |
# File 'ext/ctp/ctp.cxx', line 162098
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_Digest_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162068 162069 162070 162071 162072 162073 162074 162075 162076 162077 162078 162079 162080 162081 162082 162083 162084 162085 162086 162087 162088 162089 162090 162091 162092 162093 162094 162095 |
# File 'ext/ctp/ctp.cxx', line 162068
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_Digest_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#ErrorID(*args) ⇒ Object
162503 162504 162505 162506 162507 162508 162509 162510 162511 162512 162513 162514 162515 162516 162517 162518 162519 162520 162521 162522 162523 162524 |
# File 'ext/ctp/ctp.cxx', line 162503
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_ErrorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcErrorIDType 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcErrorIDType) ((arg1)->ErrorID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#ErrorID=(*args) ⇒ Object
162474 162475 162476 162477 162478 162479 162480 162481 162482 162483 162484 162485 162486 162487 162488 162489 162490 162491 162492 162493 162494 162495 162496 162497 162498 162499 162500 |
# File 'ext/ctp/ctp.cxx', line 162474
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_ErrorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 0 ;
TThostFtdcErrorIDType 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcErrorIDType","ErrorID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcErrorIDType >(val2);
if (arg1) (arg1)->ErrorID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#ErrorMsg(*args) ⇒ Object
162557 162558 162559 162560 162561 162562 162563 162564 162565 162566 162567 162568 162569 162570 162571 162572 162573 162574 162575 162576 162577 162578 162579 162580 162581 162582 162583 162584 |
# File 'ext/ctp/ctp.cxx', line 162557
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_ErrorMsg_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (char *) ((arg1)->ErrorMsg);
{
size_t size = SWIG_strnlen(result, 81);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ErrorMsg=(*args) ⇒ Object
162527 162528 162529 162530 162531 162532 162533 162534 162535 162536 162537 162538 162539 162540 162541 162542 162543 162544 162545 162546 162547 162548 162549 162550 162551 162552 162553 162554 |
# File 'ext/ctp/ctp.cxx', line 162527
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_ErrorMsg_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[81] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 81);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [81]","ErrorMsg", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ErrorMsg,arg2,81*sizeof(char));
else memset(arg1->ErrorMsg,0,81*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InstallID(*args) ⇒ Object
161984 161985 161986 161987 161988 161989 161990 161991 161992 161993 161994 161995 161996 161997 161998 161999 162000 162001 162002 162003 162004 162005 |
# File 'ext/ctp/ctp.cxx', line 161984
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_InstallID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcInstallIDType) ((arg1)->InstallID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#InstallID=(*args) ⇒ Object
161955 161956 161957 161958 161959 161960 161961 161962 161963 161964 161965 161966 161967 161968 161969 161970 161971 161972 161973 161974 161975 161976 161977 161978 161979 161980 161981 |
# File 'ext/ctp/ctp.cxx', line 161955
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_InstallID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161878 161879 161880 161881 161882 161883 161884 161885 161886 161887 161888 161889 161890 161891 161892 161893 161894 161895 161896 161897 161898 161899 |
# File 'ext/ctp/ctp.cxx', line 161878
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_LastFragment_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcLastFragmentType) ((arg1)->LastFragment);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#LastFragment=(*args) ⇒ Object
161849 161850 161851 161852 161853 161854 161855 161856 161857 161858 161859 161860 161861 161862 161863 161864 161865 161866 161867 161868 161869 161870 161871 161872 161873 161874 161875 |
# File 'ext/ctp/ctp.cxx', line 161849
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_LastFragment_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#OperNo(*args) ⇒ Object
162338 162339 162340 162341 162342 162343 162344 162345 162346 162347 162348 162349 162350 162351 162352 162353 162354 162355 162356 162357 162358 162359 162360 162361 162362 162363 162364 162365 |
# File 'ext/ctp/ctp.cxx', line 162338
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_OperNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162308 162309 162310 162311 162312 162313 162314 162315 162316 162317 162318 162319 162320 162321 162322 162323 162324 162325 162326 162327 162328 162329 162330 162331 162332 162333 162334 162335 |
# File 'ext/ctp/ctp.cxx', line 162308
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_OperNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#PlateSerial(*args) ⇒ Object
161825 161826 161827 161828 161829 161830 161831 161832 161833 161834 161835 161836 161837 161838 161839 161840 161841 161842 161843 161844 161845 161846 |
# File 'ext/ctp/ctp.cxx', line 161825
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_PlateSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcSerialType) ((arg1)->PlateSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateSerial=(*args) ⇒ Object
161796 161797 161798 161799 161800 161801 161802 161803 161804 161805 161806 161807 161808 161809 161810 161811 161812 161813 161814 161815 161816 161817 161818 161819 161820 161821 161822 |
# File 'ext/ctp/ctp.cxx', line 161796
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_PlateSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#RequestID(*args) ⇒ Object
162397 162398 162399 162400 162401 162402 162403 162404 162405 162406 162407 162408 162409 162410 162411 162412 162413 162414 162415 162416 162417 162418 |
# File 'ext/ctp/ctp.cxx', line 162397
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_RequestID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RequestID=(*args) ⇒ Object
162368 162369 162370 162371 162372 162373 162374 162375 162376 162377 162378 162379 162380 162381 162382 162383 162384 162385 162386 162387 162388 162389 162390 162391 162392 162393 162394 |
# File 'ext/ctp/ctp.cxx', line 162368
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_RequestID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#SessionID(*args) ⇒ Object
161931 161932 161933 161934 161935 161936 161937 161938 161939 161940 161941 161942 161943 161944 161945 161946 161947 161948 161949 161950 161951 161952 |
# File 'ext/ctp/ctp.cxx', line 161931
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_SessionID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcSessionIDType) ((arg1)->SessionID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SessionID=(*args) ⇒ Object
161902 161903 161904 161905 161906 161907 161908 161909 161910 161911 161912 161913 161914 161915 161916 161917 161918 161919 161920 161921 161922 161923 161924 161925 161926 161927 161928 |
# File 'ext/ctp/ctp.cxx', line 161902
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_SessionID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162450 162451 162452 162453 162454 162455 162456 162457 162458 162459 162460 162461 162462 162463 162464 162465 162466 162467 162468 162469 162470 162471 |
# File 'ext/ctp/ctp.cxx', line 162450
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
result = (TThostFtdcTIDType) ((arg1)->TID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#TID=(*args) ⇒ Object
162421 162422 162423 162424 162425 162426 162427 162428 162429 162430 162431 162432 162433 162434 162435 162436 162437 162438 162439 162440 162441 162442 162443 162444 162445 162446 162447 |
# File 'ext/ctp/ctp.cxx', line 162421
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|
#TradeCode(*args) ⇒ Object
161286 161287 161288 161289 161290 161291 161292 161293 161294 161295 161296 161297 161298 161299 161300 161301 161302 161303 161304 161305 161306 161307 161308 161309 161310 161311 161312 161313 |
# File 'ext/ctp/ctp.cxx', line 161286
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradeCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161256 161257 161258 161259 161260 161261 161262 161263 161264 161265 161266 161267 161268 161269 161270 161271 161272 161273 161274 161275 161276 161277 161278 161279 161280 161281 161282 161283 |
# File 'ext/ctp/ctp.cxx', line 161256
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradeCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161586 161587 161588 161589 161590 161591 161592 161593 161594 161595 161596 161597 161598 161599 161600 161601 161602 161603 161604 161605 161606 161607 161608 161609 161610 161611 161612 161613 |
# File 'ext/ctp/ctp.cxx', line 161586
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradeDate_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161556 161557 161558 161559 161560 161561 161562 161563 161564 161565 161566 161567 161568 161569 161570 161571 161572 161573 161574 161575 161576 161577 161578 161579 161580 161581 161582 161583 |
# File 'ext/ctp/ctp.cxx', line 161556
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradeDate_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161646 161647 161648 161649 161650 161651 161652 161653 161654 161655 161656 161657 161658 161659 161660 161661 161662 161663 161664 161665 161666 161667 161668 161669 161670 161671 161672 161673 |
# File 'ext/ctp/ctp.cxx', line 161646
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradeTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161616 161617 161618 161619 161620 161621 161622 161623 161624 161625 161626 161627 161628 161629 161630 161631 161632 161633 161634 161635 161636 161637 161638 161639 161640 161641 161642 161643 |
# File 'ext/ctp/ctp.cxx', line 161616
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradeTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161766 161767 161768 161769 161770 161771 161772 161773 161774 161775 161776 161777 161778 161779 161780 161781 161782 161783 161784 161785 161786 161787 161788 161789 161790 161791 161792 161793 |
# File 'ext/ctp/ctp.cxx', line 161766
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradingDay_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
161736 161737 161738 161739 161740 161741 161742 161743 161744 161745 161746 161747 161748 161749 161750 161751 161752 161753 161754 161755 161756 161757 161758 161759 161760 161761 161762 161763 |
# File 'ext/ctp/ctp.cxx', line 161736
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_TradingDay_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","TradingDay", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradingDay,arg2,9*sizeof(char));
else memset(arg1->TradingDay,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#UserID(*args) ⇒ Object
162038 162039 162040 162041 162042 162043 162044 162045 162046 162047 162048 162049 162050 162051 162052 162053 162054 162055 162056 162057 162058 162059 162060 162061 162062 162063 162064 162065 |
# File 'ext/ctp/ctp.cxx', line 162038
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_UserID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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
162008 162009 162010 162011 162012 162013 162014 162015 162016 162017 162018 162019 162020 162021 162022 162023 162024 162025 162026 162027 162028 162029 162030 162031 162032 162033 162034 162035 |
# File 'ext/ctp/ctp.cxx', line 162008
SWIGINTERN VALUE
_wrap_CThostFtdcRspFutureSignOutField_UserID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspFutureSignOutField *arg1 = (CThostFtdcRspFutureSignOutField *) 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_CThostFtdcRspFutureSignOutField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspFutureSignOutField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspFutureSignOutField * >(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;
}
|