Class: Quickfix::MemoryStore
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__MessageStore->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__MessageStore->clientdata)->klass
- Quickfix::MemoryStore
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Instance Method Summary collapse
- #get(*args) ⇒ Object
- #getCreationTime(*args) ⇒ Object
- #getNextSenderMsgSeqNum(*args) ⇒ Object
- #getNextTargetMsgSeqNum(*args) ⇒ Object
- #incrNextSenderMsgSeqNum(*args) ⇒ Object
- #incrNextTargetMsgSeqNum(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #refresh(*args) ⇒ Object
- #reset(*args) ⇒ Object
- #set(*args) ⇒ Object
- #setCreationTime(*args) ⇒ Object
- #setNextSenderMsgSeqNum(*args) ⇒ Object
- #setNextTargetMsgSeqNum(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
213444 213445 213446 213447 213448 213449 213450 213451 213452 213453 213454 213455 213456 213457 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213444
SWIGINTERN VALUE
_wrap_new_MemoryStore(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Quickfix::MemoryStore";
FIX::MemoryStore *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (FIX::MemoryStore *)new FIX::MemoryStore();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#get(*args) ⇒ Object
213520 213521 213522 213523 213524 213525 213526 213527 213528 213529 213530 213531 213532 213533 213534 213535 213536 213537 213538 213539 213540 213541 213542 213543 213544 213545 213546 213547 213548 213549 213550 213551 213552 213553 213554 213555 213556 213557 213558 213559 213560 213561 213562 213563 213564 213565 213566 213567 213568 213569 213570 213571 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213520
SWIGINTERN VALUE
_wrap_MemoryStore_get(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
int arg2 ;
int arg3 ;
std::vector< std::string > *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
if ((argc < 3) || (argc > 3)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore const *","get", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","get", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
ecode3 = SWIG_AsVal_int(argv[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","get", 3, argv[1] ));
}
arg3 = static_cast< int >(val3);
res4 = SWIG_ConvertPtr(argv[2], &argp4, SWIGTYPE_p_std__vectorT_std__string_t, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "std::vector< std::string > &","get", 4, argv[2] ));
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< std::string > &","get", 4, argv[2]));
}
arg4 = reinterpret_cast< std::vector< std::string > * >(argp4);
try {
((FIX::MemoryStore const *)arg1)->get(arg2,arg3,*arg4);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#getCreationTime(*args) ⇒ Object
213796 213797 213798 213799 213800 213801 213802 213803 213804 213805 213806 213807 213808 213809 213810 213811 213812 213813 213814 213815 213816 213817 213818 213819 213820 213821 213822 213823 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213796
SWIGINTERN VALUE
_wrap_MemoryStore_getCreationTime(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
UtcTimeStamp 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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore const *","getCreationTime", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
result = ((FIX::MemoryStore const *)arg1)->getCreationTime();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
vresult = SWIG_NewPointerObj((new UtcTimeStamp(static_cast< const UtcTimeStamp& >(result))), SWIGTYPE_p_UtcTimeStamp, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
|
#getNextSenderMsgSeqNum(*args) ⇒ Object
213574 213575 213576 213577 213578 213579 213580 213581 213582 213583 213584 213585 213586 213587 213588 213589 213590 213591 213592 213593 213594 213595 213596 213597 213598 213599 213600 213601 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213574
SWIGINTERN VALUE
_wrap_MemoryStore_getNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int 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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore const *","getNextSenderMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
result = (int)((FIX::MemoryStore const *)arg1)->getNextSenderMsgSeqNum();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getNextTargetMsgSeqNum(*args) ⇒ Object
213604 213605 213606 213607 213608 213609 213610 213611 213612 213613 213614 213615 213616 213617 213618 213619 213620 213621 213622 213623 213624 213625 213626 213627 213628 213629 213630 213631 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213604
SWIGINTERN VALUE
_wrap_MemoryStore_getNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int 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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore const *","getNextTargetMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
result = (int)((FIX::MemoryStore const *)arg1)->getNextTargetMsgSeqNum();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#incrNextSenderMsgSeqNum(*args) ⇒ Object
213704 213705 213706 213707 213708 213709 213710 213711 213712 213713 213714 213715 213716 213717 213718 213719 213720 213721 213722 213723 213724 213725 213726 213727 213728 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213704
SWIGINTERN VALUE
_wrap_MemoryStore_incrNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","incrNextSenderMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
(arg1)->incrNextSenderMsgSeqNum();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#incrNextTargetMsgSeqNum(*args) ⇒ Object
213731 213732 213733 213734 213735 213736 213737 213738 213739 213740 213741 213742 213743 213744 213745 213746 213747 213748 213749 213750 213751 213752 213753 213754 213755 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213731
SWIGINTERN VALUE
_wrap_MemoryStore_incrNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","incrNextTargetMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
(arg1)->incrNextTargetMsgSeqNum();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#refresh(*args) ⇒ Object
213853 213854 213855 213856 213857 213858 213859 213860 213861 213862 213863 213864 213865 213866 213867 213868 213869 213870 213871 213872 213873 213874 213875 213876 213877 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213853
SWIGINTERN VALUE
_wrap_MemoryStore_refresh(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","refresh", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
(arg1)->refresh();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#reset(*args) ⇒ Object
213826 213827 213828 213829 213830 213831 213832 213833 213834 213835 213836 213837 213838 213839 213840 213841 213842 213843 213844 213845 213846 213847 213848 213849 213850 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213826
SWIGINTERN VALUE
_wrap_MemoryStore_reset(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","reset", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
try {
(arg1)->reset();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#set(*args) ⇒ Object
213460 213461 213462 213463 213464 213465 213466 213467 213468 213469 213470 213471 213472 213473 213474 213475 213476 213477 213478 213479 213480 213481 213482 213483 213484 213485 213486 213487 213488 213489 213490 213491 213492 213493 213494 213495 213496 213497 213498 213499 213500 213501 213502 213503 213504 213505 213506 213507 213508 213509 213510 213511 213512 213513 213514 213515 213516 213517 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213460
SWIGINTERN VALUE
_wrap_MemoryStore_set(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
int arg2 ;
std::string *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
bool result;
VALUE vresult = Qnil;
if ((argc < 2) || (argc > 2)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","set", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","set", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
{
std::string *ptr = (std::string *)0;
res3 = SWIG_AsPtr_std_string(argv[1], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "std::string const &","set", 3, argv[1] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","set", 3, argv[1]));
}
arg3 = ptr;
}
try {
result = (bool)(arg1)->set(arg2,(std::string const &)*arg3);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
vresult = SWIG_From_bool(static_cast< bool >(result));
{
if( std::string("std::string const &") == "std::string &" )
{
rb_str_resize( argv[1], 0 );
rb_str_append( argv[1], rb_str_new2(arg3->c_str()) );
}
}
if (SWIG_IsNewObj(res3)) delete arg3;
return vresult;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return Qnil;
}
|
#setCreationTime(*args) ⇒ Object
213758 213759 213760 213761 213762 213763 213764 213765 213766 213767 213768 213769 213770 213771 213772 213773 213774 213775 213776 213777 213778 213779 213780 213781 213782 213783 213784 213785 213786 213787 213788 213789 213790 213791 213792 213793 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213758
SWIGINTERN VALUE
_wrap_MemoryStore_setCreationTime(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
UtcTimeStamp *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","setCreationTime", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_UtcTimeStamp, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "UtcTimeStamp const &","setCreationTime", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "UtcTimeStamp const &","setCreationTime", 2, argv[0]));
}
arg2 = reinterpret_cast< UtcTimeStamp * >(argp2);
try {
(arg1)->setCreationTime((UtcTimeStamp const &)*arg2);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#setNextSenderMsgSeqNum(*args) ⇒ Object
213634 213635 213636 213637 213638 213639 213640 213641 213642 213643 213644 213645 213646 213647 213648 213649 213650 213651 213652 213653 213654 213655 213656 213657 213658 213659 213660 213661 213662 213663 213664 213665 213666 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213634
SWIGINTERN VALUE
_wrap_MemoryStore_setNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
int 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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","setNextSenderMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setNextSenderMsgSeqNum", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
try {
(arg1)->setNextSenderMsgSeqNum(arg2);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#setNextTargetMsgSeqNum(*args) ⇒ Object
213669 213670 213671 213672 213673 213674 213675 213676 213677 213678 213679 213680 213681 213682 213683 213684 213685 213686 213687 213688 213689 213690 213691 213692 213693 213694 213695 213696 213697 213698 213699 213700 213701 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 213669
SWIGINTERN VALUE
_wrap_MemoryStore_setNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 0 ;
int 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_FIX__MemoryStore, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MemoryStore *","setNextTargetMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::MemoryStore * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setNextTargetMsgSeqNum", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
try {
(arg1)->setNextTargetMsgSeqNum(arg2);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|