Class: Quickfix::RepeatingGroupCountMismatch
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__Exception->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__Exception->clientdata)->klass
- Quickfix::RepeatingGroupCountMismatch
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Instance Method Summary collapse
Constructor Details
#initialize(*args, self) ⇒ Object
16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 16995 SWIGINTERN VALUE _wrap_new_RepeatingGroupCountMismatch(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[2]; int ii; argc = nargs; if (argc > 2) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 0) { return _wrap_new_RepeatingGroupCountMismatch__SWIG_2(nargs, args, self); } if (argc == 1) { int _v = 0; { int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_new_RepeatingGroupCountMismatch__SWIG_1(nargs, args, self); } } if (argc == 2) { int _v = 0; { int res = SWIG_AsVal_int(argv[0], NULL); _v = SWIG_CheckState(res); } if (_v) { int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_RepeatingGroupCountMismatch__SWIG_0(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 2, "RepeatingGroupCountMismatch.new", " RepeatingGroupCountMismatch.new(int field, std::string const &what)\n" " RepeatingGroupCountMismatch.new(int field)\n" " RepeatingGroupCountMismatch.new()\n"); return Qnil; } |
Instance Method Details
#field(*args) ⇒ Object
17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 17072 SWIGINTERN VALUE _wrap_RepeatingGroupCountMismatch_field_get(int argc, VALUE *argv, VALUE self) { FIX::RepeatingGroupCountMismatch *arg1 = (FIX::RepeatingGroupCountMismatch *) 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__RepeatingGroupCountMismatch, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::RepeatingGroupCountMismatch *","field", 1, self )); } arg1 = reinterpret_cast< FIX::RepeatingGroupCountMismatch * >(argp1); result = (int) ((arg1)->field); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
#field=(*args) ⇒ Object
17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 17043 SWIGINTERN VALUE _wrap_RepeatingGroupCountMismatch_field_set(int argc, VALUE *argv, VALUE self) { FIX::RepeatingGroupCountMismatch *arg1 = (FIX::RepeatingGroupCountMismatch *) 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__RepeatingGroupCountMismatch, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::RepeatingGroupCountMismatch *","field", 1, self )); } arg1 = reinterpret_cast< FIX::RepeatingGroupCountMismatch * >(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","field", 2, argv[0] )); } arg2 = static_cast< int >(val2); if (arg1) (arg1)->field = arg2; return Qnil; fail: return Qnil; } |