Class: Quickfix::PostgreSQLLog
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__Log->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__Log->clientdata)->klass
- Quickfix::PostgreSQLLog
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Instance Method Summary collapse
- #backup(*args) ⇒ Object
-
#clear(*args) ⇒ Object
call-seq: clear.
- #initialize(*args, self) ⇒ Object constructor
- #onEvent(*args) ⇒ Object
- #onIncoming(*args) ⇒ Object
- #onOutgoing(*args) ⇒ Object
- #setEventTable(*args) ⇒ Object
- #setIncomingTable(*args) ⇒ Object
- #setOutgoingTable(*args) ⇒ Object
Constructor Details
#initialize(*args, self) ⇒ Object
120859 120860 120861 120862 120863 120864 120865 120866 120867 120868 120869 120870 120871 120872 120873 120874 120875 120876 120877 120878 120879 120880 120881 120882 120883 120884 120885 120886 120887 120888 120889 120890 120891 120892 120893 120894 120895 120896 120897 120898 120899 120900 120901 120902 120903 120904 120905 120906 120907 120908 120909 120910 120911 120912 120913 120914 120915 120916 120917 120918 120919 120920 120921 120922 120923 120924 120925 120926 120927 120928 120929 120930 120931 120932 120933 120934 120935 120936 120937 120938 120939 120940 120941 120942 120943 120944 120945 120946 120947 120948 120949 120950 120951 120952 120953 120954 120955 120956 120957 120958 120959 120960 120961 120962 120963 120964 120965 120966 120967 120968 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 120859 SWIGINTERN VALUE _wrap_new_PostgreSQLLog(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs; if (argc > 6) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__DatabaseConnectionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DatabaseConnectionPoolT_FIX__PostgreSQLConnection_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_PostgreSQLLog__SWIG_1(nargs, args, self); } } } if (argc == 3) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__SessionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DatabaseConnectionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__DatabaseConnectionPoolT_FIX__PostgreSQLConnection_t, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_PostgreSQLLog__SWIG_0(nargs, args, self); } } } } if (argc == 5) { 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) { int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { { int res = SWIG_AsVal_short(argv[4], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_new_PostgreSQLLog__SWIG_3(nargs, args, self); } } } } } } if (argc == 6) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__SessionID, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsPtr_std_string(argv[4], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { { int res = SWIG_AsVal_short(argv[5], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_new_PostgreSQLLog__SWIG_2(nargs, args, self); } } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "PostgreSQLLog.new", " PostgreSQLLog.new(FIX::SessionID const &s, FIX::DatabaseConnectionID const &d, FIX::PostgreSQLConnectionPool *p)\n" " PostgreSQLLog.new(FIX::DatabaseConnectionID const &d, FIX::PostgreSQLConnectionPool *p)\n" " PostgreSQLLog.new(FIX::SessionID const &s, std::string const &database, std::string const &user, std::string const &password, std::string const &host, short port)\n" " PostgreSQLLog.new(std::string const &database, std::string const &user, std::string const &password, std::string const &host, short port)\n"); return Qnil; } |
Instance Method Details
#backup(*args) ⇒ Object
121017 121018 121019 121020 121021 121022 121023 121024 121025 121026 121027 121028 121029 121030 121031 121032 121033 121034 121035 121036 121037 121038 121039 121040 121041 121042 121043 121044 121045 121046 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121017 SWIGINTERN VALUE _wrap_PostgreSQLLog_backup(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","backup", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->backup(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#clear(*args) ⇒ Object
call-seq:
clear
Clear PostgreSQLLog contents.
120985 120986 120987 120988 120989 120990 120991 120992 120993 120994 120995 120996 120997 120998 120999 121000 121001 121002 121003 121004 121005 121006 121007 121008 121009 121010 121011 121012 121013 121014 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 120985 SWIGINTERN VALUE _wrap_PostgreSQLLog_clear(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","clear", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(argp1); { if(tryRubyException([&]() mutable { (arg1)->clear(); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } return Qnil; fail: return Qnil; } |
#onEvent(*args) ⇒ Object
121324 121325 121326 121327 121328 121329 121330 121331 121332 121333 121334 121335 121336 121337 121338 121339 121340 121341 121342 121343 121344 121345 121346 121347 121348 121349 121350 121351 121352 121353 121354 121355 121356 121357 121358 121359 121360 121361 121362 121363 121364 121365 121366 121367 121368 121369 121370 121371 121372 121373 121374 121375 121376 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121324 SWIGINTERN VALUE _wrap_PostgreSQLLog_onEvent(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","onEvent", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(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 &","onEvent", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","onEvent", 2, argv[0])); } arg2 = ptr; } { if(tryRubyException([&]() mutable { (arg1)->onEvent((std::string const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } { 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; } |
#onIncoming(*args) ⇒ Object
121214 121215 121216 121217 121218 121219 121220 121221 121222 121223 121224 121225 121226 121227 121228 121229 121230 121231 121232 121233 121234 121235 121236 121237 121238 121239 121240 121241 121242 121243 121244 121245 121246 121247 121248 121249 121250 121251 121252 121253 121254 121255 121256 121257 121258 121259 121260 121261 121262 121263 121264 121265 121266 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121214 SWIGINTERN VALUE _wrap_PostgreSQLLog_onIncoming(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","onIncoming", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(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 &","onIncoming", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","onIncoming", 2, argv[0])); } arg2 = ptr; } { if(tryRubyException([&]() mutable { (arg1)->onIncoming((std::string const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } { 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; } |
#onOutgoing(*args) ⇒ Object
121269 121270 121271 121272 121273 121274 121275 121276 121277 121278 121279 121280 121281 121282 121283 121284 121285 121286 121287 121288 121289 121290 121291 121292 121293 121294 121295 121296 121297 121298 121299 121300 121301 121302 121303 121304 121305 121306 121307 121308 121309 121310 121311 121312 121313 121314 121315 121316 121317 121318 121319 121320 121321 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121269 SWIGINTERN VALUE _wrap_PostgreSQLLog_onOutgoing(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","onOutgoing", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(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 &","onOutgoing", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","onOutgoing", 2, argv[0])); } arg2 = ptr; } { if(tryRubyException([&]() mutable { (arg1)->onOutgoing((std::string const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } { 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; } |
#setEventTable(*args) ⇒ Object
121159 121160 121161 121162 121163 121164 121165 121166 121167 121168 121169 121170 121171 121172 121173 121174 121175 121176 121177 121178 121179 121180 121181 121182 121183 121184 121185 121186 121187 121188 121189 121190 121191 121192 121193 121194 121195 121196 121197 121198 121199 121200 121201 121202 121203 121204 121205 121206 121207 121208 121209 121210 121211 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121159 SWIGINTERN VALUE _wrap_PostgreSQLLog_setEventTable(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","setEventTable", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(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 &","setEventTable", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setEventTable", 2, argv[0])); } arg2 = ptr; } { if(tryRubyException([&]() mutable { (arg1)->setEventTable((std::string const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } { 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; } |
#setIncomingTable(*args) ⇒ Object
121049 121050 121051 121052 121053 121054 121055 121056 121057 121058 121059 121060 121061 121062 121063 121064 121065 121066 121067 121068 121069 121070 121071 121072 121073 121074 121075 121076 121077 121078 121079 121080 121081 121082 121083 121084 121085 121086 121087 121088 121089 121090 121091 121092 121093 121094 121095 121096 121097 121098 121099 121100 121101 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121049 SWIGINTERN VALUE _wrap_PostgreSQLLog_setIncomingTable(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","setIncomingTable", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(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 &","setIncomingTable", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setIncomingTable", 2, argv[0])); } arg2 = ptr; } { if(tryRubyException([&]() mutable { (arg1)->setIncomingTable((std::string const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } { 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; } |
#setOutgoingTable(*args) ⇒ Object
121104 121105 121106 121107 121108 121109 121110 121111 121112 121113 121114 121115 121116 121117 121118 121119 121120 121121 121122 121123 121124 121125 121126 121127 121128 121129 121130 121131 121132 121133 121134 121135 121136 121137 121138 121139 121140 121141 121142 121143 121144 121145 121146 121147 121148 121149 121150 121151 121152 121153 121154 121155 121156 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 121104 SWIGINTERN VALUE _wrap_PostgreSQLLog_setOutgoingTable(int argc, VALUE *argv, VALUE self) { FIX::PostgreSQLLog *arg1 = (FIX::PostgreSQLLog *) 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__PostgreSQLLog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::PostgreSQLLog *","setOutgoingTable", 1, self )); } arg1 = reinterpret_cast< FIX::PostgreSQLLog * >(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 &","setOutgoingTable", 2, argv[0] )); } if (!ptr) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setOutgoingTable", 2, argv[0])); } arg2 = ptr; } { if(tryRubyException([&]() mutable { (arg1)->setOutgoingTable((std::string const &)*arg2); return self; fail: return Qnil; }) == Qnil) { SWIG_fail; } } { 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; } |