Class: Quickfix::TargetCompID

Inherits:
StringField
  • Object
show all
Defined in:
ext/quickfix/QuickfixRuby.cpp,
lib/quickfix_fields.rb

Instance Method Summary collapse

Constructor Details

#initialize(data = nil) ⇒ TargetCompID

Returns a new instance of TargetCompID.



41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
# File 'ext/quickfix/QuickfixRuby.cpp', line 41509

SWIGINTERN VALUE _wrap_new_TargetCompID(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[1];
  int ii;
  
  argc = nargs;
  if (argc > 1) SWIG_fail;
  for (ii = 0; (ii < argc); ++ii) {
    argv[ii] = args[ii];
  }
  if (argc == 0) {
    return _wrap_new_TargetCompID__SWIG_0(nargs, args, self);
  }
  if (argc == 1) {
    int _v = 0;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_TargetCompID__SWIG_1(nargs, args, self);
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 1, "TargetCompID.new", 
    "    TargetCompID.new()\n"
    "    TargetCompID.new(FIX::STRING const &value)\n");
  
  return Qnil;
}