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
105630 105631 105632 105633 105634 105635 105636 105637 105638 105639 105640 105641 105642 105643 105644 105645 105646 105647 105648 105649 105650 105651 105652 105653 105654 105655 105656 105657 105658 105659 105660 105661 105662 105663 105664 105665 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105630 SWIGINTERN VALUE _wrap_new_MemoryStore(int argc, VALUE *argv, VALUE self) { FIX::UtcTimeStamp *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; const char *classname SWIGUNUSED = "Quickfix::MemoryStore"; FIX::MemoryStore *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 &","MemoryStore", 1, argv[0] )); } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::UtcTimeStamp const &","MemoryStore", 1, argv[0])); } arg1 = reinterpret_cast< FIX::UtcTimeStamp * >(argp1); { if(tryRubyException([&]() mutable { result = (FIX::MemoryStore *)new FIX::MemoryStore((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
105733 105734 105735 105736 105737 105738 105739 105740 105741 105742 105743 105744 105745 105746 105747 105748 105749 105750 105751 105752 105753 105754 105755 105756 105757 105758 105759 105760 105761 105762 105763 105764 105765 105766 105767 105768 105769 105770 105771 105772 105773 105774 105775 105776 105777 105778 105779 105780 105781 105782 105783 105784 105785 105786 105787 105788 105789 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105733 SWIGINTERN VALUE _wrap_MemoryStore_get(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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_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::MemoryStore const *)arg1)->get(arg2,arg3,*arg4); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#getCreationTime(*args) ⇒ Object
106049 106050 106051 106052 106053 106054 106055 106056 106057 106058 106059 106060 106061 106062 106063 106064 106065 106066 106067 106068 106069 106070 106071 106072 106073 106074 106075 106076 106077 106078 106079 106080 106081 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106049 SWIGINTERN VALUE _wrap_MemoryStore_getCreationTime(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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); { if(tryRubyException([&]() mutable { result = ((FIX::MemoryStore 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
105792 105793 105794 105795 105796 105797 105798 105799 105800 105801 105802 105803 105804 105805 105806 105807 105808 105809 105810 105811 105812 105813 105814 105815 105816 105817 105818 105819 105820 105821 105822 105823 105824 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105792 SWIGINTERN VALUE _wrap_MemoryStore_getNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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); { if(tryRubyException([&]() mutable { result = (FIX::SEQNUM)((FIX::MemoryStore 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
105827 105828 105829 105830 105831 105832 105833 105834 105835 105836 105837 105838 105839 105840 105841 105842 105843 105844 105845 105846 105847 105848 105849 105850 105851 105852 105853 105854 105855 105856 105857 105858 105859 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105827 SWIGINTERN VALUE _wrap_MemoryStore_getNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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); { if(tryRubyException([&]() mutable { result = (FIX::SEQNUM)((FIX::MemoryStore 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
105942 105943 105944 105945 105946 105947 105948 105949 105950 105951 105952 105953 105954 105955 105956 105957 105958 105959 105960 105961 105962 105963 105964 105965 105966 105967 105968 105969 105970 105971 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105942 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); { if(tryRubyException([&]() mutable { (arg1)->incrNextSenderMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#incrNextTargetMsgSeqNum(*args) ⇒ Object
105974 105975 105976 105977 105978 105979 105980 105981 105982 105983 105984 105985 105986 105987 105988 105989 105990 105991 105992 105993 105994 105995 105996 105997 105998 105999 106000 106001 106002 106003 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105974 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); { if(tryRubyException([&]() mutable { (arg1)->incrNextTargetMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#refresh(*args) ⇒ Object
106127 106128 106129 106130 106131 106132 106133 106134 106135 106136 106137 106138 106139 106140 106141 106142 106143 106144 106145 106146 106147 106148 106149 106150 106151 106152 106153 106154 106155 106156 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106127 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); { if(tryRubyException([&]() mutable { (arg1)->refresh(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#reset(*args) ⇒ Object
106084 106085 106086 106087 106088 106089 106090 106091 106092 106093 106094 106095 106096 106097 106098 106099 106100 106101 106102 106103 106104 106105 106106 106107 106108 106109 106110 106111 106112 106113 106114 106115 106116 106117 106118 106119 106120 106121 106122 106123 106124 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106084 SWIGINTERN VALUE _wrap_MemoryStore_reset(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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); 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
105668 105669 105670 105671 105672 105673 105674 105675 105676 105677 105678 105679 105680 105681 105682 105683 105684 105685 105686 105687 105688 105689 105690 105691 105692 105693 105694 105695 105696 105697 105698 105699 105700 105701 105702 105703 105704 105705 105706 105707 105708 105709 105710 105711 105712 105713 105714 105715 105716 105717 105718 105719 105720 105721 105722 105723 105724 105725 105726 105727 105728 105729 105730 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105668 SWIGINTERN VALUE _wrap_MemoryStore_set(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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_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
106006 106007 106008 106009 106010 106011 106012 106013 106014 106015 106016 106017 106018 106019 106020 106021 106022 106023 106024 106025 106026 106027 106028 106029 106030 106031 106032 106033 106034 106035 106036 106037 106038 106039 106040 106041 106042 106043 106044 106045 106046 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106006 SWIGINTERN VALUE _wrap_MemoryStore_setCreationTime(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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_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
105862 105863 105864 105865 105866 105867 105868 105869 105870 105871 105872 105873 105874 105875 105876 105877 105878 105879 105880 105881 105882 105883 105884 105885 105886 105887 105888 105889 105890 105891 105892 105893 105894 105895 105896 105897 105898 105899 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105862 SWIGINTERN VALUE _wrap_MemoryStore_setNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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_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
105902 105903 105904 105905 105906 105907 105908 105909 105910 105911 105912 105913 105914 105915 105916 105917 105918 105919 105920 105921 105922 105923 105924 105925 105926 105927 105928 105929 105930 105931 105932 105933 105934 105935 105936 105937 105938 105939 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 105902 SWIGINTERN VALUE _wrap_MemoryStore_setNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MemoryStore *arg1 = (FIX::MemoryStore *) 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__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_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; } |