Class: Quickfix::Message
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__FieldMap->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__FieldMap->clientdata)->klass
- Quickfix::Message
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Direct Known Subclasses
Quickfix11::Message, Quickfix40::Message, Quickfix41::Message, Quickfix42::Message, Quickfix43::Message, Quickfix44::Message, Quickfix50::Message, Quickfix50Sp1::Message, Quickfix50Sp2::Message
Class Method Summary collapse
- .InitializeXML(*args) ⇒ Object
- .isAdminMsgType(*args) ⇒ Object
- .isHeaderField(*args, self) ⇒ Object
- .isTrailerField(*args, self) ⇒ Object
- .toApplVerID(*args) ⇒ Object
- .toBeginString(*args) ⇒ Object
Instance Method Summary collapse
- #addGroup(*args) ⇒ Object
- #bodyLength(*args, self) ⇒ Object
- #checkSum(*args, self) ⇒ Object
- #clear(*args) ⇒ Object
- #getGroup(*args) ⇒ Object
- #getHeader(*args, self) ⇒ Object
- #getSessionID(*args, self) ⇒ Object
- #getTrailer(*args, self) ⇒ Object
- #hasGroup(*args, self) ⇒ Object
- #hasValidStructure(*args) ⇒ Object
- #initialize(*args, self) ⇒ Object constructor
- #isAdmin(*args) ⇒ Object
- #isApp(*args) ⇒ Object
- #isEmpty(*args) ⇒ Object
- #removeGroup(*args, self) ⇒ Object
- #replaceGroup(*args) ⇒ Object
- #reverseRoute(*args) ⇒ Object
- #setGroup(*args) ⇒ Object
- #setSessionID(*args) ⇒ Object
- #setString(*args, self) ⇒ Object
- #setStringHeader(*args) ⇒ Object
- #to_s(*args) ⇒ Object
- #toString(*args, self) ⇒ Object
- #toXML(*args, self) ⇒ Object
Constructor Details
#initialize(*args, self) ⇒ Object
18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18076
SWIGINTERN VALUE _wrap_new_Message(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[7];
int ii;
argc = nargs;
if (argc > 7) SWIG_fail;
for (ii = 0; (ii < argc); ++ii) {
argv[ii] = args[ii];
}
if (argc == 0) {
return _wrap_new_Message__SWIG_0(nargs, args, self);
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_12(nargs, args, self);
}
}
if (argc == 1) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_3(nargs, args, self);
}
}
if (argc == 2) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_5(nargs, args, self);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Message__SWIG_2(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_1(nargs, args, self);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_7(nargs, args, self);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Message__SWIG_4(nargs, args, self);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Message__SWIG_6(nargs, args, self);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_9(nargs, args, self);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_11(nargs, args, self);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Message__SWIG_8(nargs, args, self);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_message_order, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Message__SWIG_10(nargs, args, self);
}
}
}
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 7, "Message.new",
" Message.new()\n"
" Message.new(message_order const &hdrOrder, message_order const &trlOrder, message_order const &order)\n"
" Message.new(std::string const &string, bool validate)\n"
" Message.new(std::string const &string)\n"
" Message.new(std::string const &string, FIX::DataDictionary const &dataDictionary, bool validate)\n"
" Message.new(std::string const &string, FIX::DataDictionary const &dataDictionary)\n"
" Message.new(std::string const &string, FIX::DataDictionary const &sessionDataDictionary, FIX::DataDictionary const &applicationDataDictionary, bool validate)\n"
" Message.new(std::string const &string, FIX::DataDictionary const &sessionDataDictionary, FIX::DataDictionary const &applicationDataDictionary)\n"
" Message.new(message_order const &hdrOrder, message_order const &trlOrder, message_order const &order, std::string const &string, FIX::DataDictionary const &dataDictionary, bool validate)\n"
" Message.new(message_order const &hdrOrder, message_order const &trlOrder, message_order const &order, std::string const &string, FIX::DataDictionary const &dataDictionary)\n"
" Message.new(message_order const &hdrOrder, message_order const &trlOrder, message_order const &order, std::string const &string, FIX::DataDictionary const &sessionDataDictionary, FIX::DataDictionary const &applicationDataDictionary, bool validate)\n"
" Message.new(message_order const &hdrOrder, message_order const &trlOrder, message_order const &order, std::string const &string, FIX::DataDictionary const &sessionDataDictionary, FIX::DataDictionary const &applicationDataDictionary)\n"
" Message.new(FIX::Message const ©)\n");
return Qnil;
}
|
Class Method Details
.InitializeXML(*args) ⇒ Object
18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18374
SWIGINTERN VALUE
_wrap_Message_InitializeXML(int argc, VALUE *argv, VALUE self) {
std::string *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
bool result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
{
std::string *ptr = (std::string *)0;
res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","FIX::Message::InitializeXML", 1, argv[0] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","FIX::Message::InitializeXML", 1, argv[0]));
}
arg1 = ptr;
}
result = (bool)FIX::Message::InitializeXML((std::string const &)*arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
{
if( std::string("std::string const &") == "std::string &" )
{
rb_str_resize( argv[0], 0 );
rb_str_append( argv[0], rb_str_new2(arg1->c_str()) );
}
}
if (SWIG_IsNewObj(res1)) delete arg1;
return vresult;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return Qnil;
}
|
.isAdminMsgType(*args) ⇒ Object
20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20617
SWIGINTERN VALUE
_wrap_Message_isAdminMsgType(int argc, VALUE *argv, VALUE self) {
MsgType *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
bool result;
VALUE vresult = Qnil;
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_MsgType, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MsgType const &","FIX::Message::isAdminMsgType", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "MsgType const &","FIX::Message::isAdminMsgType", 1, argv[0]));
}
arg1 = reinterpret_cast< MsgType * >(argp1);
result = (bool)FIX::Message::isAdminMsgType((MsgType const &)*arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
.isHeaderField(*args, self) ⇒ Object
20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20816
SWIGINTERN VALUE _wrap_Message_isHeaderField(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;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__FieldBase, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_isHeaderField__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_Message_isHeaderField__SWIG_0(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__FieldBase, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_isHeaderField__SWIG_1(nargs, args, self);
}
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_isHeaderField__SWIG_3(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "Message.isHeaderField",
" bool Message.isHeaderField(int field)\n"
" bool Message.isHeaderField(FIX::FieldBase const &field, DataDictionary const *pD)\n"
" bool Message.isHeaderField(FIX::FieldBase const &field)\n"
" bool Message.isHeaderField(int field, DataDictionary const *pD)\n");
return Qnil;
}
|
.isTrailerField(*args, self) ⇒ Object
21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 21004
SWIGINTERN VALUE _wrap_Message_isTrailerField(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;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__FieldBase, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_isTrailerField__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_Message_isTrailerField__SWIG_0(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__FieldBase, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_isTrailerField__SWIG_1(nargs, args, self);
}
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_isTrailerField__SWIG_3(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "Message.isTrailerField",
" bool Message.isTrailerField(int field)\n"
" bool Message.isTrailerField(FIX::FieldBase const &field, DataDictionary const *pD)\n"
" bool Message.isTrailerField(FIX::FieldBase const &field)\n"
" bool Message.isTrailerField(int field, DataDictionary const *pD)\n");
return Qnil;
}
|
.toApplVerID(*args) ⇒ Object
20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20644
SWIGINTERN VALUE
_wrap_Message_toApplVerID(int argc, VALUE *argv, VALUE self) {
BeginString *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
ApplVerID result;
VALUE vresult = Qnil;
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_BeginString, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "BeginString const &","FIX::Message::toApplVerID", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "BeginString const &","FIX::Message::toApplVerID", 1, argv[0]));
}
arg1 = reinterpret_cast< BeginString * >(argp1);
result = FIX::Message::toApplVerID((BeginString const &)*arg1);
vresult = SWIG_NewPointerObj((new ApplVerID(static_cast< const ApplVerID& >(result))), SWIGTYPE_p_ApplVerID, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
|
.toBeginString(*args) ⇒ Object
20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20671
SWIGINTERN VALUE
_wrap_Message_toBeginString(int argc, VALUE *argv, VALUE self) {
ApplVerID *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
BeginString result;
VALUE vresult = Qnil;
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_ApplVerID, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ApplVerID const &","FIX::Message::toBeginString", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "ApplVerID const &","FIX::Message::toBeginString", 1, argv[0]));
}
arg1 = reinterpret_cast< ApplVerID * >(argp1);
result = FIX::Message::toBeginString((ApplVerID const &)*arg1);
vresult = SWIG_NewPointerObj((new BeginString(static_cast< const BeginString& >(result))), SWIGTYPE_p_BeginString, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
|
Instance Method Details
#addGroup(*args) ⇒ Object
18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18412
SWIGINTERN VALUE
_wrap_Message_addGroup(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
FIX::Group *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","addGroup", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__Group, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::Group const &","addGroup", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Group const &","addGroup", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Group * >(argp2);
(arg1)->addGroup((FIX::Group const &)*arg2);
return Qnil;
fail:
return Qnil;
}
|
#bodyLength(*args, self) ⇒ Object
20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20328
SWIGINTERN VALUE _wrap_Message_bodyLength(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[5];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 5) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_bodyLength__SWIG_3(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_bodyLength__SWIG_2(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_bodyLength__SWIG_1(nargs, args, self);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_bodyLength__SWIG_0(nargs, args, self);
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 5, "Message.bodyLength",
" int Message.bodyLength(int beginStringField, int bodyLengthField, int checkSumField)\n"
" int Message.bodyLength(int beginStringField, int bodyLengthField)\n"
" int Message.bodyLength(int beginStringField)\n"
" int Message.bodyLength()\n");
return Qnil;
}
|
#checkSum(*args, self) ⇒ Object
20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20479
SWIGINTERN VALUE _wrap_Message_checkSum(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[3];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 3) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_checkSum__SWIG_1(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_checkSum__SWIG_0(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "Message.checkSum",
" int Message.checkSum(int checkSumField)\n"
" int Message.checkSum()\n");
return Qnil;
}
|
#clear(*args) ⇒ Object
20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20596
SWIGINTERN VALUE
_wrap_Message_clear(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","clear", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
(arg1)->clear();
return Qnil;
fail:
return Qnil;
}
|
#getGroup(*args) ⇒ Object
18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18484
SWIGINTERN VALUE
_wrap_Message_getGroup(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
unsigned int arg2 ;
FIX::Group *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
Group *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 2) || (argc > 2)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FIX__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message const *","getGroup", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","getGroup", 2, argv[0] ));
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__Group, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::Group &","getGroup", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Group &","getGroup", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::Group * >(argp3);
try {
result = (Group *) &((FIX::Message const *)arg1)->getGroup(arg2,*arg3);
}
catch(FIX::FieldNotFound &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__FieldNotFound, SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN))); SWIG_fail;
}
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Group, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#getHeader(*args, self) ⇒ Object
20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20022
SWIGINTERN VALUE _wrap_Message_getHeader(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[2];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 2) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_getHeader__SWIG_1(nargs, args, self);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_getHeader__SWIG_0(nargs, args, self);
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "Message.getHeader",
" FIX::Header const Message.getHeader()\n"
" FIX::Header & Message.getHeader()\n");
return Qnil;
}
|
#getSessionID(*args, self) ⇒ Object
21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 21156
SWIGINTERN VALUE _wrap_Message_getSessionID(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[3];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 3) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_getSessionID__SWIG_1(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 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_Message_getSessionID__SWIG_0(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "Message.getSessionID",
" SessionID Message.getSessionID(std::string const &qualifier)\n"
" SessionID Message.getSessionID()\n");
return Qnil;
}
|
#getTrailer(*args, self) ⇒ Object
20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20109
SWIGINTERN VALUE _wrap_Message_getTrailer(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[2];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 2) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_getTrailer__SWIG_1(nargs, args, self);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_getTrailer__SWIG_0(nargs, args, self);
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "Message.getTrailer",
" FIX::Trailer const Message.getTrailer()\n"
" FIX::Trailer & Message.getTrailer()\n");
return Qnil;
}
|
#hasGroup(*args, self) ⇒ Object
18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18738
SWIGINTERN VALUE _wrap_Message_hasGroup(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[4];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 4) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__Group, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_hasGroup__SWIG_0(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__Group, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_hasGroup__SWIG_1(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "Message.hasGroup",
" bool Message.hasGroup(FIX::Group const &group)\n"
" bool Message.hasGroup(unsigned int num, FIX::Group const &group)\n");
return Qnil;
}
|
#hasValidStructure(*args) ⇒ Object
20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20148
SWIGINTERN VALUE
_wrap_Message_hasValidStructure(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
int *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
bool result;
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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message const *","hasValidStructure", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
{
temp2 = NUM2INT(argv[0]);
arg2 = &temp2;
}
result = (bool)((FIX::Message const *)arg1)->hasValidStructure(*arg2);
vresult = SWIG_From_bool(static_cast< bool >(result));
{
if( std::string("int &") == "int &" )
{
vresult = result ? SWIG_From_int(static_cast< int >(*arg2)) : Qnil;
}
}
return vresult;
fail:
return Qnil;
}
|
#isAdmin(*args) ⇒ Object
20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20524
SWIGINTERN VALUE
_wrap_Message_isAdmin(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message const *","isAdmin", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
result = (bool)((FIX::Message const *)arg1)->isAdmin();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isApp(*args) ⇒ Object
20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20548
SWIGINTERN VALUE
_wrap_Message_isApp(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message const *","isApp", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
result = (bool)((FIX::Message const *)arg1)->isApp();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isEmpty(*args) ⇒ Object
20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 20572
SWIGINTERN VALUE
_wrap_Message_isEmpty(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","isEmpty", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
result = (bool)(arg1)->isEmpty();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#removeGroup(*args, self) ⇒ Object
18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18605
SWIGINTERN VALUE _wrap_Message_removeGroup(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[4];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 4) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__Group, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_removeGroup__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__Group, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_removeGroup__SWIG_0(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "Message.removeGroup",
" void Message.removeGroup(unsigned int num, FIX::Group const &group)\n"
" void Message.removeGroup(FIX::Group const &group)\n");
return Qnil;
}
|
#replaceGroup(*args) ⇒ Object
18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 18444
SWIGINTERN VALUE
_wrap_Message_replaceGroup(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
unsigned int arg2 ;
FIX::Group *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 ;
int res3 = 0 ;
if ((argc < 2) || (argc > 2)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FIX__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","replaceGroup", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","replaceGroup", 2, argv[0] ));
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__Group, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::Group const &","replaceGroup", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Group const &","replaceGroup", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::Group * >(argp3);
(arg1)->replaceGroup(arg2,(FIX::Group const &)*arg3);
return Qnil;
fail:
return Qnil;
}
|
#reverseRoute(*args) ⇒ Object
19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 19429
SWIGINTERN VALUE
_wrap_Message_reverseRoute(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
FIX::Header *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","reverseRoute", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__Header, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::Header const &","reverseRoute", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Header const &","reverseRoute", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Header * >(argp2);
(arg1)->reverseRoute((FIX::Header const &)*arg2);
return Qnil;
fail:
return Qnil;
}
|
#setGroup(*args) ⇒ Object
19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 19817
SWIGINTERN VALUE
_wrap_Message_setGroup(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
std::string *arg2 = 0 ;
FIX::FieldBase *arg3 = 0 ;
std::string *arg4 = 0 ;
std::string::size_type *arg5 = 0 ;
FIX::FieldMap *arg6 = 0 ;
DataDictionary *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
void *argp3 ;
int res3 = 0 ;
int res4 = SWIG_OLDOBJ ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 ;
int res7 = 0 ;
VALUE vresult = Qnil;
if ((argc < 6) || (argc > 6)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FIX__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","setGroup", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(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 &","setGroup", 2, argv[0] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setGroup", 2, argv[0]));
}
arg2 = ptr;
}
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__FieldBase, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::FieldBase const &","setGroup", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::FieldBase const &","setGroup", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::FieldBase * >(argp3);
{
std::string *ptr = (std::string *)0;
res4 = SWIG_AsPtr_std_string(argv[2], &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "std::string const &","setGroup", 4, argv[2] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setGroup", 4, argv[2]));
}
arg4 = ptr;
}
res5 = SWIG_ConvertPtr(argv[3], &argp5, SWIGTYPE_p_std__string__size_type, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "std::string::size_type &","setGroup", 5, argv[3] ));
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string::size_type &","setGroup", 5, argv[3]));
}
arg5 = reinterpret_cast< std::string::size_type * >(argp5);
res6 = SWIG_ConvertPtr(argv[4], &argp6, SWIGTYPE_p_FIX__FieldMap, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "FIX::FieldMap &","setGroup", 6, argv[4] ));
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::FieldMap &","setGroup", 6, argv[4]));
}
arg6 = reinterpret_cast< FIX::FieldMap * >(argp6);
res7 = SWIG_ConvertPtr(argv[5], &argp7, SWIGTYPE_p_DataDictionary, 0 );
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "DataDictionary const &","setGroup", 7, argv[5] ));
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "DataDictionary const &","setGroup", 7, argv[5]));
}
arg7 = reinterpret_cast< DataDictionary * >(argp7);
(arg1)->setGroup((std::string const &)*arg2,(FIX::FieldBase const &)*arg3,(std::string const &)*arg4,*arg5,*arg6,(DataDictionary const &)*arg7);
vresult = rb_ary_new();
{
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( std::string("std::string const &") == "std::string &" )
{
rb_str_resize( argv[2], 0 );
rb_str_append( argv[2], rb_str_new2(arg4->c_str()) );
}
}
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res4)) delete arg4;
return vresult;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res4)) delete arg4;
return Qnil;
}
|
#setSessionID(*args) ⇒ Object
21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 21199
SWIGINTERN VALUE
_wrap_Message_setSessionID(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
SessionID *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","setSessionID", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_SessionID, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "SessionID const &","setSessionID", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "SessionID const &","setSessionID", 2, argv[0]));
}
arg2 = reinterpret_cast< SessionID * >(argp2);
(arg1)->setSessionID((SessionID const &)*arg2);
return Qnil;
fail:
return Qnil;
}
|
#setString(*args, self) ⇒ Object
19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 19709
SWIGINTERN VALUE _wrap_Message_setString(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[6];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 6) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 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_Message_setString__SWIG_0(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 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_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_setString__SWIG_1(nargs, args, self);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 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_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_setString__SWIG_2(nargs, args, self);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 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_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FIX__DataDictionary, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_setString__SWIG_3(nargs, args, self);
}
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 6, "Message.setString",
" void Message.setString(std::string const &string)\n"
" void Message.setString(std::string const &string, bool validate)\n"
" void Message.setString(std::string const &string, bool validate, FIX::DataDictionary const *pDataDictionary)\n"
" void Message.setString(std::string const &string, bool validate, FIX::DataDictionary const *pSessionDataDictionary, FIX::DataDictionary const *pApplicationDataDictionary)\n");
return Qnil;
}
|
#setStringHeader(*args) ⇒ Object
19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 19928
SWIGINTERN VALUE
_wrap_Message_setStringHeader(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
bool result;
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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","setStringHeader", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(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 &","setStringHeader", 2, argv[0] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setStringHeader", 2, argv[0]));
}
arg2 = ptr;
}
result = (bool)(arg1)->setStringHeader((std::string const &)*arg2);
vresult = SWIG_From_bool(static_cast< bool >(result));
{
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;
}
|
#to_s(*args) ⇒ Object
21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 21231
SWIGINTERN VALUE
_wrap_Message___str__(int argc, VALUE *argv, VALUE self) {
FIX::Message *arg1 = (FIX::Message *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::string 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__Message, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Message *","__str__", 1, self ));
}
arg1 = reinterpret_cast< FIX::Message * >(argp1);
result = FIX_Message___str__(arg1);
vresult = SWIG_From_std_string(static_cast< std::string >(result));
return vresult;
fail:
return Qnil;
}
|
#toString(*args, self) ⇒ Object
19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 19133
SWIGINTERN VALUE _wrap_Message_toString(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[6];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 6) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_toString__SWIG_3(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__string, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_toString__SWIG_7(nargs, args, self);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_toString__SWIG_2(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__string, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_toString__SWIG_6(nargs, args, self);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_toString__SWIG_1(nargs, args, self);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__string, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_toString__SWIG_5(nargs, args, self);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_toString__SWIG_0(nargs, args, self);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__string, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Message_toString__SWIG_4(nargs, args, self);
}
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 6, "Message.toString",
" std::string Message.toString(int beginStringField, int bodyLengthField, int checkSumField)\n"
" std::string Message.toString(int beginStringField, int bodyLengthField)\n"
" std::string Message.toString(int beginStringField)\n"
" std::string Message.toString()\n"
" std::string Message.toString(std::string &, int beginStringField, int bodyLengthField, int checkSumField)\n"
" std::string Message.toString(std::string &, int beginStringField, int bodyLengthField)\n"
" std::string Message.toString(std::string &, int beginStringField)\n"
" std::string & Message.toString(std::string &)\n");
return Qnil;
}
|
#toXML(*args, self) ⇒ Object
19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 19385
SWIGINTERN VALUE _wrap_Message_toXML(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[3];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 3) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_toXML__SWIG_0(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__string, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Message_toXML__SWIG_1(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "Message.toXML",
" std::string Message.toXML()\n"
" std::string & Message.toXML(std::string &)\n");
return Qnil;
}
|