Class: Quickfix::MessageStoreFactoryExceptionWrapper
- Inherits:
-
Object
- Object
- Quickfix::MessageStoreFactoryExceptionWrapper
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Instance Method Summary collapse
Constructor Details
#initialize(*args) ⇒ Object
106182 106183 106184 106185 106186 106187 106188 106189 106190 106191 106192 106193 106194 106195 106196 106197 106198 106199 106200 106201 106202 106203 106204 106205 106206 106207 106208 106209 106210 106211 106212 106213 106214 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106182
SWIGINTERN VALUE
_wrap_new_MessageStoreFactoryExceptionWrapper(int argc, VALUE *argv, VALUE self) {
FIX::MessageStoreFactory *arg1 = (FIX::MessageStoreFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
const char *classname SWIGUNUSED = "Quickfix::MessageStoreFactoryExceptionWrapper";
FIX::MessageStoreFactoryExceptionWrapper *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__MessageStoreFactory, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MessageStoreFactory *","MessageStoreFactoryExceptionWrapper", 1, argv[0] ));
}
arg1 = reinterpret_cast< FIX::MessageStoreFactory * >(argp1);
{
if(tryRubyException([&]() mutable
{
result = (FIX::MessageStoreFactoryExceptionWrapper *)new FIX::MessageStoreFactoryExceptionWrapper(arg1);
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}) == Qnil)
{
SWIG_fail;
}
}
return self;
fail:
return Qnil;
}
|
Instance Method Details
#create(*args) ⇒ Object
106217 106218 106219 106220 106221 106222 106223 106224 106225 106226 106227 106228 106229 106230 106231 106232 106233 106234 106235 106236 106237 106238 106239 106240 106241 106242 106243 106244 106245 106246 106247 106248 106249 106250 106251 106252 106253 106254 106255 106256 106257 106258 106259 106260 106261 106262 106263 106264 106265 106266 106267 106268 106269 106270 106271 106272 106273 106274 106275 106276 106277 106278 106279 106280 106281 106282 106283 106284 106285 106286 106287 106288 106289 106290 106291 106292 106293 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106217
SWIGINTERN VALUE
_wrap_MessageStoreFactoryExceptionWrapper_create(int argc, VALUE *argv, VALUE self) {
FIX::MessageStoreFactoryExceptionWrapper *arg1 = (FIX::MessageStoreFactoryExceptionWrapper *) 0 ;
FIX::UtcTimeStamp *arg2 = 0 ;
FIX::SessionID *arg3 = 0 ;
bool *arg4 = 0 ;
FIX::ConfigError *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
FIX::MessageStore *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 4) || (argc > 4)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FIX__MessageStoreFactoryExceptionWrapper, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MessageStoreFactoryExceptionWrapper *","create", 1, self ));
}
arg1 = reinterpret_cast< FIX::MessageStoreFactoryExceptionWrapper * >(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 &","create", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::UtcTimeStamp const &","create", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::UtcTimeStamp * >(argp2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::SessionID const &","create", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","create", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::SessionID * >(argp3);
res4 = SWIG_ConvertPtr(argv[2], &argp4, SWIGTYPE_p_bool, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "bool &","create", 4, argv[2] ));
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bool &","create", 4, argv[2]));
}
arg4 = reinterpret_cast< bool * >(argp4);
res5 = SWIG_ConvertPtr(argv[3], &argp5, SWIGTYPE_p_FIX__ConfigError, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FIX::ConfigError &","create", 5, argv[3] ));
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::ConfigError &","create", 5, argv[3]));
}
arg5 = reinterpret_cast< FIX::ConfigError * >(argp5);
{
if(tryRubyException([&]() mutable
{
result = (FIX::MessageStore *)(arg1)->create((FIX::UtcTimeStamp const &)*arg2,(FIX::SessionID const &)*arg3,*arg4,*arg5);
return self;
fail:
return Qnil;
}) == Qnil)
{
SWIG_fail;
}
}
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FIX__MessageStore, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#destroy(*args) ⇒ Object
106296 106297 106298 106299 106300 106301 106302 106303 106304 106305 106306 106307 106308 106309 106310 106311 106312 106313 106314 106315 106316 106317 106318 106319 106320 106321 106322 106323 106324 106325 106326 106327 106328 106329 106330 106331 106332 106333 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 106296
SWIGINTERN VALUE
_wrap_MessageStoreFactoryExceptionWrapper_destroy(int argc, VALUE *argv, VALUE self) {
FIX::MessageStoreFactoryExceptionWrapper *arg1 = (FIX::MessageStoreFactoryExceptionWrapper *) 0 ;
FIX::MessageStore *arg2 = (FIX::MessageStore *) 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__MessageStoreFactoryExceptionWrapper, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::MessageStoreFactoryExceptionWrapper *","destroy", 1, self ));
}
arg1 = reinterpret_cast< FIX::MessageStoreFactoryExceptionWrapper * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FIX__MessageStore, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::MessageStore *","destroy", 2, argv[0] ));
}
arg2 = reinterpret_cast< FIX::MessageStore * >(argp2);
{
if(tryRubyException([&]() mutable
{
(arg1)->destroy(arg2);
return self;
fail:
return Qnil;
}) == Qnil)
{
SWIG_fail;
}
}
return Qnil;
fail:
return Qnil;
}
|