Class: Quickfix::NullStore
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__MessageStore->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__MessageStore->clientdata)->klass
- Quickfix::NullStore
- 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
122469 122470 122471 122472 122473 122474 122475 122476 122477 122478 122479 122480 122481 122482 122483 122484 122485 122486 122487 122488 122489 122490 122491 122492 122493 122494 122495 122496 122497 122498 122499 122500 122501 122502 122503 122504 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122469 SWIGINTERN VALUE _wrap_new_NullStore(int argc, VALUE *argv, VALUE self) { FIX::UtcTimeStamp *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; const char *classname SWIGUNUSED = "Quickfix::NullStore"; FIX::NullStore *result = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_FIX__UtcTimeStamp, 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::UtcTimeStamp const &","NullStore", 1, argv[0] )); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::UtcTimeStamp const &","NullStore", 1, argv[0])); } arg1 = reinterpret_cast< FIX::UtcTimeStamp * >(argp1); { if(tryRubyException([&]() mutable { result = (FIX::NullStore *)new FIX::NullStore((FIX::UtcTimeStamp const &)*arg1); DATA_PTR(self) = result; return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return self; fail: return Qnil; } |
Instance Method Details
#get(*args) ⇒ Object
122572 122573 122574 122575 122576 122577 122578 122579 122580 122581 122582 122583 122584 122585 122586 122587 122588 122589 122590 122591 122592 122593 122594 122595 122596 122597 122598 122599 122600 122601 122602 122603 122604 122605 122606 122607 122608 122609 122610 122611 122612 122613 122614 122615 122616 122617 122618 122619 122620 122621 122622 122623 122624 122625 122626 122627 122628 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122572 SWIGINTERN VALUE _wrap_NullStore_get(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; FIX::SEQNUM arg2 ; FIX::SEQNUM arg3 ; std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long long val2 ; int ecode2 = 0 ; unsigned long long 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore const *","get", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FIX::SEQNUM","get", 2, argv[0] )); } arg2 = static_cast< FIX::SEQNUM >(val2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FIX::SEQNUM","get", 3, argv[1] )); } arg3 = static_cast< FIX::SEQNUM >(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,std::allocator< std::string > > &","get", 4, argv[2] )); } if (!argp4) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< std::string,std::allocator< std::string > > &","get", 4, argv[2])); } arg4 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp4); { if(tryRubyException([&]() mutable { ((FIX::NullStore const *)arg1)->get(arg2,arg3,*arg4); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#getCreationTime(*args) ⇒ Object
122888 122889 122890 122891 122892 122893 122894 122895 122896 122897 122898 122899 122900 122901 122902 122903 122904 122905 122906 122907 122908 122909 122910 122911 122912 122913 122914 122915 122916 122917 122918 122919 122920 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122888 SWIGINTERN VALUE _wrap_NullStore_getCreationTime(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FIX::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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore const *","getCreationTime", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); { if(tryRubyException([&]() mutable { result = ((FIX::NullStore const *)arg1)->getCreationTime(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } vresult = SWIG_NewPointerObj((new FIX::UtcTimeStamp(result)), SWIGTYPE_p_FIX__UtcTimeStamp, SWIG_POINTER_OWN | 0 ); return vresult; fail: return Qnil; } |
#getNextSenderMsgSeqNum(*args) ⇒ Object
122631 122632 122633 122634 122635 122636 122637 122638 122639 122640 122641 122642 122643 122644 122645 122646 122647 122648 122649 122650 122651 122652 122653 122654 122655 122656 122657 122658 122659 122660 122661 122662 122663 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122631 SWIGINTERN VALUE _wrap_NullStore_getNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FIX::SEQNUM 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore const *","getNextSenderMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); { if(tryRubyException([&]() mutable { result = (FIX::SEQNUM)((FIX::NullStore const *)arg1)->getNextSenderMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } vresult = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result)); return vresult; fail: return Qnil; } |
#getNextTargetMsgSeqNum(*args) ⇒ Object
122666 122667 122668 122669 122670 122671 122672 122673 122674 122675 122676 122677 122678 122679 122680 122681 122682 122683 122684 122685 122686 122687 122688 122689 122690 122691 122692 122693 122694 122695 122696 122697 122698 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122666 SWIGINTERN VALUE _wrap_NullStore_getNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FIX::SEQNUM 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore const *","getNextTargetMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); { if(tryRubyException([&]() mutable { result = (FIX::SEQNUM)((FIX::NullStore const *)arg1)->getNextTargetMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } vresult = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result)); return vresult; fail: return Qnil; } |
#incrNextSenderMsgSeqNum(*args) ⇒ Object
122781 122782 122783 122784 122785 122786 122787 122788 122789 122790 122791 122792 122793 122794 122795 122796 122797 122798 122799 122800 122801 122802 122803 122804 122805 122806 122807 122808 122809 122810 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122781 SWIGINTERN VALUE _wrap_NullStore_incrNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","incrNextSenderMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->incrNextSenderMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#incrNextTargetMsgSeqNum(*args) ⇒ Object
122813 122814 122815 122816 122817 122818 122819 122820 122821 122822 122823 122824 122825 122826 122827 122828 122829 122830 122831 122832 122833 122834 122835 122836 122837 122838 122839 122840 122841 122842 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122813 SWIGINTERN VALUE _wrap_NullStore_incrNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","incrNextTargetMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->incrNextTargetMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#refresh(*args) ⇒ Object
122966 122967 122968 122969 122970 122971 122972 122973 122974 122975 122976 122977 122978 122979 122980 122981 122982 122983 122984 122985 122986 122987 122988 122989 122990 122991 122992 122993 122994 122995 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122966 SWIGINTERN VALUE _wrap_NullStore_refresh(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","refresh", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->refresh(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#reset(*args) ⇒ Object
122923 122924 122925 122926 122927 122928 122929 122930 122931 122932 122933 122934 122935 122936 122937 122938 122939 122940 122941 122942 122943 122944 122945 122946 122947 122948 122949 122950 122951 122952 122953 122954 122955 122956 122957 122958 122959 122960 122961 122962 122963 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122923 SWIGINTERN VALUE _wrap_NullStore_reset(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; FIX::UtcTimeStamp *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","reset", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__UtcTimeStamp, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::UtcTimeStamp const &","reset", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::UtcTimeStamp const &","reset", 2, argv[0])); } arg2 = reinterpret_cast< FIX::UtcTimeStamp * >(argp2); { if(tryRubyException([&]() mutable { (arg1)->reset((FIX::UtcTimeStamp const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#set(*args) ⇒ Object
122507 122508 122509 122510 122511 122512 122513 122514 122515 122516 122517 122518 122519 122520 122521 122522 122523 122524 122525 122526 122527 122528 122529 122530 122531 122532 122533 122534 122535 122536 122537 122538 122539 122540 122541 122542 122543 122544 122545 122546 122547 122548 122549 122550 122551 122552 122553 122554 122555 122556 122557 122558 122559 122560 122561 122562 122563 122564 122565 122566 122567 122568 122569 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122507 SWIGINTERN VALUE _wrap_NullStore_set(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; FIX::SEQNUM arg2 ; std::string *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long long 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","set", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FIX::SEQNUM","set", 2, argv[0] )); } arg2 = static_cast< FIX::SEQNUM >(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; } { if(tryRubyException([&]() mutable { result = (bool)(arg1)->set(arg2,(std::string const &)*arg3); return self; fail: return Qnil; }) == Qnil) { 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
122845 122846 122847 122848 122849 122850 122851 122852 122853 122854 122855 122856 122857 122858 122859 122860 122861 122862 122863 122864 122865 122866 122867 122868 122869 122870 122871 122872 122873 122874 122875 122876 122877 122878 122879 122880 122881 122882 122883 122884 122885 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122845 SWIGINTERN VALUE _wrap_NullStore_setCreationTime(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; FIX::UtcTimeStamp *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","setCreationTime", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__UtcTimeStamp, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::UtcTimeStamp const &","setCreationTime", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::UtcTimeStamp const &","setCreationTime", 2, argv[0])); } arg2 = reinterpret_cast< FIX::UtcTimeStamp * >(argp2); { if(tryRubyException([&]() mutable { (arg1)->setCreationTime((FIX::UtcTimeStamp const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#setNextSenderMsgSeqNum(*args) ⇒ Object
122701 122702 122703 122704 122705 122706 122707 122708 122709 122710 122711 122712 122713 122714 122715 122716 122717 122718 122719 122720 122721 122722 122723 122724 122725 122726 122727 122728 122729 122730 122731 122732 122733 122734 122735 122736 122737 122738 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122701 SWIGINTERN VALUE _wrap_NullStore_setNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; FIX::SEQNUM arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long long 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","setNextSenderMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FIX::SEQNUM","setNextSenderMsgSeqNum", 2, argv[0] )); } arg2 = static_cast< FIX::SEQNUM >(val2); { if(tryRubyException([&]() mutable { (arg1)->setNextSenderMsgSeqNum(arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#setNextTargetMsgSeqNum(*args) ⇒ Object
122741 122742 122743 122744 122745 122746 122747 122748 122749 122750 122751 122752 122753 122754 122755 122756 122757 122758 122759 122760 122761 122762 122763 122764 122765 122766 122767 122768 122769 122770 122771 122772 122773 122774 122775 122776 122777 122778 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122741 SWIGINTERN VALUE _wrap_NullStore_setNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::NullStore *arg1 = (FIX::NullStore *) 0 ; FIX::SEQNUM arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long long 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__NullStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::NullStore *","setNextTargetMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::NullStore * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FIX::SEQNUM","setNextTargetMsgSeqNum", 2, argv[0] )); } arg2 = static_cast< FIX::SEQNUM >(val2); { if(tryRubyException([&]() mutable { (arg1)->setNextTargetMsgSeqNum(arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |