Class: Quickfix::MySQLStore
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__MessageStore->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__MessageStore->clientdata)->klass
- Quickfix::MySQLStore
- 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, self) ⇒ Object constructor
- #refresh(*args) ⇒ Object
- #reset(*args) ⇒ Object
- #set(*args) ⇒ Object
- #setNextSenderMsgSeqNum(*args) ⇒ Object
- #setNextTargetMsgSeqNum(*args) ⇒ Object
Constructor Details
#initialize(*args, self) ⇒ Object
116642 116643 116644 116645 116646 116647 116648 116649 116650 116651 116652 116653 116654 116655 116656 116657 116658 116659 116660 116661 116662 116663 116664 116665 116666 116667 116668 116669 116670 116671 116672 116673 116674 116675 116676 116677 116678 116679 116680 116681 116682 116683 116684 116685 116686 116687 116688 116689 116690 116691 116692 116693 116694 116695 116696 116697 116698 116699 116700 116701 116702 116703 116704 116705 116706 116707 116708 116709 116710 116711 116712 116713 116714 116715 116716 116717 116718 116719 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116642 SWIGINTERN VALUE _wrap_new_MySQLStore(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__UtcTimeStamp, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__SessionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__DatabaseConnectionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FIX__DatabaseConnectionPoolT_FIX__MySQLConnection_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_MySQLStore__SWIG_0(nargs, args, self); } } } } } if (argc == 7) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__UtcTimeStamp, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__SessionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[5], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { { int res = SWIG_AsVal_short(argv[6], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_new_MySQLStore__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "MySQLStore.new", " MySQLStore.new(FIX::UtcTimeStamp const &now, FIX::SessionID const &sessionID, FIX::DatabaseConnectionID const &connection, FIX::MySQLConnectionPool *pool)\n" " MySQLStore.new(FIX::UtcTimeStamp const &now, FIX::SessionID const &sessionID, std::string const &database, std::string const &user, std::string const &password, std::string const &host, short port)\n"); return Qnil; } |
Instance Method Details
#get(*args) ⇒ Object
116793 116794 116795 116796 116797 116798 116799 116800 116801 116802 116803 116804 116805 116806 116807 116808 116809 116810 116811 116812 116813 116814 116815 116816 116817 116818 116819 116820 116821 116822 116823 116824 116825 116826 116827 116828 116829 116830 116831 116832 116833 116834 116835 116836 116837 116838 116839 116840 116841 116842 116843 116844 116845 116846 116847 116848 116849 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116793 SWIGINTERN VALUE _wrap_MySQLStore_get(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore const *","get", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(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::MySQLStore const *)arg1)->get(arg2,arg3,*arg4); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#getCreationTime(*args) ⇒ Object
117066 117067 117068 117069 117070 117071 117072 117073 117074 117075 117076 117077 117078 117079 117080 117081 117082 117083 117084 117085 117086 117087 117088 117089 117090 117091 117092 117093 117094 117095 117096 117097 117098 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 117066 SWIGINTERN VALUE _wrap_MySQLStore_getCreationTime(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore const *","getCreationTime", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(argp1); { if(tryRubyException([&]() mutable { result = ((FIX::MySQLStore 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
116852 116853 116854 116855 116856 116857 116858 116859 116860 116861 116862 116863 116864 116865 116866 116867 116868 116869 116870 116871 116872 116873 116874 116875 116876 116877 116878 116879 116880 116881 116882 116883 116884 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116852 SWIGINTERN VALUE _wrap_MySQLStore_getNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore const *","getNextSenderMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(argp1); { if(tryRubyException([&]() mutable { result = (FIX::SEQNUM)((FIX::MySQLStore 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
116887 116888 116889 116890 116891 116892 116893 116894 116895 116896 116897 116898 116899 116900 116901 116902 116903 116904 116905 116906 116907 116908 116909 116910 116911 116912 116913 116914 116915 116916 116917 116918 116919 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116887 SWIGINTERN VALUE _wrap_MySQLStore_getNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore const *","getNextTargetMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(argp1); { if(tryRubyException([&]() mutable { result = (FIX::SEQNUM)((FIX::MySQLStore 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
117002 117003 117004 117005 117006 117007 117008 117009 117010 117011 117012 117013 117014 117015 117016 117017 117018 117019 117020 117021 117022 117023 117024 117025 117026 117027 117028 117029 117030 117031 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 117002 SWIGINTERN VALUE _wrap_MySQLStore_incrNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","incrNextSenderMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->incrNextSenderMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#incrNextTargetMsgSeqNum(*args) ⇒ Object
117034 117035 117036 117037 117038 117039 117040 117041 117042 117043 117044 117045 117046 117047 117048 117049 117050 117051 117052 117053 117054 117055 117056 117057 117058 117059 117060 117061 117062 117063 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 117034 SWIGINTERN VALUE _wrap_MySQLStore_incrNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","incrNextTargetMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->incrNextTargetMsgSeqNum(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#refresh(*args) ⇒ Object
117144 117145 117146 117147 117148 117149 117150 117151 117152 117153 117154 117155 117156 117157 117158 117159 117160 117161 117162 117163 117164 117165 117166 117167 117168 117169 117170 117171 117172 117173 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 117144 SWIGINTERN VALUE _wrap_MySQLStore_refresh(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","refresh", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->refresh(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#reset(*args) ⇒ Object
117101 117102 117103 117104 117105 117106 117107 117108 117109 117110 117111 117112 117113 117114 117115 117116 117117 117118 117119 117120 117121 117122 117123 117124 117125 117126 117127 117128 117129 117130 117131 117132 117133 117134 117135 117136 117137 117138 117139 117140 117141 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 117101 SWIGINTERN VALUE _wrap_MySQLStore_reset(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","reset", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(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
116728 116729 116730 116731 116732 116733 116734 116735 116736 116737 116738 116739 116740 116741 116742 116743 116744 116745 116746 116747 116748 116749 116750 116751 116752 116753 116754 116755 116756 116757 116758 116759 116760 116761 116762 116763 116764 116765 116766 116767 116768 116769 116770 116771 116772 116773 116774 116775 116776 116777 116778 116779 116780 116781 116782 116783 116784 116785 116786 116787 116788 116789 116790 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116728 SWIGINTERN VALUE _wrap_MySQLStore_set(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","set", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(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; } |
#setNextSenderMsgSeqNum(*args) ⇒ Object
116922 116923 116924 116925 116926 116927 116928 116929 116930 116931 116932 116933 116934 116935 116936 116937 116938 116939 116940 116941 116942 116943 116944 116945 116946 116947 116948 116949 116950 116951 116952 116953 116954 116955 116956 116957 116958 116959 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116922 SWIGINTERN VALUE _wrap_MySQLStore_setNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","setNextSenderMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(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
116962 116963 116964 116965 116966 116967 116968 116969 116970 116971 116972 116973 116974 116975 116976 116977 116978 116979 116980 116981 116982 116983 116984 116985 116986 116987 116988 116989 116990 116991 116992 116993 116994 116995 116996 116997 116998 116999 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 116962 SWIGINTERN VALUE _wrap_MySQLStore_setNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) { FIX::MySQLStore *arg1 = (FIX::MySQLStore *) 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__MySQLStore, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MySQLStore *","setNextTargetMsgSeqNum", 1, self )); } arg1 = reinterpret_cast< FIX::MySQLStore * >(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; } |