Class: Quickfix::DataDictionaryNotFound
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__Exception->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__Exception->clientdata)->klass
- Quickfix::DataDictionaryNotFound
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Instance Method Summary collapse
Constructor Details
#initialize(*args, self) ⇒ Object
13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 13258 SWIGINTERN VALUE _wrap_new_DataDictionaryNotFound(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 == 1) { int _v = 0; int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_DataDictionaryNotFound__SWIG_1(nargs, args, self); } } if (argc == 2) { int _v = 0; int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _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_DataDictionaryNotFound__SWIG_0(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 2, "DataDictionaryNotFound.new", " DataDictionaryNotFound.new(std::string const &version, std::string const &what)\n" " DataDictionaryNotFound.new(std::string const &version)\n"); return Qnil; } |
Instance Method Details
#version(*args) ⇒ Object
13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 13348 SWIGINTERN VALUE _wrap_DataDictionaryNotFound_version_get(int argc, VALUE *argv, VALUE self) { FIX::DataDictionaryNotFound *arg1 = (FIX::DataDictionaryNotFound *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::string *result = 0 ; 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__DataDictionaryNotFound, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::DataDictionaryNotFound *","version", 1, self )); } arg1 = reinterpret_cast< FIX::DataDictionaryNotFound * >(argp1); result = (std::string *) & ((arg1)->version); vresult = SWIG_From_std_string(static_cast< std::string >(*result)); return vresult; fail: return Qnil; } |
#version=(*args) ⇒ Object
13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 13304 SWIGINTERN VALUE _wrap_DataDictionaryNotFound_version_set(int argc, VALUE *argv, VALUE self) { FIX::DataDictionaryNotFound *arg1 = (FIX::DataDictionaryNotFound *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; VALUE vresult = Qnil; 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__DataDictionaryNotFound, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::DataDictionaryNotFound *","version", 1, self )); } arg1 = reinterpret_cast< FIX::DataDictionaryNotFound * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(argv[0], &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","version", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","version", 2, argv[0])); } arg2 = ptr; } if (arg1) (arg1)->version = *arg2; { if( std::string("std::string const &") == "std::string &" ) { rb_str_resize( argv[0], 0 ); rb_str_append( argv[0], rb_str_new2(arg2->c_str()) ); } } if (SWIG_IsNewObj(res2)) delete arg2; return vresult; fail: if (SWIG_IsNewObj(res2)) delete arg2; return Qnil; } |