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
122605 122606 122607 122608 122609 122610 122611 122612 122613 122614 122615 122616 122617 122618 122619 122620 122621 122622 122623 122624 122625 122626 122627 122628 122629 122630 122631 122632 122633 122634 122635 122636 122637 122638 122639 122640 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122605
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
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 122739 122740 122741 122742 122743 122744 122745 122746 122747 122748 122749 122750 122751 122752 122753 122754 122755 122756 122757 122758 122759 122760 122761 122762 122763 122764 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122708
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
123024 123025 123026 123027 123028 123029 123030 123031 123032 123033 123034 123035 123036 123037 123038 123039 123040 123041 123042 123043 123044 123045 123046 123047 123048 123049 123050 123051 123052 123053 123054 123055 123056 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 123024
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
122767 122768 122769 122770 122771 122772 122773 122774 122775 122776 122777 122778 122779 122780 122781 122782 122783 122784 122785 122786 122787 122788 122789 122790 122791 122792 122793 122794 122795 122796 122797 122798 122799 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122767
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
122802 122803 122804 122805 122806 122807 122808 122809 122810 122811 122812 122813 122814 122815 122816 122817 122818 122819 122820 122821 122822 122823 122824 122825 122826 122827 122828 122829 122830 122831 122832 122833 122834 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122802
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
122917 122918 122919 122920 122921 122922 122923 122924 122925 122926 122927 122928 122929 122930 122931 122932 122933 122934 122935 122936 122937 122938 122939 122940 122941 122942 122943 122944 122945 122946 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122917
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
122949 122950 122951 122952 122953 122954 122955 122956 122957 122958 122959 122960 122961 122962 122963 122964 122965 122966 122967 122968 122969 122970 122971 122972 122973 122974 122975 122976 122977 122978 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122949
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
123102 123103 123104 123105 123106 123107 123108 123109 123110 123111 123112 123113 123114 123115 123116 123117 123118 123119 123120 123121 123122 123123 123124 123125 123126 123127 123128 123129 123130 123131 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 123102
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
123059 123060 123061 123062 123063 123064 123065 123066 123067 123068 123069 123070 123071 123072 123073 123074 123075 123076 123077 123078 123079 123080 123081 123082 123083 123084 123085 123086 123087 123088 123089 123090 123091 123092 123093 123094 123095 123096 123097 123098 123099 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 123059
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
122643 122644 122645 122646 122647 122648 122649 122650 122651 122652 122653 122654 122655 122656 122657 122658 122659 122660 122661 122662 122663 122664 122665 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 122699 122700 122701 122702 122703 122704 122705 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122643
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
122981 122982 122983 122984 122985 122986 122987 122988 122989 122990 122991 122992 122993 122994 122995 122996 122997 122998 122999 123000 123001 123002 123003 123004 123005 123006 123007 123008 123009 123010 123011 123012 123013 123014 123015 123016 123017 123018 123019 123020 123021 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122981
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
122837 122838 122839 122840 122841 122842 122843 122844 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 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122837
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
122877 122878 122879 122880 122881 122882 122883 122884 122885 122886 122887 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 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 122877
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;
}
|