Class: Ctp::CThostFtdcQryExchangeOrderActionField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcQryExchangeOrderActionField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #ClientID(*args) ⇒ Object
- #ClientID=(*args) ⇒ Object
- #ExchangeID(*args) ⇒ Object
- #ExchangeID=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #ParticipantID(*args) ⇒ Object
- #ParticipantID=(*args) ⇒ Object
- #TraderID(*args) ⇒ Object
- #TraderID=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
61681 61682 61683 61684 61685 61686 61687 61688 61689 61690 61691 61692 61693 61694 |
# File 'ext/ctp/ctp.cxx', line 61681
SWIGINTERN VALUE
_wrap_new_CThostFtdcQryExchangeOrderActionField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcQryExchangeOrderActionField";
CThostFtdcQryExchangeOrderActionField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcQryExchangeOrderActionField *)new CThostFtdcQryExchangeOrderActionField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#ClientID(*args) ⇒ Object
61516 61517 61518 61519 61520 61521 61522 61523 61524 61525 61526 61527 61528 61529 61530 61531 61532 61533 61534 61535 61536 61537 61538 61539 61540 61541 61542 61543 |
# File 'ext/ctp/ctp.cxx', line 61516
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_ClientID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","ClientID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
result = (char *) ((arg1)->ClientID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ClientID=(*args) ⇒ Object
61486 61487 61488 61489 61490 61491 61492 61493 61494 61495 61496 61497 61498 61499 61500 61501 61502 61503 61504 61505 61506 61507 61508 61509 61510 61511 61512 61513 |
# File 'ext/ctp/ctp.cxx', line 61486
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_ClientID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","ClientID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","ClientID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ClientID,arg2,11*sizeof(char));
else memset(arg1->ClientID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ExchangeID(*args) ⇒ Object
61576 61577 61578 61579 61580 61581 61582 61583 61584 61585 61586 61587 61588 61589 61590 61591 61592 61593 61594 61595 61596 61597 61598 61599 61600 61601 61602 61603 |
# File 'ext/ctp/ctp.cxx', line 61576
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_ExchangeID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","ExchangeID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
result = (char *) ((arg1)->ExchangeID);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ExchangeID=(*args) ⇒ Object
61546 61547 61548 61549 61550 61551 61552 61553 61554 61555 61556 61557 61558 61559 61560 61561 61562 61563 61564 61565 61566 61567 61568 61569 61570 61571 61572 61573 |
# File 'ext/ctp/ctp.cxx', line 61546
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_ExchangeID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","ExchangeID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","ExchangeID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ExchangeID,arg2,9*sizeof(char));
else memset(arg1->ExchangeID,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ParticipantID(*args) ⇒ Object
61456 61457 61458 61459 61460 61461 61462 61463 61464 61465 61466 61467 61468 61469 61470 61471 61472 61473 61474 61475 61476 61477 61478 61479 61480 61481 61482 61483 |
# File 'ext/ctp/ctp.cxx', line 61456
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_ParticipantID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","ParticipantID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
result = (char *) ((arg1)->ParticipantID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ParticipantID=(*args) ⇒ Object
61426 61427 61428 61429 61430 61431 61432 61433 61434 61435 61436 61437 61438 61439 61440 61441 61442 61443 61444 61445 61446 61447 61448 61449 61450 61451 61452 61453 |
# File 'ext/ctp/ctp.cxx', line 61426
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_ParticipantID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","ParticipantID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","ParticipantID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ParticipantID,arg2,11*sizeof(char));
else memset(arg1->ParticipantID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TraderID(*args) ⇒ Object
61636 61637 61638 61639 61640 61641 61642 61643 61644 61645 61646 61647 61648 61649 61650 61651 61652 61653 61654 61655 61656 61657 61658 61659 61660 61661 61662 61663 |
# File 'ext/ctp/ctp.cxx', line 61636
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_TraderID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 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_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","TraderID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
result = (char *) ((arg1)->TraderID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TraderID=(*args) ⇒ Object
61606 61607 61608 61609 61610 61611 61612 61613 61614 61615 61616 61617 61618 61619 61620 61621 61622 61623 61624 61625 61626 61627 61628 61629 61630 61631 61632 61633 |
# File 'ext/ctp/ctp.cxx', line 61606
SWIGINTERN VALUE
_wrap_CThostFtdcQryExchangeOrderActionField_TraderID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryExchangeOrderActionField *arg1 = (CThostFtdcQryExchangeOrderActionField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[21] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryExchangeOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryExchangeOrderActionField *","TraderID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryExchangeOrderActionField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","TraderID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TraderID,arg2,21*sizeof(char));
else memset(arg1->TraderID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|