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
8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 8557
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;
{
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;
{
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 f, std::string const &what)\n"
" RepeatingGroupCountMismatch.new(int f)\n"
" RepeatingGroupCountMismatch.new()\n");
return Qnil;
}
|
Instance Method Details
#field(*args) ⇒ Object
8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 8634
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
8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 8605
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;
}
|