transactd 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/BUILD_UNIX-JA +6 -6
  3. data/README +20 -18
  4. data/README-JA +19 -17
  5. data/RELEASE_NOTE +144 -0
  6. data/RELEASE_NOTE-JA +153 -0
  7. data/bin/common/tdclc_32_2_3.dll +0 -0
  8. data/bin/common/tdclc_64_2_3.dll +0 -0
  9. data/build/common/get_ruby_path.cmake +1 -1
  10. data/build/swig/ruby/ruby.swg +10 -9
  11. data/build/swig/ruby/tdclrb_wrap.cpp +1416 -561
  12. data/build/swig/tdcl.i +30 -3
  13. data/build/tdclc/tdclc.cbproj +1 -1
  14. data/build/tdclc/tdclc.rc +4 -4
  15. data/build/tdclcpp/BUILDNUMBER.txt +1 -0
  16. data/build/tdclcpp/tdclcpp.rc +4 -4
  17. data/build/tdclcpp/tdclcpp_bc.cbproj +1 -1
  18. data/build/tdclrb/BUILDNUMBER.txt +1 -0
  19. data/build/tdclrb/tdclrb.rc +4 -4
  20. data/source/bzs/db/engine/mysql/database.cpp +85 -41
  21. data/source/bzs/db/engine/mysql/database.h +35 -5
  22. data/source/bzs/db/engine/mysql/mysqlInternal.h +189 -37
  23. data/source/bzs/db/engine/mysql/mysqlThd.cpp +21 -21
  24. data/source/bzs/db/protocol/tdap/client/activeTable.cpp +11 -0
  25. data/source/bzs/db/protocol/tdap/client/activeTable.h +1 -1
  26. data/source/bzs/db/protocol/tdap/client/activeTableImple.h +11 -4
  27. data/source/bzs/db/protocol/tdap/client/client.h +30 -1
  28. data/source/bzs/db/protocol/tdap/client/dbDef.cpp +2 -1
  29. data/source/bzs/db/protocol/tdap/client/dllmain.cpp +35 -5
  30. data/source/bzs/db/protocol/tdap/client/field.cpp +100 -51
  31. data/source/bzs/db/protocol/tdap/client/field.h +7 -7
  32. data/source/bzs/db/protocol/tdap/client/filter.h +20 -6
  33. data/source/bzs/db/protocol/tdap/client/groupQuery.cpp +337 -58
  34. data/source/bzs/db/protocol/tdap/client/groupQuery.h +56 -13
  35. data/source/bzs/db/protocol/tdap/client/nsDatabase.cpp +83 -5
  36. data/source/bzs/db/protocol/tdap/client/nsDatabase.h +4 -1
  37. data/source/bzs/db/protocol/tdap/client/nsTable.cpp +2 -2
  38. data/source/bzs/db/protocol/tdap/client/nsTable.h +2 -1
  39. data/source/bzs/db/protocol/tdap/client/pooledDatabaseManager.h +20 -6
  40. data/source/bzs/db/protocol/tdap/client/recordset.cpp +7 -0
  41. data/source/bzs/db/protocol/tdap/client/recordsetImple.h +8 -4
  42. data/source/bzs/db/protocol/tdap/client/request.h +11 -1
  43. data/source/bzs/db/protocol/tdap/client/serializer.cpp +40 -2
  44. data/source/bzs/db/protocol/tdap/client/serializer.h +4 -2
  45. data/source/bzs/db/protocol/tdap/client/sqlBuilder.cpp +1 -0
  46. data/source/bzs/db/protocol/tdap/client/stringConverter.h +4 -4
  47. data/source/bzs/db/protocol/tdap/client/table.cpp +124 -71
  48. data/source/bzs/db/protocol/tdap/client/table.h +8 -7
  49. data/source/bzs/db/protocol/tdap/client/trdormapi.h +33 -1
  50. data/source/bzs/db/protocol/tdap/fieldComp.h +1 -1
  51. data/source/bzs/db/protocol/tdap/mysql/databaseSchema.cpp +3 -1
  52. data/source/bzs/db/protocol/tdap/mysql/recordsetReader.h +20 -4
  53. data/source/bzs/db/protocol/tdap/mysql/request.h +14 -0
  54. data/source/bzs/db/protocol/tdap/mysql/tdapCommandExecuter.cpp +132 -69
  55. data/source/bzs/db/protocol/tdap/tdapRequest.h +18 -4
  56. data/source/bzs/db/protocol/tdap/tdapSchema.cpp +32 -22
  57. data/source/bzs/db/protocol/tdap/tdapSchema.h +69 -4
  58. data/source/bzs/db/protocol/tdap/tdapcapi.h +13 -5
  59. data/source/bzs/db/protocol/tdap/uri.h +4 -4
  60. data/source/bzs/db/transactd/transactd.cpp +6 -5
  61. data/source/bzs/env/crosscompile.cpp +17 -0
  62. data/source/bzs/env/crosscompile.h +4 -1
  63. data/source/bzs/env/mbcswchrLinux.cpp +3 -0
  64. data/source/bzs/example/deleteRecords.cpp +13 -0
  65. data/source/bzs/example/deleteRecords_c.cpp +8 -1
  66. data/source/bzs/example/insertRecords.cpp +14 -0
  67. data/source/bzs/example/insertRecords_c.cpp +8 -1
  68. data/source/bzs/example/ormap_c.cpp +8 -1
  69. data/source/bzs/example/queryData.cpp +92 -2
  70. data/source/bzs/example/queryData.h +3 -1
  71. data/source/bzs/example/readRecords.cpp +13 -0
  72. data/source/bzs/example/readRecords_c.cpp +8 -1
  73. data/source/bzs/example/updateRecords.cpp +13 -0
  74. data/source/bzs/example/updateRecords_c.cpp +8 -1
  75. data/source/bzs/example/update_with_transaction.cpp +13 -0
  76. data/source/bzs/example/update_with_transaction_c.cpp +8 -1
  77. data/source/bzs/example/useORMRecord.cpp +9 -3
  78. data/source/bzs/netsvc/client/iconnection.h +8 -0
  79. data/source/bzs/netsvc/client/tcpClient.cpp +61 -16
  80. data/source/bzs/netsvc/client/tcpClient.h +430 -214
  81. data/source/bzs/netsvc/server/serverPipe.cpp +2 -2
  82. data/source/bzs/test/tdclphp/transactd_Test.php +115 -19
  83. data/source/bzs/test/tdclphp/transactd_blob_Test.php +33 -5
  84. data/source/bzs/test/tdclphp/transactd_kanjischema_Test.php +21 -3
  85. data/source/bzs/test/tdclphp/transactd_pool_Test.php +17 -3
  86. data/source/bzs/test/tdclrb/transactd_blob_spec.rb +26 -8
  87. data/source/bzs/test/tdclrb/transactd_kanjischema_spec.rb +13 -6
  88. data/source/bzs/test/tdclrb/transactd_pool_spec.rb +14 -8
  89. data/source/bzs/test/tdclrb/transactd_spec.rb +117 -27
  90. data/source/bzs/test/transactdBench/scaling_bench.cpp +5 -5
  91. data/source/bzs/test/transactdBench/workerBase.h +2 -2
  92. data/source/bzs/test/trdclengn/test_trdclengn.cpp +898 -51
  93. data/source/global/tdclatl/Database.cpp +12 -0
  94. data/source/global/tdclatl/Database.h +4 -0
  95. data/source/global/tdclatl/FieldDef.cpp +19 -0
  96. data/source/global/tdclatl/FieldDef.h +4 -0
  97. data/source/global/tdclatl/FieldDefs.cpp +14 -16
  98. data/source/global/tdclatl/GroupQuery.cpp +21 -16
  99. data/source/global/tdclatl/GroupQuery.h +1 -1
  100. data/source/global/tdclatl/QueryBase.cpp +14 -0
  101. data/source/global/tdclatl/QueryBase.h +2 -0
  102. data/source/global/tdclatl/Record.cpp +41 -10
  103. data/source/global/tdclatl/Record.h +1 -1
  104. data/source/global/tdclatl/Recordset.cpp +117 -31
  105. data/source/global/tdclatl/Recordset.h +6 -5
  106. data/source/global/tdclatl/Table.cpp +24 -28
  107. data/source/global/tdclatl/Table.h +3 -4
  108. data/source/global/tdclatl/activeTable.cpp +149 -103
  109. data/source/global/tdclatl/activeTable.h +1 -1
  110. data/source/global/tdclatl/tdclatl.idl +38 -18
  111. data/transactd.gemspec +1 -1
  112. metadata +8 -4
  113. data/bin/common/tdclc_32_2_2.dll +0 -0
  114. data/bin/common/tdclc_64_2_2.dll +0 -0
@@ -1906,8 +1906,11 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1906
1906
  #define SWIGTYPE_p_unsigned_short swig_types[85]
1907
1907
  #define SWIGTYPE_p_value_type swig_types[86]
1908
1908
  #define SWIGTYPE_p_void swig_types[87]
1909
- static swig_type_info *swig_types[89];
1910
- static swig_module_info swig_module = {swig_types, 88, 0, 0, 0, 0};
1909
+ #define SWIGTYPE_p_bzs__db__protocol__tdap__client__last swig_types[88]
1910
+ #define SWIGTYPE_p_bzs__db__protocol__tdap__client__first swig_types[89]
1911
+ #define SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField swig_types[90]
1912
+ static swig_type_info *swig_types[92];
1913
+ static swig_module_info swig_module = {swig_types, 91, 0, 0, 0, 0};
1911
1914
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1912
1915
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1913
1916
 
@@ -2738,6 +2741,12 @@ SWIGINTERN bzs::db::protocol::tdap::client::min *new_bzs_db_protocol_tdap_client
2738
2741
  SWIGINTERN bzs::db::protocol::tdap::client::max *new_bzs_db_protocol_tdap_client_max__SWIG_0(bzs::db::protocol::tdap::client::fieldNames const &targetNames,_TCHAR const *resultName=NULL){
2739
2742
  return bzs::db::protocol::tdap::client::max::create(targetNames, resultName);
2740
2743
  }
2744
+ SWIGINTERN bzs::db::protocol::tdap::client::last *new_bzs_db_protocol_tdap_client_last__SWIG_0(bzs::db::protocol::tdap::client::fieldNames const &targetNames,_TCHAR const *resultName=NULL){
2745
+ return bzs::db::protocol::tdap::client::last::create(targetNames, resultName);
2746
+ }
2747
+ SWIGINTERN bzs::db::protocol::tdap::client::first *new_bzs_db_protocol_tdap_client_first__SWIG_0(bzs::db::protocol::tdap::client::fieldNames const &targetNames,_TCHAR const *resultName=NULL){
2748
+ return bzs::db::protocol::tdap::client::first::create(targetNames, resultName);
2749
+ }
2741
2750
  SWIGINTERN void bzs_db_protocol_tdap_client_recordset_getRow(bzs::db::protocol::tdap::client::recordset *self,size_t index,bzs::db::protocol::tdap::client::fieldsBase **return_record){
2742
2751
  *return_record = &(self->operator[](index));
2743
2752
  }
@@ -5344,6 +5353,124 @@ fail:
5344
5353
  }
5345
5354
 
5346
5355
 
5356
+ SWIGINTERN VALUE
5357
+ _wrap_fielddef_trimPadChar(int argc, VALUE *argv, VALUE self) {
5358
+ bzs::db::protocol::tdap::fielddef *arg1 = 0 ;
5359
+ void *argp1 = 0 ;
5360
+ int res1 = 0 ;
5361
+ bool result;
5362
+ VALUE vresult = Qnil;
5363
+
5364
+ if ((argc < 0) || (argc > 0)) {
5365
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5366
+ }
5367
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__fielddef, 0 | 0 );
5368
+ if (!SWIG_IsOK(res1)) {
5369
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::fielddef const *","trimPadChar", 1, self ));
5370
+ }
5371
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::fielddef * >(argp1);
5372
+ {
5373
+ try {
5374
+ result = (bool)((bzs::db::protocol::tdap::fielddef const *)arg1)->trimPadChar();
5375
+ } catch (bzs::rtl::exception& e) {
5376
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
5377
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
5378
+ } catch (std::exception &e) {
5379
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
5380
+ rb_raise(cpp_std_error, e.what());
5381
+ }
5382
+ }
5383
+ vresult = SWIG_From_bool(static_cast< bool >(result));
5384
+ return vresult;
5385
+ fail:
5386
+ return Qnil;
5387
+ }
5388
+
5389
+
5390
+ SWIGINTERN VALUE
5391
+ _wrap_fielddef_usePadChar(int argc, VALUE *argv, VALUE self) {
5392
+ bzs::db::protocol::tdap::fielddef *arg1 = (bzs::db::protocol::tdap::fielddef *) 0 ;
5393
+ void *argp1 = 0 ;
5394
+ int res1 = 0 ;
5395
+ bool result;
5396
+ VALUE vresult = Qnil;
5397
+
5398
+ if ((argc < 0) || (argc > 0)) {
5399
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5400
+ }
5401
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__fielddef, 0 | 0 );
5402
+ if (!SWIG_IsOK(res1)) {
5403
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::fielddef const *","usePadChar", 1, self ));
5404
+ }
5405
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::fielddef * >(argp1);
5406
+ {
5407
+ try {
5408
+ result = (bool)((bzs::db::protocol::tdap::fielddef const *)arg1)->usePadChar();
5409
+ } catch (bzs::rtl::exception& e) {
5410
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
5411
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
5412
+ } catch (std::exception &e) {
5413
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
5414
+ rb_raise(cpp_std_error, e.what());
5415
+ }
5416
+ }
5417
+ vresult = SWIG_From_bool(static_cast< bool >(result));
5418
+ return vresult;
5419
+ fail:
5420
+ return Qnil;
5421
+ }
5422
+
5423
+
5424
+ SWIGINTERN VALUE
5425
+ _wrap_fielddef_setPadCharSettings(int argc, VALUE *argv, VALUE self) {
5426
+ bzs::db::protocol::tdap::fielddef *arg1 = 0 ;
5427
+ bool arg2 ;
5428
+ bool arg3 ;
5429
+ void *argp1 = 0 ;
5430
+ int res1 = 0 ;
5431
+ bool val2 ;
5432
+ int ecode2 = 0 ;
5433
+ bool val3 ;
5434
+ int ecode3 = 0 ;
5435
+
5436
+ if ((argc < 2) || (argc > 2)) {
5437
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5438
+ }
5439
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__fielddef, 0 | 0 );
5440
+ if (!SWIG_IsOK(res1)) {
5441
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::fielddef *","setUsePadChar", 1, self ));
5442
+ }
5443
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::fielddef * >(argp1);
5444
+
5445
+ ecode2 = SWIG_AsVal_bool(argv[0], &val2);
5446
+ if (!SWIG_IsOK(ecode2)) {
5447
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setPadCharSettings", 2, argv[0] ));
5448
+ }
5449
+ arg2 = static_cast< bool >(val2);
5450
+
5451
+ ecode3 = SWIG_AsVal_bool(argv[1], &val3);
5452
+ if (!SWIG_IsOK(ecode3)) {
5453
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","setPadCharSettings", 3, argv[1] ));
5454
+ }
5455
+ arg3 = static_cast< bool >(val3);
5456
+
5457
+ {
5458
+ try {
5459
+ (arg1)->setPadCharSettings(arg2, arg3);
5460
+ } catch (bzs::rtl::exception& e) {
5461
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
5462
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
5463
+ } catch (std::exception &e) {
5464
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
5465
+ rb_raise(cpp_std_error, e.what());
5466
+ }
5467
+ }
5468
+ return Qnil;
5469
+ fail:
5470
+ return Qnil;
5471
+ }
5472
+
5473
+
5347
5474
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5348
5475
  SWIGINTERN VALUE
5349
5476
  _wrap_fielddef_allocate(VALUE self) {
@@ -12808,152 +12935,6 @@ fail:
12808
12935
  }
12809
12936
 
12810
12937
 
12811
- SWIGINTERN VALUE
12812
- _wrap_table_trimPadChar(int argc, VALUE *argv, VALUE self) {
12813
- bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
12814
- void *argp1 = 0 ;
12815
- int res1 = 0 ;
12816
- bool result;
12817
- VALUE vresult = Qnil;
12818
-
12819
- if ((argc < 0) || (argc > 0)) {
12820
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12821
- }
12822
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
12823
- if (!SWIG_IsOK(res1)) {
12824
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table const *","trimPadChar", 1, self ));
12825
- }
12826
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
12827
- {
12828
- try {
12829
- result = (bool)((bzs::db::protocol::tdap::client::table const *)arg1)->trimPadChar();
12830
- } catch (bzs::rtl::exception& e) {
12831
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
12832
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
12833
- } catch (std::exception &e) {
12834
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
12835
- rb_raise(cpp_std_error, e.what());
12836
- }
12837
- }
12838
- vresult = SWIG_From_bool(static_cast< bool >(result));
12839
- return vresult;
12840
- fail:
12841
- return Qnil;
12842
- }
12843
-
12844
-
12845
- SWIGINTERN VALUE
12846
- _wrap_table_setTrimPadChar(int argc, VALUE *argv, VALUE self) {
12847
- bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
12848
- bool arg2 ;
12849
- void *argp1 = 0 ;
12850
- int res1 = 0 ;
12851
- bool val2 ;
12852
- int ecode2 = 0 ;
12853
-
12854
- if ((argc < 1) || (argc > 1)) {
12855
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12856
- }
12857
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
12858
- if (!SWIG_IsOK(res1)) {
12859
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table *","setTrimPadChar", 1, self ));
12860
- }
12861
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
12862
- ecode2 = SWIG_AsVal_bool(argv[0], &val2);
12863
- if (!SWIG_IsOK(ecode2)) {
12864
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setTrimPadChar", 2, argv[0] ));
12865
- }
12866
- arg2 = static_cast< bool >(val2);
12867
- {
12868
- try {
12869
- (arg1)->setTrimPadChar(arg2);
12870
- } catch (bzs::rtl::exception& e) {
12871
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
12872
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
12873
- } catch (std::exception &e) {
12874
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
12875
- rb_raise(cpp_std_error, e.what());
12876
- }
12877
- }
12878
- return Qnil;
12879
- fail:
12880
- return Qnil;
12881
- }
12882
-
12883
-
12884
- SWIGINTERN VALUE
12885
- _wrap_table_usePadChar(int argc, VALUE *argv, VALUE self) {
12886
- bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
12887
- void *argp1 = 0 ;
12888
- int res1 = 0 ;
12889
- bool result;
12890
- VALUE vresult = Qnil;
12891
-
12892
- if ((argc < 0) || (argc > 0)) {
12893
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
12894
- }
12895
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
12896
- if (!SWIG_IsOK(res1)) {
12897
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table const *","usePadChar", 1, self ));
12898
- }
12899
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
12900
- {
12901
- try {
12902
- result = (bool)((bzs::db::protocol::tdap::client::table const *)arg1)->usePadChar();
12903
- } catch (bzs::rtl::exception& e) {
12904
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
12905
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
12906
- } catch (std::exception &e) {
12907
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
12908
- rb_raise(cpp_std_error, e.what());
12909
- }
12910
- }
12911
- vresult = SWIG_From_bool(static_cast< bool >(result));
12912
- return vresult;
12913
- fail:
12914
- return Qnil;
12915
- }
12916
-
12917
-
12918
- SWIGINTERN VALUE
12919
- _wrap_table_setUsePadChar(int argc, VALUE *argv, VALUE self) {
12920
- bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
12921
- bool arg2 ;
12922
- void *argp1 = 0 ;
12923
- int res1 = 0 ;
12924
- bool val2 ;
12925
- int ecode2 = 0 ;
12926
-
12927
- if ((argc < 1) || (argc > 1)) {
12928
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
12929
- }
12930
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
12931
- if (!SWIG_IsOK(res1)) {
12932
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table *","setUsePadChar", 1, self ));
12933
- }
12934
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
12935
- ecode2 = SWIG_AsVal_bool(argv[0], &val2);
12936
- if (!SWIG_IsOK(ecode2)) {
12937
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setUsePadChar", 2, argv[0] ));
12938
- }
12939
- arg2 = static_cast< bool >(val2);
12940
- {
12941
- try {
12942
- (arg1)->setUsePadChar(arg2);
12943
- } catch (bzs::rtl::exception& e) {
12944
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
12945
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
12946
- } catch (std::exception &e) {
12947
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
12948
- rb_raise(cpp_std_error, e.what());
12949
- }
12950
- }
12951
- return Qnil;
12952
- fail:
12953
- return Qnil;
12954
- }
12955
-
12956
-
12957
12938
  SWIGINTERN VALUE
12958
12939
  _wrap_table_optionalData(int argc, VALUE *argv, VALUE self) {
12959
12940
  bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
@@ -13646,11 +13627,11 @@ fail:
13646
13627
 
13647
13628
 
13648
13629
  SWIGINTERN VALUE
13649
- _wrap_table_bookmarkFindCurrent(int argc, VALUE *argv, VALUE self) {
13650
- bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
13630
+ _wrap_table_lastFindDirection(int argc, VALUE *argv, VALUE self) {
13631
+ bzs::db::protocol::tdap::client::table *arg1 = 0 ;
13651
13632
  void *argp1 = 0 ;
13652
13633
  int res1 = 0 ;
13653
- bookmark_td result;
13634
+ short_td result;
13654
13635
  VALUE vresult = Qnil;
13655
13636
 
13656
13637
  if ((argc < 0) || (argc > 0)) {
@@ -13658,12 +13639,12 @@ _wrap_table_bookmarkFindCurrent(int argc, VALUE *argv, VALUE self) {
13658
13639
  }
13659
13640
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
13660
13641
  if (!SWIG_IsOK(res1)) {
13661
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table const *","bookmarkFindCurrent", 1, self ));
13642
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table const *","lastFindDirection", 1, self ));
13662
13643
  }
13663
13644
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
13664
13645
  {
13665
13646
  try {
13666
- result = (bookmark_td)((bzs::db::protocol::tdap::client::table const *)arg1)->bookmarkFindCurrent();
13647
+ result = (short_td)((bzs::db::protocol::tdap::client::table const *)arg1)->lastFindDirection();
13667
13648
  } catch (bzs::rtl::exception& e) {
13668
13649
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
13669
13650
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -13672,7 +13653,7 @@ _wrap_table_bookmarkFindCurrent(int argc, VALUE *argv, VALUE self) {
13672
13653
  rb_raise(cpp_std_error, e.what());
13673
13654
  }
13674
13655
  }
13675
- vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
13656
+ vresult = SWIG_From_short(static_cast< short >(result));
13676
13657
  return vresult;
13677
13658
  fail:
13678
13659
  return Qnil;
@@ -13680,17 +13661,85 @@ fail:
13680
13661
 
13681
13662
 
13682
13663
  SWIGINTERN VALUE
13683
- _wrap_table_setFilter__SWIG_0(int argc, VALUE *argv, VALUE self) {
13684
- bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
13685
- _TCHAR *arg2 = (_TCHAR *) 0 ;
13686
- ushort_td arg3 ;
13687
- ushort_td arg4 ;
13688
- bool arg5 ;
13664
+ _wrap_table_statReasonOfFind(int argc, VALUE *argv, VALUE self) {
13665
+ bzs::db::protocol::tdap::client::table *arg1 = 0 ;
13689
13666
  void *argp1 = 0 ;
13690
13667
  int res1 = 0 ;
13691
- int res2 ;
13692
- char *buf2 = 0 ;
13693
- int alloc2 = 0 ;
13668
+ short_td result;
13669
+ VALUE vresult = Qnil;
13670
+
13671
+ if ((argc < 0) || (argc > 0)) {
13672
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
13673
+ }
13674
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
13675
+ if (!SWIG_IsOK(res1)) {
13676
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table const *","statReasonOfFind", 1, self ));
13677
+ }
13678
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
13679
+ {
13680
+ try {
13681
+ result = (short_td)((bzs::db::protocol::tdap::client::table const *)arg1)->statReasonOfFind();
13682
+ } catch (bzs::rtl::exception& e) {
13683
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
13684
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
13685
+ } catch (std::exception &e) {
13686
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
13687
+ rb_raise(cpp_std_error, e.what());
13688
+ }
13689
+ }
13690
+ vresult = SWIG_From_short(static_cast< short >(result));
13691
+ return vresult;
13692
+ fail:
13693
+ return Qnil;
13694
+ }
13695
+
13696
+
13697
+ SWIGINTERN VALUE
13698
+ _wrap_table_bookmarkFindCurrent(int argc, VALUE *argv, VALUE self) {
13699
+ bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
13700
+ void *argp1 = 0 ;
13701
+ int res1 = 0 ;
13702
+ bookmark_td result;
13703
+ VALUE vresult = Qnil;
13704
+
13705
+ if ((argc < 0) || (argc > 0)) {
13706
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
13707
+ }
13708
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__table, 0 | 0 );
13709
+ if (!SWIG_IsOK(res1)) {
13710
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::table const *","bookmarkFindCurrent", 1, self ));
13711
+ }
13712
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::table * >(argp1);
13713
+ {
13714
+ try {
13715
+ result = (bookmark_td)((bzs::db::protocol::tdap::client::table const *)arg1)->bookmarkFindCurrent();
13716
+ } catch (bzs::rtl::exception& e) {
13717
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
13718
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
13719
+ } catch (std::exception &e) {
13720
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
13721
+ rb_raise(cpp_std_error, e.what());
13722
+ }
13723
+ }
13724
+ vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
13725
+ return vresult;
13726
+ fail:
13727
+ return Qnil;
13728
+ }
13729
+
13730
+
13731
+ SWIGINTERN VALUE
13732
+ _wrap_table_setFilter__SWIG_0(int argc, VALUE *argv, VALUE self) {
13733
+ bzs::db::protocol::tdap::client::table *arg1 = (bzs::db::protocol::tdap::client::table *) 0 ;
13734
+ _TCHAR *arg2 = (_TCHAR *) 0 ;
13735
+ ushort_td arg3 ;
13736
+ ushort_td arg4 ;
13737
+ bool arg5 ;
13738
+ void *argp1 = 0 ;
13739
+ int res1 = 0 ;
13740
+ int res2 ;
13741
+ char *buf2 = 0 ;
13742
+ int alloc2 = 0 ;
13694
13743
  unsigned short val3 ;
13695
13744
  int ecode3 = 0 ;
13696
13745
  unsigned short val4 ;
@@ -16863,6 +16912,79 @@ fail:
16863
16912
  }
16864
16913
 
16865
16914
 
16915
+ SWIGINTERN VALUE
16916
+ _wrap_queryBase_stopAtLimit(int argc, VALUE *argv, VALUE self) {
16917
+ bzs::db::protocol::tdap::client::queryBase *arg1 = 0 ;
16918
+ bool arg2 ;
16919
+ void *argp1 = 0 ;
16920
+ int res1 = 0 ;
16921
+ bool val2 ;
16922
+ int ecode2 = 0 ;
16923
+
16924
+ if ((argc < 1) || (argc > 1)) {
16925
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
16926
+ }
16927
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__queryBase, 0 | 0 );
16928
+ if (!SWIG_IsOK(res1)) {
16929
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::queryBase *","stopAtLimit", 1, self ));
16930
+ }
16931
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::queryBase * >(argp1);
16932
+ ecode2 = SWIG_AsVal_bool(argv[0], &val2);
16933
+ if (!SWIG_IsOK(ecode2)) {
16934
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","stopAtLimit", 2, argv[0] ));
16935
+ }
16936
+ arg2 = static_cast< bool >(val2);
16937
+ {
16938
+ try {
16939
+ arg1->stopAtLimit(arg2);
16940
+ } catch (bzs::rtl::exception& e) {
16941
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
16942
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
16943
+ } catch (std::exception &e) {
16944
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
16945
+ rb_raise(cpp_std_error, e.what());
16946
+ }
16947
+ }
16948
+ return self;
16949
+ fail:
16950
+ return Qnil;
16951
+ }
16952
+
16953
+
16954
+ SWIGINTERN VALUE
16955
+ _wrap_queryBase_isStopAtLimit(int argc, VALUE *argv, VALUE self) {
16956
+ bzs::db::protocol::tdap::client::queryBase *arg1 = 0 ;
16957
+ void *argp1 = 0 ;
16958
+ int res1 = 0 ;
16959
+ bool result;
16960
+ VALUE vresult = Qnil;
16961
+
16962
+ if ((argc < 0) || (argc > 0)) {
16963
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
16964
+ }
16965
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__queryBase, 0 | 0 );
16966
+ if (!SWIG_IsOK(res1)) {
16967
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::queryBase const *","isStopAtLimit", 1, self ));
16968
+ }
16969
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::queryBase * >(argp1);
16970
+ {
16971
+ try {
16972
+ result = (bool)((bzs::db::protocol::tdap::client::queryBase const *)arg1)->isStopAtLimit();
16973
+ } catch (bzs::rtl::exception& e) {
16974
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
16975
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
16976
+ } catch (std::exception &e) {
16977
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
16978
+ rb_raise(cpp_std_error, e.what());
16979
+ }
16980
+ }
16981
+ vresult = SWIG_From_bool(static_cast< bool >(result));
16982
+ return vresult;
16983
+ fail:
16984
+ return Qnil;
16985
+ }
16986
+
16987
+
16866
16988
  static swig_class SwigClassQuery;
16867
16989
 
16868
16990
  SWIGINTERN VALUE
@@ -18887,6 +19009,74 @@ fail:
18887
19009
  }
18888
19010
 
18889
19011
 
19012
+ SWIGINTERN VALUE
19013
+ _wrap_nsdatabase_disconnectForReconnectTest(int argc, VALUE *argv, VALUE self) {
19014
+ bzs::db::protocol::tdap::client::nsdatabase *arg1 = (bzs::db::protocol::tdap::client::nsdatabase *) 0 ;
19015
+ void *argp1 = 0 ;
19016
+ int res1 = 0 ;
19017
+ bool result;
19018
+ VALUE vresult = Qnil;
19019
+
19020
+ if ((argc < 0) || (argc > 0)) {
19021
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19022
+ }
19023
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nsdatabase, 0 | 0 );
19024
+ if (!SWIG_IsOK(res1)) {
19025
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nsdatabase *","disconnectForReconnectTest", 1, self ));
19026
+ }
19027
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nsdatabase * >(argp1);
19028
+ {
19029
+ try {
19030
+ result = (bool)(arg1)->disconnectForReconnectTest();
19031
+ } catch (bzs::rtl::exception& e) {
19032
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
19033
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
19034
+ } catch (std::exception &e) {
19035
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
19036
+ rb_raise(cpp_std_error, e.what());
19037
+ }
19038
+ }
19039
+ vresult = SWIG_From_bool(static_cast< bool >(result));
19040
+ return vresult;
19041
+ fail:
19042
+ return Qnil;
19043
+ }
19044
+
19045
+
19046
+ SWIGINTERN VALUE
19047
+ _wrap_nsdatabase_reconnect(int argc, VALUE *argv, VALUE self) {
19048
+ bzs::db::protocol::tdap::client::nsdatabase *arg1 = (bzs::db::protocol::tdap::client::nsdatabase *) 0 ;
19049
+ void *argp1 = 0 ;
19050
+ int res1 = 0 ;
19051
+ bool result;
19052
+ VALUE vresult = Qnil;
19053
+
19054
+ if ((argc < 0) || (argc > 0)) {
19055
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
19056
+ }
19057
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__nsdatabase, 0 | 0 );
19058
+ if (!SWIG_IsOK(res1)) {
19059
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::nsdatabase *","reconnect", 1, self ));
19060
+ }
19061
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::nsdatabase * >(argp1);
19062
+ {
19063
+ try {
19064
+ result = (bool)(arg1)->reconnect();
19065
+ } catch (bzs::rtl::exception& e) {
19066
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
19067
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
19068
+ } catch (std::exception &e) {
19069
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
19070
+ rb_raise(cpp_std_error, e.what());
19071
+ }
19072
+ }
19073
+ vresult = SWIG_From_bool(static_cast< bool >(result));
19074
+ return vresult;
19075
+ fail:
19076
+ return Qnil;
19077
+ }
19078
+
19079
+
18890
19080
  SWIGINTERN VALUE
18891
19081
  _wrap_nsdatabase_trnsactionFlushWaitStatus(int argc, VALUE *argv, VALUE self) {
18892
19082
  bool result;
@@ -25460,27 +25650,21 @@ _wrap_field_getBin(int argc, VALUE *argv, VALUE self) {
25460
25650
  uint_td *arg2 = 0 ;
25461
25651
  void *argp1 = 0 ;
25462
25652
  int res1 = 0 ;
25463
- void *argp2 = 0 ;
25464
- int res2 = 0 ;
25653
+ uint_td temp2 ;
25465
25654
  void *result = 0 ;
25466
25655
  VALUE vresult = Qnil;
25467
25656
 
25468
- if ((argc < 1) || (argc > 1)) {
25469
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25657
+ {
25658
+ arg2 = &temp2;
25659
+ }
25660
+ if ((argc < 0) || (argc > 0)) {
25661
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25470
25662
  }
25471
25663
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__field, 0 | 0 );
25472
25664
  if (!SWIG_IsOK(res1)) {
25473
25665
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::field *","getBin", 1, self ));
25474
25666
  }
25475
25667
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::field * >(argp1);
25476
- res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_unsigned_int, 0 );
25477
- if (!SWIG_IsOK(res2)) {
25478
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "uint_td &","getBin", 2, argv[0] ));
25479
- }
25480
- if (!argp2) {
25481
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "uint_td &","getBin", 2, argv[0]));
25482
- }
25483
- arg2 = reinterpret_cast< uint_td * >(argp2);
25484
25668
  {
25485
25669
  try {
25486
25670
  result = (void *)(arg1)->getBin(*arg2);
@@ -25493,6 +25677,9 @@ _wrap_field_getBin(int argc, VALUE *argv, VALUE self) {
25493
25677
  }
25494
25678
  }
25495
25679
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
25680
+ {
25681
+ vresult = rb_str_new((const char *)result, *arg2);
25682
+ }
25496
25683
  return vresult;
25497
25684
  fail:
25498
25685
  return Qnil;
@@ -25698,34 +25885,33 @@ fail:
25698
25885
  }
25699
25886
 
25700
25887
 
25701
-
25702
- /*
25703
- Document-method: Transactd::Record.size
25704
-
25705
- call-seq:
25706
- size -> size_t
25707
-
25708
- Size or Length of the Record.
25709
- */
25710
25888
  SWIGINTERN VALUE
25711
- _wrap_Record_size(int argc, VALUE *argv, VALUE self) {
25889
+ _wrap_Record_getField__SWIG_0(int argc, VALUE *argv, VALUE self) {
25712
25890
  bzs::db::protocol::tdap::client::fieldsBase *arg1 = (bzs::db::protocol::tdap::client::fieldsBase *) 0 ;
25891
+ short arg2 ;
25713
25892
  void *argp1 = 0 ;
25714
25893
  int res1 = 0 ;
25715
- size_t result;
25894
+ short val2 ;
25895
+ int ecode2 = 0 ;
25896
+ bzs::db::protocol::tdap::client::field result;
25716
25897
  VALUE vresult = Qnil;
25717
25898
 
25718
- if ((argc < 0) || (argc > 0)) {
25719
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25899
+ if ((argc < 1) || (argc > 1)) {
25900
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
25720
25901
  }
25721
25902
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0 | 0 );
25722
25903
  if (!SWIG_IsOK(res1)) {
25723
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldsBase const *","size", 1, self ));
25904
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldsBase const *","operator []", 1, self ));
25724
25905
  }
25725
25906
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldsBase * >(argp1);
25907
+ ecode2 = SWIG_AsVal_short(argv[0], &val2);
25908
+ if (!SWIG_IsOK(ecode2)) {
25909
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","operator []", 2, argv[0] ));
25910
+ }
25911
+ arg2 = static_cast< short >(val2);
25726
25912
  {
25727
25913
  try {
25728
- result = ((bzs::db::protocol::tdap::client::fieldsBase const *)arg1)->size();
25914
+ result = ((bzs::db::protocol::tdap::client::fieldsBase const *)arg1)->operator [](arg2);
25729
25915
  } catch (bzs::rtl::exception& e) {
25730
25916
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
25731
25917
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -25734,7 +25920,7 @@ _wrap_Record_size(int argc, VALUE *argv, VALUE self) {
25734
25920
  rb_raise(cpp_std_error, e.what());
25735
25921
  }
25736
25922
  }
25737
- vresult = SWIG_From_size_t(static_cast< size_t >(result));
25923
+ vresult = SWIG_NewPointerObj((new bzs::db::protocol::tdap::client::field(static_cast< const bzs::db::protocol::tdap::client::field& >(result))), SWIGTYPE_p_bzs__db__protocol__tdap__client__field, SWIG_POINTER_OWN | 0 );
25738
25924
  return vresult;
25739
25925
  fail:
25740
25926
  return Qnil;
@@ -25742,7 +25928,7 @@ fail:
25742
25928
 
25743
25929
 
25744
25930
  SWIGINTERN VALUE
25745
- _wrap_Record_indexByName(int argc, VALUE *argv, VALUE self) {
25931
+ _wrap_Record_getField__SWIG_1(int argc, VALUE *argv, VALUE self) {
25746
25932
  bzs::db::protocol::tdap::client::fieldsBase *arg1 = (bzs::db::protocol::tdap::client::fieldsBase *) 0 ;
25747
25933
  _TCHAR *arg2 = (_TCHAR *) 0 ;
25748
25934
  void *argp1 = 0 ;
@@ -25750,7 +25936,7 @@ _wrap_Record_indexByName(int argc, VALUE *argv, VALUE self) {
25750
25936
  int res2 ;
25751
25937
  char *buf2 = 0 ;
25752
25938
  int alloc2 = 0 ;
25753
- short result;
25939
+ bzs::db::protocol::tdap::client::field result;
25754
25940
  VALUE vresult = Qnil;
25755
25941
 
25756
25942
  if ((argc < 1) || (argc > 1)) {
@@ -25758,17 +25944,17 @@ _wrap_Record_indexByName(int argc, VALUE *argv, VALUE self) {
25758
25944
  }
25759
25945
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0 | 0 );
25760
25946
  if (!SWIG_IsOK(res1)) {
25761
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldsBase const *","indexByName", 1, self ));
25947
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldsBase const *","operator []", 1, self ));
25762
25948
  }
25763
25949
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldsBase * >(argp1);
25764
25950
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
25765
25951
  if (!SWIG_IsOK(res2)) {
25766
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","indexByName", 2, argv[0] ));
25952
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","operator []", 2, argv[0] ));
25767
25953
  }
25768
25954
  arg2 = reinterpret_cast< _TCHAR * >(buf2);
25769
25955
  {
25770
25956
  try {
25771
- result = (short)((bzs::db::protocol::tdap::client::fieldsBase const *)arg1)->indexByName((_TCHAR const *)arg2);
25957
+ result = ((bzs::db::protocol::tdap::client::fieldsBase const *)arg1)->operator []((_TCHAR const *)arg2);
25772
25958
  } catch (bzs::rtl::exception& e) {
25773
25959
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
25774
25960
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -25777,7 +25963,7 @@ _wrap_Record_indexByName(int argc, VALUE *argv, VALUE self) {
25777
25963
  rb_raise(cpp_std_error, e.what());
25778
25964
  }
25779
25965
  }
25780
- vresult = SWIG_From_short(static_cast< short >(result));
25966
+ vresult = SWIG_NewPointerObj((new bzs::db::protocol::tdap::client::field(static_cast< const bzs::db::protocol::tdap::client::field& >(result))), SWIGTYPE_p_bzs__db__protocol__tdap__client__field, SWIG_POINTER_OWN | 0 );
25781
25967
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25782
25968
  return vresult;
25783
25969
  fail:
@@ -25786,15 +25972,152 @@ fail:
25786
25972
  }
25787
25973
 
25788
25974
 
25789
- SWIGINTERN VALUE
25790
- _wrap_Record_fieldDefs(int argc, VALUE *argv, VALUE self) {
25791
- bzs::db::protocol::tdap::client::fieldsBase *arg1 = (bzs::db::protocol::tdap::client::fieldsBase *) 0 ;
25792
- void *argp1 = 0 ;
25793
- int res1 = 0 ;
25794
- bzs::db::protocol::tdap::client::fielddefs *result = 0 ;
25795
- VALUE vresult = Qnil;
25975
+ SWIGINTERN VALUE _wrap_Record_getField(int nargs, VALUE *args, VALUE self) {
25976
+ int argc;
25977
+ VALUE argv[3];
25978
+ int ii;
25796
25979
 
25797
- if ((argc < 0) || (argc > 0)) {
25980
+ argc = nargs + 1;
25981
+ argv[0] = self;
25982
+ if (argc > 3) SWIG_fail;
25983
+ for (ii = 1; (ii < argc); ++ii) {
25984
+ argv[ii] = args[ii-1];
25985
+ }
25986
+ if (argc == 2) {
25987
+ int _v;
25988
+ void *vptr = 0;
25989
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0);
25990
+ _v = SWIG_CheckState(res);
25991
+ if (_v) {
25992
+ {
25993
+ int res = SWIG_AsVal_short(argv[1], NULL);
25994
+ _v = SWIG_CheckState(res);
25995
+ }
25996
+ if (_v) {
25997
+ return _wrap_Record_getField__SWIG_0(nargs, args, self);
25998
+ }
25999
+ }
26000
+ }
26001
+ if (argc == 2) {
26002
+ int _v;
26003
+ void *vptr = 0;
26004
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0);
26005
+ _v = SWIG_CheckState(res);
26006
+ if (_v) {
26007
+ int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
26008
+ _v = SWIG_CheckState(res);
26009
+ if (_v) {
26010
+ return _wrap_Record_getField__SWIG_1(nargs, args, self);
26011
+ }
26012
+ }
26013
+ }
26014
+
26015
+ fail:
26016
+ Ruby_Format_OverloadedError( argc, 3, "Record.getField",
26017
+ " bzs::db::protocol::tdap::client::field Record.getField(short index)\n"
26018
+ " bzs::db::protocol::tdap::client::field Record.getField(_TCHAR const *name)\n");
26019
+
26020
+ return Qnil;
26021
+ }
26022
+
26023
+
26024
+
26025
+ /*
26026
+ Document-method: Transactd::Record.size
26027
+
26028
+ call-seq:
26029
+ size -> size_t
26030
+
26031
+ Size or Length of the Record.
26032
+ */
26033
+ SWIGINTERN VALUE
26034
+ _wrap_Record_size(int argc, VALUE *argv, VALUE self) {
26035
+ bzs::db::protocol::tdap::client::fieldsBase *arg1 = (bzs::db::protocol::tdap::client::fieldsBase *) 0 ;
26036
+ void *argp1 = 0 ;
26037
+ int res1 = 0 ;
26038
+ size_t result;
26039
+ VALUE vresult = Qnil;
26040
+
26041
+ if ((argc < 0) || (argc > 0)) {
26042
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
26043
+ }
26044
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0 | 0 );
26045
+ if (!SWIG_IsOK(res1)) {
26046
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldsBase const *","size", 1, self ));
26047
+ }
26048
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldsBase * >(argp1);
26049
+ {
26050
+ try {
26051
+ result = ((bzs::db::protocol::tdap::client::fieldsBase const *)arg1)->size();
26052
+ } catch (bzs::rtl::exception& e) {
26053
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
26054
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
26055
+ } catch (std::exception &e) {
26056
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
26057
+ rb_raise(cpp_std_error, e.what());
26058
+ }
26059
+ }
26060
+ vresult = SWIG_From_size_t(static_cast< size_t >(result));
26061
+ return vresult;
26062
+ fail:
26063
+ return Qnil;
26064
+ }
26065
+
26066
+
26067
+ SWIGINTERN VALUE
26068
+ _wrap_Record_indexByName(int argc, VALUE *argv, VALUE self) {
26069
+ bzs::db::protocol::tdap::client::fieldsBase *arg1 = (bzs::db::protocol::tdap::client::fieldsBase *) 0 ;
26070
+ _TCHAR *arg2 = (_TCHAR *) 0 ;
26071
+ void *argp1 = 0 ;
26072
+ int res1 = 0 ;
26073
+ int res2 ;
26074
+ char *buf2 = 0 ;
26075
+ int alloc2 = 0 ;
26076
+ short result;
26077
+ VALUE vresult = Qnil;
26078
+
26079
+ if ((argc < 1) || (argc > 1)) {
26080
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
26081
+ }
26082
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0 | 0 );
26083
+ if (!SWIG_IsOK(res1)) {
26084
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldsBase const *","indexByName", 1, self ));
26085
+ }
26086
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldsBase * >(argp1);
26087
+ res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
26088
+ if (!SWIG_IsOK(res2)) {
26089
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","indexByName", 2, argv[0] ));
26090
+ }
26091
+ arg2 = reinterpret_cast< _TCHAR * >(buf2);
26092
+ {
26093
+ try {
26094
+ result = (short)((bzs::db::protocol::tdap::client::fieldsBase const *)arg1)->indexByName((_TCHAR const *)arg2);
26095
+ } catch (bzs::rtl::exception& e) {
26096
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
26097
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
26098
+ } catch (std::exception &e) {
26099
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
26100
+ rb_raise(cpp_std_error, e.what());
26101
+ }
26102
+ }
26103
+ vresult = SWIG_From_short(static_cast< short >(result));
26104
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26105
+ return vresult;
26106
+ fail:
26107
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26108
+ return Qnil;
26109
+ }
26110
+
26111
+
26112
+ SWIGINTERN VALUE
26113
+ _wrap_Record_fieldDefs(int argc, VALUE *argv, VALUE self) {
26114
+ bzs::db::protocol::tdap::client::fieldsBase *arg1 = (bzs::db::protocol::tdap::client::fieldsBase *) 0 ;
26115
+ void *argp1 = 0 ;
26116
+ int res1 = 0 ;
26117
+ bzs::db::protocol::tdap::client::fielddefs *result = 0 ;
26118
+ VALUE vresult = Qnil;
26119
+
26120
+ if ((argc < 0) || (argc > 0)) {
25798
26121
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
25799
26122
  }
25800
26123
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, 0 | 0 );
@@ -25921,13 +26244,6 @@ _wrap_Record___getitem____SWIG_0(int argc, VALUE *argv, VALUE self) {
25921
26244
  tmp_d = f.d();
25922
26245
  vresult = SWIG_From_double(static_cast< double >(tmp_d));
25923
26246
  break;
25924
- /*
25925
- case ft_string:
25926
- case ft_myvarbinary:
25927
- case ft_mywvarbinary:
25928
- case ft_myblob:
25929
- return f.getBin();
25930
- */
25931
26247
  default:
25932
26248
  tmp_c_str = f.c_str();
25933
26249
  vresult = rb_enc_str_new(tmp_c_str, strlen(tmp_c_str), rb_enc_find_from_codepage(CP_UTF8));
@@ -26000,13 +26316,6 @@ _wrap_Record___getitem____SWIG_1(int argc, VALUE *argv, VALUE self) {
26000
26316
  tmp_d = f.d();
26001
26317
  vresult = SWIG_From_double(static_cast< double >(tmp_d));
26002
26318
  break;
26003
- /*
26004
- case ft_string:
26005
- case ft_myvarbinary:
26006
- case ft_mywvarbinary:
26007
- case ft_myblob:
26008
- return f.getBin();
26009
- */
26010
26319
  default:
26011
26320
  tmp_c_str = f.c_str();
26012
26321
  vresult = rb_enc_str_new(tmp_c_str, strlen(tmp_c_str), rb_enc_find_from_codepage(CP_UTF8));
@@ -27340,69 +27649,114 @@ free_bzs_db_protocol_tdap_client_fieldNames(bzs::db::protocol::tdap::client::fie
27340
27649
  delete_bzs_db_protocol_tdap_client_fieldNames(arg1);
27341
27650
  }
27342
27651
 
27343
- static swig_class SwigClassRecordsetQuery;
27652
+ static swig_class SwigClassSortField;
27344
27653
 
27345
27654
  SWIGINTERN VALUE
27346
- _wrap_recordsetQuery_reset(int argc, VALUE *argv, VALUE self) {
27347
- bzs::db::protocol::tdap::client::recordsetQuery *arg1 = (bzs::db::protocol::tdap::client::recordsetQuery *) 0 ;
27655
+ _wrap_sortField_name_set(int argc, VALUE *argv, VALUE self) {
27656
+ bzs::db::protocol::tdap::client::sortField *arg1 = (bzs::db::protocol::tdap::client::sortField *) 0 ;
27657
+ std::_tstring arg2 ;
27348
27658
  void *argp1 = 0 ;
27349
27659
  int res1 = 0 ;
27660
+ void *argp2 ;
27661
+ int res2 = 0 ;
27350
27662
 
27351
- if ((argc < 0) || (argc > 0)) {
27352
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27663
+ if ((argc < 1) || (argc > 1)) {
27664
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27353
27665
  }
27354
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, 0 | 0 );
27666
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField, 0 | 0 );
27355
27667
  if (!SWIG_IsOK(res1)) {
27356
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::recordsetQuery *","reset", 1, self ));
27668
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortField *","name", 1, self ));
27357
27669
  }
27358
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::recordsetQuery * >(argp1);
27670
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortField * >(argp1);
27359
27671
  {
27360
- try {
27361
- arg1->reset();
27362
- } catch (bzs::rtl::exception& e) {
27363
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27364
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27365
- } catch (std::exception &e) {
27366
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27367
- rb_raise(cpp_std_error, e.what());
27672
+ res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_std___tstring, 0 );
27673
+ if (!SWIG_IsOK(res2)) {
27674
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::_tstring","name", 2, argv[0] ));
27675
+ }
27676
+ if (!argp2) {
27677
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::_tstring","name", 2, argv[0]));
27678
+ } else {
27679
+ arg2 = *(reinterpret_cast< std::_tstring * >(argp2));
27368
27680
  }
27369
27681
  }
27370
- return self;
27682
+ if (arg1) (arg1)->name = arg2;
27683
+ return Qnil;
27371
27684
  fail:
27372
27685
  return Qnil;
27373
27686
  }
27374
27687
 
27375
27688
 
27376
27689
  SWIGINTERN VALUE
27377
- _wrap_recordsetQuery_toString(int argc, VALUE *argv, VALUE self) {
27378
- bzs::db::protocol::tdap::client::recordsetQuery *arg1 = (bzs::db::protocol::tdap::client::recordsetQuery *) 0 ;
27690
+ _wrap_sortField_name_get(int argc, VALUE *argv, VALUE self) {
27691
+ bzs::db::protocol::tdap::client::sortField *arg1 = (bzs::db::protocol::tdap::client::sortField *) 0 ;
27379
27692
  void *argp1 = 0 ;
27380
27693
  int res1 = 0 ;
27381
- _TCHAR *result = 0 ;
27694
+ std::_tstring result;
27382
27695
  VALUE vresult = Qnil;
27383
27696
 
27384
27697
  if ((argc < 0) || (argc > 0)) {
27385
27698
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27386
27699
  }
27387
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, 0 | 0 );
27700
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField, 0 | 0 );
27388
27701
  if (!SWIG_IsOK(res1)) {
27389
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::recordsetQuery const *","toString", 1, self ));
27702
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortField *","name", 1, self ));
27390
27703
  }
27391
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::recordsetQuery * >(argp1);
27392
- {
27393
- try {
27394
- result = (_TCHAR *)((bzs::db::protocol::tdap::client::recordsetQuery const *)arg1)->toString();
27395
- } catch (bzs::rtl::exception& e) {
27396
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27397
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27398
- } catch (std::exception &e) {
27399
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27400
- rb_raise(cpp_std_error, e.what());
27401
- }
27704
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortField * >(argp1);
27705
+ result = ((arg1)->name);
27706
+ vresult = SWIG_NewPointerObj((new std::_tstring(static_cast< const std::_tstring& >(result))), SWIGTYPE_p_std___tstring, SWIG_POINTER_OWN | 0 );
27707
+ return vresult;
27708
+ fail:
27709
+ return Qnil;
27710
+ }
27711
+
27712
+
27713
+ SWIGINTERN VALUE
27714
+ _wrap_sortField_asc_set(int argc, VALUE *argv, VALUE self) {
27715
+ bzs::db::protocol::tdap::client::sortField *arg1 = (bzs::db::protocol::tdap::client::sortField *) 0 ;
27716
+ bool arg2 ;
27717
+ void *argp1 = 0 ;
27718
+ int res1 = 0 ;
27719
+ bool val2 ;
27720
+ int ecode2 = 0 ;
27721
+
27722
+ if ((argc < 1) || (argc > 1)) {
27723
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27402
27724
  }
27403
- {
27404
- vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
27725
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField, 0 | 0 );
27726
+ if (!SWIG_IsOK(res1)) {
27727
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortField *","asc", 1, self ));
27728
+ }
27729
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortField * >(argp1);
27730
+ ecode2 = SWIG_AsVal_bool(argv[0], &val2);
27731
+ if (!SWIG_IsOK(ecode2)) {
27732
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","asc", 2, argv[0] ));
27733
+ }
27734
+ arg2 = static_cast< bool >(val2);
27735
+ if (arg1) (arg1)->asc = arg2;
27736
+ return Qnil;
27737
+ fail:
27738
+ return Qnil;
27739
+ }
27740
+
27741
+
27742
+ SWIGINTERN VALUE
27743
+ _wrap_sortField_asc_get(int argc, VALUE *argv, VALUE self) {
27744
+ bzs::db::protocol::tdap::client::sortField *arg1 = (bzs::db::protocol::tdap::client::sortField *) 0 ;
27745
+ void *argp1 = 0 ;
27746
+ int res1 = 0 ;
27747
+ bool result;
27748
+ VALUE vresult = Qnil;
27749
+
27750
+ if ((argc < 0) || (argc > 0)) {
27751
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27752
+ }
27753
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField, 0 | 0 );
27754
+ if (!SWIG_IsOK(res1)) {
27755
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortField *","asc", 1, self ));
27405
27756
  }
27757
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortField * >(argp1);
27758
+ result = (bool) ((arg1)->asc);
27759
+ vresult = SWIG_From_bool(static_cast< bool >(result));
27406
27760
  return vresult;
27407
27761
  fail:
27408
27762
  return Qnil;
@@ -27411,14 +27765,14 @@ fail:
27411
27765
 
27412
27766
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
27413
27767
  SWIGINTERN VALUE
27414
- _wrap_recordsetQuery_allocate(VALUE self) {
27768
+ _wrap_sortField_allocate(VALUE self) {
27415
27769
  #else
27416
27770
  SWIGINTERN VALUE
27417
- _wrap_recordsetQuery_allocate(int argc, VALUE *argv, VALUE self) {
27771
+ _wrap_sortField_allocate(int argc, VALUE *argv, VALUE self) {
27418
27772
  #endif
27419
27773
 
27420
27774
 
27421
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery);
27775
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField);
27422
27776
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
27423
27777
  rb_obj_call_init(vresult, argc, argv);
27424
27778
  #endif
@@ -27427,15 +27781,15 @@ _wrap_recordsetQuery_allocate(VALUE self) {
27427
27781
 
27428
27782
 
27429
27783
  SWIGINTERN VALUE
27430
- _wrap_new_recordsetQuery(int argc, VALUE *argv, VALUE self) {
27431
- bzs::db::protocol::tdap::client::recordsetQuery *result = 0 ;
27784
+ _wrap_new_sortField(int argc, VALUE *argv, VALUE self) {
27785
+ bzs::db::protocol::tdap::client::sortField *result = 0 ;
27432
27786
 
27433
27787
  if ((argc < 0) || (argc > 0)) {
27434
27788
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27435
27789
  }
27436
27790
  {
27437
27791
  try {
27438
- result = (bzs::db::protocol::tdap::client::recordsetQuery *)new_bzs_db_protocol_tdap_client_recordsetQuery();
27792
+ result = (bzs::db::protocol::tdap::client::sortField *)new bzs::db::protocol::tdap::client::sortField();
27439
27793
  DATA_PTR(self) = result;
27440
27794
  } catch (bzs::rtl::exception& e) {
27441
27795
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
@@ -27451,47 +27805,378 @@ fail:
27451
27805
  }
27452
27806
 
27453
27807
 
27454
- SWIGINTERN void delete_bzs_db_protocol_tdap_client_recordsetQuery(bzs::db::protocol::tdap::client::recordsetQuery *self){
27455
- self->release();
27456
- }
27457
27808
  SWIGINTERN void
27458
- free_bzs_db_protocol_tdap_client_recordsetQuery(bzs::db::protocol::tdap::client::recordsetQuery *arg1) {
27459
- delete_bzs_db_protocol_tdap_client_recordsetQuery(arg1);
27809
+ free_bzs_db_protocol_tdap_client_sortField(bzs::db::protocol::tdap::client::sortField *arg1) {
27810
+ delete arg1;
27460
27811
  }
27461
27812
 
27813
+ static swig_class SwigClassSortFields;
27814
+
27462
27815
  SWIGINTERN VALUE
27463
- _wrap_recordsetQuery_when(int argc, VALUE *argv, VALUE self) {
27464
- bzs::db::protocol::tdap::client::recordsetQuery *arg1 = (bzs::db::protocol::tdap::client::recordsetQuery *) 0 ;
27816
+ _wrap_sortFields_add(int argc, VALUE *argv, VALUE self) {
27817
+ bzs::db::protocol::tdap::client::sortFields *arg1 = (bzs::db::protocol::tdap::client::sortFields *) 0 ;
27465
27818
  _TCHAR *arg2 = (_TCHAR *) 0 ;
27466
- _TCHAR *arg3 = (_TCHAR *) 0 ;
27467
- char *arg4 = (char *) 0 ;
27819
+ bool arg3 ;
27468
27820
  void *argp1 = 0 ;
27469
27821
  int res1 = 0 ;
27470
27822
  int res2 ;
27471
27823
  char *buf2 = 0 ;
27472
27824
  int alloc2 = 0 ;
27473
- int res3 ;
27474
- char *buf3 = 0 ;
27475
- int alloc3 = 0 ;
27476
-
27477
- if ((argc < 3) || (argc > 3)) {
27478
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
27825
+ bool val3 ;
27826
+ int ecode3 = 0 ;
27827
+
27828
+ if ((argc < 2) || (argc > 2)) {
27829
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
27479
27830
  }
27480
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, 0 | 0 );
27831
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortFields, 0 | 0 );
27481
27832
  if (!SWIG_IsOK(res1)) {
27482
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::recordsetQuery *","when<(p._TCHAR)>", 1, self ));
27833
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortFields *","add", 1, self ));
27483
27834
  }
27484
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::recordsetQuery * >(argp1);
27835
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortFields * >(argp1);
27485
27836
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
27486
27837
  if (!SWIG_IsOK(res2)) {
27487
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","when<(p._TCHAR)>", 2, argv[0] ));
27838
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","add", 2, argv[0] ));
27488
27839
  }
27489
27840
  arg2 = reinterpret_cast< _TCHAR * >(buf2);
27490
- res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
27491
- if (!SWIG_IsOK(res3)) {
27492
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "_TCHAR const *","when<(p._TCHAR)>", 3, argv[1] ));
27493
- }
27494
- arg3 = reinterpret_cast< _TCHAR * >(buf3);
27841
+ ecode3 = SWIG_AsVal_bool(argv[1], &val3);
27842
+ if (!SWIG_IsOK(ecode3)) {
27843
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","add", 3, argv[1] ));
27844
+ }
27845
+ arg3 = static_cast< bool >(val3);
27846
+ {
27847
+ try {
27848
+ (arg1)->add((_TCHAR const *)arg2,arg3);
27849
+ } catch (bzs::rtl::exception& e) {
27850
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27851
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27852
+ } catch (std::exception &e) {
27853
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27854
+ rb_raise(cpp_std_error, e.what());
27855
+ }
27856
+ }
27857
+ return self;
27858
+ fail:
27859
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
27860
+ return Qnil;
27861
+ }
27862
+
27863
+
27864
+
27865
+ /*
27866
+ Document-method: Transactd::sortFields.size
27867
+
27868
+ call-seq:
27869
+ size -> size_t
27870
+
27871
+ Size or Length of the sortFields.
27872
+ */
27873
+ SWIGINTERN VALUE
27874
+ _wrap_sortFields_size(int argc, VALUE *argv, VALUE self) {
27875
+ bzs::db::protocol::tdap::client::sortFields *arg1 = (bzs::db::protocol::tdap::client::sortFields *) 0 ;
27876
+ void *argp1 = 0 ;
27877
+ int res1 = 0 ;
27878
+ size_t result;
27879
+ VALUE vresult = Qnil;
27880
+
27881
+ if ((argc < 0) || (argc > 0)) {
27882
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27883
+ }
27884
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortFields, 0 | 0 );
27885
+ if (!SWIG_IsOK(res1)) {
27886
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortFields const *","size", 1, self ));
27887
+ }
27888
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortFields * >(argp1);
27889
+ {
27890
+ try {
27891
+ result = ((bzs::db::protocol::tdap::client::sortFields const *)arg1)->size();
27892
+ } catch (bzs::rtl::exception& e) {
27893
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27894
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27895
+ } catch (std::exception &e) {
27896
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27897
+ rb_raise(cpp_std_error, e.what());
27898
+ }
27899
+ }
27900
+ vresult = SWIG_From_size_t(static_cast< size_t >(result));
27901
+ return vresult;
27902
+ fail:
27903
+ return Qnil;
27904
+ }
27905
+
27906
+
27907
+ SWIGINTERN VALUE
27908
+ _wrap_sortFields___getitem__(int argc, VALUE *argv, VALUE self) {
27909
+ bzs::db::protocol::tdap::client::sortFields *arg1 = (bzs::db::protocol::tdap::client::sortFields *) 0 ;
27910
+ int arg2 ;
27911
+ void *argp1 = 0 ;
27912
+ int res1 = 0 ;
27913
+ int val2 ;
27914
+ int ecode2 = 0 ;
27915
+ bzs::db::protocol::tdap::client::sortField *result = 0 ;
27916
+ VALUE vresult = Qnil;
27917
+
27918
+ if ((argc < 1) || (argc > 1)) {
27919
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
27920
+ }
27921
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortFields, 0 | 0 );
27922
+ if (!SWIG_IsOK(res1)) {
27923
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortFields const *","operator []", 1, self ));
27924
+ }
27925
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortFields * >(argp1);
27926
+ ecode2 = SWIG_AsVal_int(argv[0], &val2);
27927
+ if (!SWIG_IsOK(ecode2)) {
27928
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","operator []", 2, argv[0] ));
27929
+ }
27930
+ arg2 = static_cast< int >(val2);
27931
+ {
27932
+ try {
27933
+ result = (bzs::db::protocol::tdap::client::sortField *) &((bzs::db::protocol::tdap::client::sortFields const *)arg1)->operator [](arg2);
27934
+ } catch (bzs::rtl::exception& e) {
27935
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27936
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27937
+ } catch (std::exception &e) {
27938
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27939
+ rb_raise(cpp_std_error, e.what());
27940
+ }
27941
+ }
27942
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField, 0 | 0 );
27943
+ return vresult;
27944
+ fail:
27945
+ return Qnil;
27946
+ }
27947
+
27948
+
27949
+ SWIGINTERN VALUE
27950
+ _wrap_sortFields_clear(int argc, VALUE *argv, VALUE self) {
27951
+ bzs::db::protocol::tdap::client::sortFields *arg1 = (bzs::db::protocol::tdap::client::sortFields *) 0 ;
27952
+ void *argp1 = 0 ;
27953
+ int res1 = 0 ;
27954
+
27955
+ if ((argc < 0) || (argc > 0)) {
27956
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27957
+ }
27958
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sortFields, 0 | 0 );
27959
+ if (!SWIG_IsOK(res1)) {
27960
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sortFields *","clear", 1, self ));
27961
+ }
27962
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sortFields * >(argp1);
27963
+ {
27964
+ try {
27965
+ (arg1)->clear();
27966
+ } catch (bzs::rtl::exception& e) {
27967
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27968
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27969
+ } catch (std::exception &e) {
27970
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27971
+ rb_raise(cpp_std_error, e.what());
27972
+ }
27973
+ }
27974
+ // return Qnil;
27975
+ return self;
27976
+ fail:
27977
+ return Qnil;
27978
+ }
27979
+
27980
+
27981
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
27982
+ SWIGINTERN VALUE
27983
+ _wrap_sortFields_allocate(VALUE self) {
27984
+ #else
27985
+ SWIGINTERN VALUE
27986
+ _wrap_sortFields_allocate(int argc, VALUE *argv, VALUE self) {
27987
+ #endif
27988
+
27989
+
27990
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__sortFields);
27991
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
27992
+ rb_obj_call_init(vresult, argc, argv);
27993
+ #endif
27994
+ return vresult;
27995
+ }
27996
+
27997
+
27998
+ SWIGINTERN VALUE
27999
+ _wrap_new_sortFields(int argc, VALUE *argv, VALUE self) {
28000
+ bzs::db::protocol::tdap::client::sortFields *result = 0 ;
28001
+
28002
+ if ((argc < 0) || (argc > 0)) {
28003
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28004
+ }
28005
+ {
28006
+ try {
28007
+ result = (bzs::db::protocol::tdap::client::sortFields *)new bzs::db::protocol::tdap::client::sortFields();
28008
+ DATA_PTR(self) = result;
28009
+ } catch (bzs::rtl::exception& e) {
28010
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28011
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28012
+ } catch (std::exception &e) {
28013
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28014
+ rb_raise(cpp_std_error, e.what());
28015
+ }
28016
+ }
28017
+ return self;
28018
+ fail:
28019
+ return Qnil;
28020
+ }
28021
+
28022
+
28023
+ SWIGINTERN void
28024
+ free_bzs_db_protocol_tdap_client_sortFields(bzs::db::protocol::tdap::client::sortFields *arg1) {
28025
+ delete arg1;
28026
+ }
28027
+
28028
+ static swig_class SwigClassRecordsetQuery;
28029
+
28030
+ SWIGINTERN VALUE
28031
+ _wrap_recordsetQuery_reset(int argc, VALUE *argv, VALUE self) {
28032
+ bzs::db::protocol::tdap::client::recordsetQuery *arg1 = (bzs::db::protocol::tdap::client::recordsetQuery *) 0 ;
28033
+ void *argp1 = 0 ;
28034
+ int res1 = 0 ;
28035
+
28036
+ if ((argc < 0) || (argc > 0)) {
28037
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28038
+ }
28039
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, 0 | 0 );
28040
+ if (!SWIG_IsOK(res1)) {
28041
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::recordsetQuery *","reset", 1, self ));
28042
+ }
28043
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::recordsetQuery * >(argp1);
28044
+ {
28045
+ try {
28046
+ arg1->reset();
28047
+ } catch (bzs::rtl::exception& e) {
28048
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28049
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28050
+ } catch (std::exception &e) {
28051
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28052
+ rb_raise(cpp_std_error, e.what());
28053
+ }
28054
+ }
28055
+ return self;
28056
+ fail:
28057
+ return Qnil;
28058
+ }
28059
+
28060
+
28061
+ SWIGINTERN VALUE
28062
+ _wrap_recordsetQuery_toString(int argc, VALUE *argv, VALUE self) {
28063
+ bzs::db::protocol::tdap::client::recordsetQuery *arg1 = (bzs::db::protocol::tdap::client::recordsetQuery *) 0 ;
28064
+ void *argp1 = 0 ;
28065
+ int res1 = 0 ;
28066
+ _TCHAR *result = 0 ;
28067
+ VALUE vresult = Qnil;
28068
+
28069
+ if ((argc < 0) || (argc > 0)) {
28070
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28071
+ }
28072
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, 0 | 0 );
28073
+ if (!SWIG_IsOK(res1)) {
28074
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::recordsetQuery const *","toString", 1, self ));
28075
+ }
28076
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::recordsetQuery * >(argp1);
28077
+ {
28078
+ try {
28079
+ result = (_TCHAR *)((bzs::db::protocol::tdap::client::recordsetQuery const *)arg1)->toString();
28080
+ } catch (bzs::rtl::exception& e) {
28081
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28082
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28083
+ } catch (std::exception &e) {
28084
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28085
+ rb_raise(cpp_std_error, e.what());
28086
+ }
28087
+ }
28088
+ {
28089
+ vresult = rb_enc_str_new(result, strlen(result), rb_enc_find_from_codepage(CP_UTF8));
28090
+ }
28091
+ return vresult;
28092
+ fail:
28093
+ return Qnil;
28094
+ }
28095
+
28096
+
28097
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
28098
+ SWIGINTERN VALUE
28099
+ _wrap_recordsetQuery_allocate(VALUE self) {
28100
+ #else
28101
+ SWIGINTERN VALUE
28102
+ _wrap_recordsetQuery_allocate(int argc, VALUE *argv, VALUE self) {
28103
+ #endif
28104
+
28105
+
28106
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery);
28107
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
28108
+ rb_obj_call_init(vresult, argc, argv);
28109
+ #endif
28110
+ return vresult;
28111
+ }
28112
+
28113
+
28114
+ SWIGINTERN VALUE
28115
+ _wrap_new_recordsetQuery(int argc, VALUE *argv, VALUE self) {
28116
+ bzs::db::protocol::tdap::client::recordsetQuery *result = 0 ;
28117
+
28118
+ if ((argc < 0) || (argc > 0)) {
28119
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28120
+ }
28121
+ {
28122
+ try {
28123
+ result = (bzs::db::protocol::tdap::client::recordsetQuery *)new_bzs_db_protocol_tdap_client_recordsetQuery();
28124
+ DATA_PTR(self) = result;
28125
+ } catch (bzs::rtl::exception& e) {
28126
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28127
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28128
+ } catch (std::exception &e) {
28129
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28130
+ rb_raise(cpp_std_error, e.what());
28131
+ }
28132
+ }
28133
+ return self;
28134
+ fail:
28135
+ return Qnil;
28136
+ }
28137
+
28138
+
28139
+ SWIGINTERN void delete_bzs_db_protocol_tdap_client_recordsetQuery(bzs::db::protocol::tdap::client::recordsetQuery *self){
28140
+ self->release();
28141
+ }
28142
+ SWIGINTERN void
28143
+ free_bzs_db_protocol_tdap_client_recordsetQuery(bzs::db::protocol::tdap::client::recordsetQuery *arg1) {
28144
+ delete_bzs_db_protocol_tdap_client_recordsetQuery(arg1);
28145
+ }
28146
+
28147
+ SWIGINTERN VALUE
28148
+ _wrap_recordsetQuery_when(int argc, VALUE *argv, VALUE self) {
28149
+ bzs::db::protocol::tdap::client::recordsetQuery *arg1 = (bzs::db::protocol::tdap::client::recordsetQuery *) 0 ;
28150
+ _TCHAR *arg2 = (_TCHAR *) 0 ;
28151
+ _TCHAR *arg3 = (_TCHAR *) 0 ;
28152
+ char *arg4 = (char *) 0 ;
28153
+ void *argp1 = 0 ;
28154
+ int res1 = 0 ;
28155
+ int res2 ;
28156
+ char *buf2 = 0 ;
28157
+ int alloc2 = 0 ;
28158
+ int res3 ;
28159
+ char *buf3 = 0 ;
28160
+ int alloc3 = 0 ;
28161
+
28162
+ if ((argc < 3) || (argc > 3)) {
28163
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
28164
+ }
28165
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, 0 | 0 );
28166
+ if (!SWIG_IsOK(res1)) {
28167
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::recordsetQuery *","when<(p._TCHAR)>", 1, self ));
28168
+ }
28169
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::recordsetQuery * >(argp1);
28170
+ res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
28171
+ if (!SWIG_IsOK(res2)) {
28172
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","when<(p._TCHAR)>", 2, argv[0] ));
28173
+ }
28174
+ arg2 = reinterpret_cast< _TCHAR * >(buf2);
28175
+ res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
28176
+ if (!SWIG_IsOK(res3)) {
28177
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "_TCHAR const *","when<(p._TCHAR)>", 3, argv[1] ));
28178
+ }
28179
+ arg3 = reinterpret_cast< _TCHAR * >(buf3);
27495
28180
  {
27496
28181
  try {
27497
28182
  VALUE type = TYPE(argv[2]);
@@ -27796,42 +28481,7 @@ _wrap_groupFuncBase_setResultName(int argc, VALUE *argv, VALUE self) {
27796
28481
  arg2 = reinterpret_cast< _TCHAR * >(buf2);
27797
28482
  {
27798
28483
  try {
27799
- (arg1)->setResultName((_TCHAR const *)arg2);
27800
- } catch (bzs::rtl::exception& e) {
27801
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27802
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
27803
- } catch (std::exception &e) {
27804
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
27805
- rb_raise(cpp_std_error, e.what());
27806
- }
27807
- }
27808
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
27809
- return Qnil;
27810
- fail:
27811
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
27812
- return Qnil;
27813
- }
27814
-
27815
-
27816
- SWIGINTERN VALUE
27817
- _wrap_groupFuncBase_resultKey(int argc, VALUE *argv, VALUE self) {
27818
- bzs::db::protocol::tdap::client::groupFuncBase *arg1 = (bzs::db::protocol::tdap::client::groupFuncBase *) 0 ;
27819
- void *argp1 = 0 ;
27820
- int res1 = 0 ;
27821
- int result;
27822
- VALUE vresult = Qnil;
27823
-
27824
- if ((argc < 0) || (argc > 0)) {
27825
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27826
- }
27827
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, 0 | 0 );
27828
- if (!SWIG_IsOK(res1)) {
27829
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::groupFuncBase const *","resultKey", 1, self ));
27830
- }
27831
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::groupFuncBase * >(argp1);
27832
- {
27833
- try {
27834
- result = (int)((bzs::db::protocol::tdap::client::groupFuncBase const *)arg1)->resultKey();
28484
+ (arg1)->setResultName((_TCHAR const *)arg2);
27835
28485
  } catch (bzs::rtl::exception& e) {
27836
28486
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27837
28487
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -27840,30 +28490,33 @@ _wrap_groupFuncBase_resultKey(int argc, VALUE *argv, VALUE self) {
27840
28490
  rb_raise(cpp_std_error, e.what());
27841
28491
  }
27842
28492
  }
27843
- vresult = SWIG_From_int(static_cast< int >(result));
27844
- return vresult;
28493
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
28494
+ return Qnil;
27845
28495
  fail:
28496
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
27846
28497
  return Qnil;
27847
28498
  }
27848
28499
 
27849
28500
 
27850
28501
  SWIGINTERN VALUE
27851
- _wrap_groupFuncBase_reset(int argc, VALUE *argv, VALUE self) {
28502
+ _wrap_groupFuncBase_resultKey(int argc, VALUE *argv, VALUE self) {
27852
28503
  bzs::db::protocol::tdap::client::groupFuncBase *arg1 = (bzs::db::protocol::tdap::client::groupFuncBase *) 0 ;
27853
28504
  void *argp1 = 0 ;
27854
28505
  int res1 = 0 ;
28506
+ int result;
28507
+ VALUE vresult = Qnil;
27855
28508
 
27856
28509
  if ((argc < 0) || (argc > 0)) {
27857
28510
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27858
28511
  }
27859
28512
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, 0 | 0 );
27860
28513
  if (!SWIG_IsOK(res1)) {
27861
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::groupFuncBase *","reset", 1, self ));
28514
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::groupFuncBase const *","resultKey", 1, self ));
27862
28515
  }
27863
28516
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::groupFuncBase * >(argp1);
27864
28517
  {
27865
28518
  try {
27866
- (arg1)->reset();
28519
+ result = (int)((bzs::db::protocol::tdap::client::groupFuncBase const *)arg1)->resultKey();
27867
28520
  } catch (bzs::rtl::exception& e) {
27868
28521
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27869
28522
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -27872,39 +28525,30 @@ _wrap_groupFuncBase_reset(int argc, VALUE *argv, VALUE self) {
27872
28525
  rb_raise(cpp_std_error, e.what());
27873
28526
  }
27874
28527
  }
27875
- return Qnil;
28528
+ vresult = SWIG_From_int(static_cast< int >(result));
28529
+ return vresult;
27876
28530
  fail:
27877
28531
  return Qnil;
27878
28532
  }
27879
28533
 
27880
28534
 
27881
28535
  SWIGINTERN VALUE
27882
- _wrap_groupFuncBase_result(int argc, VALUE *argv, VALUE self) {
28536
+ _wrap_groupFuncBase_reset(int argc, VALUE *argv, VALUE self) {
27883
28537
  bzs::db::protocol::tdap::client::groupFuncBase *arg1 = (bzs::db::protocol::tdap::client::groupFuncBase *) 0 ;
27884
- int arg2 ;
27885
28538
  void *argp1 = 0 ;
27886
28539
  int res1 = 0 ;
27887
- int val2 ;
27888
- int ecode2 = 0 ;
27889
- bzs::db::protocol::tdap::client::groupFuncBase::value_type result;
27890
- VALUE vresult = Qnil;
27891
28540
 
27892
- if ((argc < 1) || (argc > 1)) {
27893
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28541
+ if ((argc < 0) || (argc > 0)) {
28542
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
27894
28543
  }
27895
28544
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, 0 | 0 );
27896
28545
  if (!SWIG_IsOK(res1)) {
27897
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::groupFuncBase const *","result", 1, self ));
28546
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::groupFuncBase *","reset", 1, self ));
27898
28547
  }
27899
28548
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::groupFuncBase * >(argp1);
27900
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
27901
- if (!SWIG_IsOK(ecode2)) {
27902
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","result", 2, argv[0] ));
27903
- }
27904
- arg2 = static_cast< int >(val2);
27905
28549
  {
27906
28550
  try {
27907
- result = (bzs::db::protocol::tdap::client::groupFuncBase::value_type)((bzs::db::protocol::tdap::client::groupFuncBase const *)arg1)->result(arg2);
28551
+ (arg1)->reset();
27908
28552
  } catch (bzs::rtl::exception& e) {
27909
28553
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
27910
28554
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -27913,8 +28557,7 @@ _wrap_groupFuncBase_result(int argc, VALUE *argv, VALUE self) {
27913
28557
  rb_raise(cpp_std_error, e.what());
27914
28558
  }
27915
28559
  }
27916
- vresult = SWIG_From_double(static_cast< double >(result));
27917
- return vresult;
28560
+ return Qnil;
27918
28561
  fail:
27919
28562
  return Qnil;
27920
28563
  }
@@ -28245,33 +28888,93 @@ free_bzs_db_protocol_tdap_client_groupQuery(bzs::db::protocol::tdap::client::gro
28245
28888
  static swig_class SwigClassSum;
28246
28889
 
28247
28890
 
28248
- /*
28249
- Document-method: Transactd::sum.clone
28250
28891
 
28251
- call-seq:
28252
- clone -> groupFuncBase
28892
+ SWIGINTERN VALUE
28893
+ _wrap_new_sum__SWIG_0(int argc, VALUE *argv, VALUE self) {
28894
+ bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
28895
+ _TCHAR *arg2 = (_TCHAR *) 0 ;
28896
+ void *argp1 ;
28897
+ int res1 = 0 ;
28898
+ int res2 ;
28899
+ char *buf2 = 0 ;
28900
+ int alloc2 = 0 ;
28901
+ bzs::db::protocol::tdap::client::sum *result = 0 ;
28902
+
28903
+ if ((argc < 2) || (argc > 2)) {
28904
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
28905
+ }
28906
+ res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0 );
28907
+ if (!SWIG_IsOK(res1)) {
28908
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0] ));
28909
+ }
28910
+ if (!argp1) {
28911
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0]));
28912
+ }
28913
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldNames * >(argp1);
28914
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
28915
+ if (!SWIG_IsOK(res2)) {
28916
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","sum", 2, argv[1] ));
28917
+ }
28918
+ arg2 = reinterpret_cast< _TCHAR * >(buf2);
28919
+ {
28920
+ try {
28921
+ result = (bzs::db::protocol::tdap::client::sum *)new_bzs_db_protocol_tdap_client_sum__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1,(char const *)arg2);
28922
+ DATA_PTR(self) = result;
28923
+ } catch (bzs::rtl::exception& e) {
28924
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28925
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28926
+ } catch (std::exception &e) {
28927
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28928
+ rb_raise(cpp_std_error, e.what());
28929
+ }
28930
+ }
28931
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
28932
+ return self;
28933
+ fail:
28934
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
28935
+ return Qnil;
28936
+ }
28253
28937
 
28254
- Create a duplicate of the class.
28255
- */
28938
+
28939
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
28256
28940
  SWIGINTERN VALUE
28257
- _wrap_sum_clone(int argc, VALUE *argv, VALUE self) {
28258
- bzs::db::protocol::tdap::client::sum *arg1 = (bzs::db::protocol::tdap::client::sum *) 0 ;
28259
- void *argp1 = 0 ;
28941
+ _wrap_sum_allocate(VALUE self) {
28942
+ #else
28943
+ SWIGINTERN VALUE
28944
+ _wrap_sum_allocate(int argc, VALUE *argv, VALUE self) {
28945
+ #endif
28946
+
28947
+
28948
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__sum);
28949
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
28950
+ rb_obj_call_init(vresult, argc, argv);
28951
+ #endif
28952
+ return vresult;
28953
+ }
28954
+
28955
+
28956
+ SWIGINTERN VALUE
28957
+ _wrap_new_sum__SWIG_1(int argc, VALUE *argv, VALUE self) {
28958
+ bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
28959
+ void *argp1 ;
28260
28960
  int res1 = 0 ;
28261
- bzs::db::protocol::tdap::client::groupFuncBase *result = 0 ;
28262
- VALUE vresult = Qnil;
28961
+ bzs::db::protocol::tdap::client::sum *result = 0 ;
28263
28962
 
28264
- if ((argc < 0) || (argc > 0)) {
28265
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28963
+ if ((argc < 1) || (argc > 1)) {
28964
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28266
28965
  }
28267
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__sum, 0 | 0 );
28966
+ res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0 );
28268
28967
  if (!SWIG_IsOK(res1)) {
28269
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::sum *","clone", 1, self ));
28968
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0] ));
28969
+ }
28970
+ if (!argp1) {
28971
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0]));
28270
28972
  }
28271
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::sum * >(argp1);
28973
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldNames * >(argp1);
28272
28974
  {
28273
28975
  try {
28274
- result = (bzs::db::protocol::tdap::client::groupFuncBase *)(arg1)->clone();
28976
+ result = (bzs::db::protocol::tdap::client::sum *)new_bzs_db_protocol_tdap_client_sum__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1);
28977
+ DATA_PTR(self) = result;
28275
28978
  } catch (bzs::rtl::exception& e) {
28276
28979
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28277
28980
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -28280,15 +28983,132 @@ _wrap_sum_clone(int argc, VALUE *argv, VALUE self) {
28280
28983
  rb_raise(cpp_std_error, e.what());
28281
28984
  }
28282
28985
  }
28283
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, SWIG_POINTER_OWN | 0 );
28284
- return vresult;
28986
+ return self;
28987
+ fail:
28988
+ return Qnil;
28989
+ }
28990
+
28991
+
28992
+ SWIGINTERN VALUE _wrap_new_sum(int nargs, VALUE *args, VALUE self) {
28993
+ int argc;
28994
+ VALUE argv[2];
28995
+ int ii;
28996
+
28997
+ argc = nargs;
28998
+ if (argc > 2) SWIG_fail;
28999
+ for (ii = 0; (ii < argc); ++ii) {
29000
+ argv[ii] = args[ii];
29001
+ }
29002
+ if (argc == 1) {
29003
+ int _v;
29004
+ void *vptr = 0;
29005
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0);
29006
+ _v = SWIG_CheckState(res);
29007
+ if (_v) {
29008
+ return _wrap_new_sum__SWIG_1(nargs, args, self);
29009
+ }
29010
+ }
29011
+ if (argc == 2) {
29012
+ int _v;
29013
+ void *vptr = 0;
29014
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0);
29015
+ _v = SWIG_CheckState(res);
29016
+ if (_v) {
29017
+ int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
29018
+ _v = SWIG_CheckState(res);
29019
+ if (_v) {
29020
+ return _wrap_new_sum__SWIG_0(nargs, args, self);
29021
+ }
29022
+ }
29023
+ }
29024
+
28285
29025
  fail:
29026
+ Ruby_Format_OverloadedError( argc, 2, "sum.new",
29027
+ " sum.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames, _TCHAR const *resultName)\n"
29028
+ " sum.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames)\n");
29029
+
28286
29030
  return Qnil;
28287
29031
  }
28288
29032
 
28289
29033
 
29034
+ SWIGINTERN void delete_bzs_db_protocol_tdap_client_sum(bzs::db::protocol::tdap::client::sum *self){
29035
+ self->release();
29036
+ }
29037
+ SWIGINTERN void
29038
+ free_bzs_db_protocol_tdap_client_sum(bzs::db::protocol::tdap::client::sum *arg1) {
29039
+ delete_bzs_db_protocol_tdap_client_sum(arg1);
29040
+ }
29041
+
29042
+ static swig_class SwigClassCount;
29043
+
29044
+
29045
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
28290
29046
  SWIGINTERN VALUE
28291
- _wrap_new_sum__SWIG_0(int argc, VALUE *argv, VALUE self) {
29047
+ _wrap_count_allocate(VALUE self) {
29048
+ #else
29049
+ SWIGINTERN VALUE
29050
+ _wrap_count_allocate(int argc, VALUE *argv, VALUE self) {
29051
+ #endif
29052
+
29053
+
29054
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__count);
29055
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
29056
+ rb_obj_call_init(vresult, argc, argv);
29057
+ #endif
29058
+ return vresult;
29059
+ }
29060
+
29061
+
29062
+ SWIGINTERN VALUE
29063
+ _wrap_new_count(int argc, VALUE *argv, VALUE self) {
29064
+ _TCHAR *arg1 = (_TCHAR *) 0 ;
29065
+ int res1 ;
29066
+ char *buf1 = 0 ;
29067
+ int alloc1 = 0 ;
29068
+ bzs::db::protocol::tdap::client::count *result = 0 ;
29069
+
29070
+ if ((argc < 1) || (argc > 1)) {
29071
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
29072
+ }
29073
+ res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
29074
+ if (!SWIG_IsOK(res1)) {
29075
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_TCHAR const *","count", 1, argv[0] ));
29076
+ }
29077
+ arg1 = reinterpret_cast< _TCHAR * >(buf1);
29078
+ {
29079
+ try {
29080
+ result = (bzs::db::protocol::tdap::client::count *)new_bzs_db_protocol_tdap_client_count((char const *)arg1);
29081
+ DATA_PTR(self) = result;
29082
+ } catch (bzs::rtl::exception& e) {
29083
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
29084
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
29085
+ } catch (std::exception &e) {
29086
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
29087
+ rb_raise(cpp_std_error, e.what());
29088
+ }
29089
+ }
29090
+ if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
29091
+ return self;
29092
+ fail:
29093
+ if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
29094
+ return Qnil;
29095
+ }
29096
+
29097
+
29098
+ SWIGINTERN void delete_bzs_db_protocol_tdap_client_count(bzs::db::protocol::tdap::client::count *self){
29099
+ self->release();
29100
+ }
29101
+ SWIGINTERN void
29102
+ free_bzs_db_protocol_tdap_client_count(bzs::db::protocol::tdap::client::count *arg1) {
29103
+ delete_bzs_db_protocol_tdap_client_count(arg1);
29104
+ }
29105
+
29106
+
29107
+ static swig_class SwigClassFirst;
29108
+
29109
+
29110
+ SWIGINTERN VALUE
29111
+ _wrap_new_first__SWIG_0(int argc, VALUE *argv, VALUE self) {
28292
29112
  bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
28293
29113
  _TCHAR *arg2 = (_TCHAR *) 0 ;
28294
29114
  void *argp1 ;
@@ -28296,27 +29116,27 @@ _wrap_new_sum__SWIG_0(int argc, VALUE *argv, VALUE self) {
28296
29116
  int res2 ;
28297
29117
  char *buf2 = 0 ;
28298
29118
  int alloc2 = 0 ;
28299
- bzs::db::protocol::tdap::client::sum *result = 0 ;
29119
+ bzs::db::protocol::tdap::client::first *result = 0 ;
28300
29120
 
28301
29121
  if ((argc < 2) || (argc > 2)) {
28302
29122
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
28303
29123
  }
28304
29124
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0 );
28305
29125
  if (!SWIG_IsOK(res1)) {
28306
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0] ));
29126
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","first", 1, argv[0] ));
28307
29127
  }
28308
29128
  if (!argp1) {
28309
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0]));
29129
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","first", 1, argv[0]));
28310
29130
  }
28311
29131
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldNames * >(argp1);
28312
29132
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
28313
29133
  if (!SWIG_IsOK(res2)) {
28314
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","sum", 2, argv[1] ));
29134
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","first", 2, argv[1] ));
28315
29135
  }
28316
29136
  arg2 = reinterpret_cast< _TCHAR * >(buf2);
28317
29137
  {
28318
29138
  try {
28319
- result = (bzs::db::protocol::tdap::client::sum *)new_bzs_db_protocol_tdap_client_sum__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1,(char const *)arg2);
29139
+ result = (bzs::db::protocol::tdap::client::first *)new_bzs_db_protocol_tdap_client_first__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1,(char const *)arg2);
28320
29140
  DATA_PTR(self) = result;
28321
29141
  } catch (bzs::rtl::exception& e) {
28322
29142
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
@@ -28336,42 +29156,42 @@ fail:
28336
29156
 
28337
29157
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
28338
29158
  SWIGINTERN VALUE
28339
- _wrap_sum_allocate(VALUE self) {
29159
+ _wrap_first_allocate(VALUE self) {
28340
29160
  #else
28341
29161
  SWIGINTERN VALUE
28342
- _wrap_sum_allocate(int argc, VALUE *argv, VALUE self) {
29162
+ _wrap_first_allocate(int argc, VALUE *argv, VALUE self) {
28343
29163
  #endif
28344
29164
 
28345
29165
 
28346
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__sum);
29166
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__first);
28347
29167
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
28348
29168
  rb_obj_call_init(vresult, argc, argv);
28349
29169
  #endif
28350
29170
  return vresult;
28351
29171
  }
28352
-
29172
+
28353
29173
 
28354
29174
  SWIGINTERN VALUE
28355
- _wrap_new_sum__SWIG_1(int argc, VALUE *argv, VALUE self) {
29175
+ _wrap_new_first__SWIG_1(int argc, VALUE *argv, VALUE self) {
28356
29176
  bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
28357
29177
  void *argp1 ;
28358
29178
  int res1 = 0 ;
28359
- bzs::db::protocol::tdap::client::sum *result = 0 ;
29179
+ bzs::db::protocol::tdap::client::first *result = 0 ;
28360
29180
 
28361
29181
  if ((argc < 1) || (argc > 1)) {
28362
29182
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28363
29183
  }
28364
29184
  res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0 );
28365
29185
  if (!SWIG_IsOK(res1)) {
28366
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0] ));
29186
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","first", 1, argv[0] ));
28367
29187
  }
28368
29188
  if (!argp1) {
28369
- SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","sum", 1, argv[0]));
29189
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","first", 1, argv[0]));
28370
29190
  }
28371
29191
  arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldNames * >(argp1);
28372
29192
  {
28373
29193
  try {
28374
- result = (bzs::db::protocol::tdap::client::sum *)new_bzs_db_protocol_tdap_client_sum__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1);
29194
+ result = (bzs::db::protocol::tdap::client::first *)new_bzs_db_protocol_tdap_client_first__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1);
28375
29195
  DATA_PTR(self) = result;
28376
29196
  } catch (bzs::rtl::exception& e) {
28377
29197
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
@@ -28387,7 +29207,7 @@ fail:
28387
29207
  }
28388
29208
 
28389
29209
 
28390
- SWIGINTERN VALUE _wrap_new_sum(int nargs, VALUE *args, VALUE self) {
29210
+ SWIGINTERN VALUE _wrap_new_first(int nargs, VALUE *args, VALUE self) {
28391
29211
  int argc;
28392
29212
  VALUE argv[2];
28393
29213
  int ii;
@@ -28403,7 +29223,7 @@ SWIGINTERN VALUE _wrap_new_sum(int nargs, VALUE *args, VALUE self) {
28403
29223
  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0);
28404
29224
  _v = SWIG_CheckState(res);
28405
29225
  if (_v) {
28406
- return _wrap_new_sum__SWIG_1(nargs, args, self);
29226
+ return _wrap_new_first__SWIG_1(nargs, args, self);
28407
29227
  }
28408
29228
  }
28409
29229
  if (argc == 2) {
@@ -28415,58 +29235,63 @@ SWIGINTERN VALUE _wrap_new_sum(int nargs, VALUE *args, VALUE self) {
28415
29235
  int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
28416
29236
  _v = SWIG_CheckState(res);
28417
29237
  if (_v) {
28418
- return _wrap_new_sum__SWIG_0(nargs, args, self);
29238
+ return _wrap_new_first__SWIG_0(nargs, args, self);
28419
29239
  }
28420
29240
  }
28421
29241
  }
28422
29242
 
28423
29243
  fail:
28424
- Ruby_Format_OverloadedError( argc, 2, "sum.new",
28425
- " sum.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames, _TCHAR const *resultName)\n"
28426
- " sum.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames)\n");
29244
+ Ruby_Format_OverloadedError( argc, 2, "first.new",
29245
+ " first.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames, _TCHAR const *resultName)\n"
29246
+ " first.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames)\n");
28427
29247
 
28428
29248
  return Qnil;
28429
29249
  }
28430
29250
 
28431
29251
 
28432
- SWIGINTERN void delete_bzs_db_protocol_tdap_client_sum(bzs::db::protocol::tdap::client::sum *self){
29252
+ SWIGINTERN void delete_bzs_db_protocol_tdap_client_first(bzs::db::protocol::tdap::client::first *self){
28433
29253
  self->release();
28434
29254
  }
28435
29255
  SWIGINTERN void
28436
- free_bzs_db_protocol_tdap_client_sum(bzs::db::protocol::tdap::client::sum *arg1) {
28437
- delete_bzs_db_protocol_tdap_client_sum(arg1);
29256
+ free_bzs_db_protocol_tdap_client_first(bzs::db::protocol::tdap::client::first *arg1) {
29257
+ delete_bzs_db_protocol_tdap_client_first(arg1);
28438
29258
  }
28439
29259
 
28440
- static swig_class SwigClassCount;
28441
-
28442
29260
 
28443
- /*
28444
- Document-method: Transactd::count.clone
29261
+ static swig_class SwigClassLast;
28445
29262
 
28446
- call-seq:
28447
- clone -> groupFuncBase
28448
29263
 
28449
- Create a duplicate of the class.
28450
- */
28451
29264
  SWIGINTERN VALUE
28452
- _wrap_count_clone(int argc, VALUE *argv, VALUE self) {
28453
- bzs::db::protocol::tdap::client::count *arg1 = (bzs::db::protocol::tdap::client::count *) 0 ;
28454
- void *argp1 = 0 ;
29265
+ _wrap_new_last__SWIG_0(int argc, VALUE *argv, VALUE self) {
29266
+ bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
29267
+ _TCHAR *arg2 = (_TCHAR *) 0 ;
29268
+ void *argp1 ;
28455
29269
  int res1 = 0 ;
28456
- bzs::db::protocol::tdap::client::groupFuncBase *result = 0 ;
28457
- VALUE vresult = Qnil;
29270
+ int res2 ;
29271
+ char *buf2 = 0 ;
29272
+ int alloc2 = 0 ;
29273
+ bzs::db::protocol::tdap::client::last *result = 0 ;
28458
29274
 
28459
- if ((argc < 0) || (argc > 0)) {
28460
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29275
+ if ((argc < 2) || (argc > 2)) {
29276
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
28461
29277
  }
28462
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__count, 0 | 0 );
29278
+ res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0 );
28463
29279
  if (!SWIG_IsOK(res1)) {
28464
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::count *","clone", 1, self ));
29280
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","last", 1, argv[0] ));
29281
+ }
29282
+ if (!argp1) {
29283
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","last", 1, argv[0]));
29284
+ }
29285
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldNames * >(argp1);
29286
+ res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
29287
+ if (!SWIG_IsOK(res2)) {
29288
+ SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_TCHAR const *","last", 2, argv[1] ));
28465
29289
  }
28466
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::count * >(argp1);
29290
+ arg2 = reinterpret_cast< _TCHAR * >(buf2);
28467
29291
  {
28468
29292
  try {
28469
- result = (bzs::db::protocol::tdap::client::groupFuncBase *)(arg1)->clone();
29293
+ result = (bzs::db::protocol::tdap::client::last *)new_bzs_db_protocol_tdap_client_last__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1,(char const *)arg2);
29294
+ DATA_PTR(self) = result;
28470
29295
  } catch (bzs::rtl::exception& e) {
28471
29296
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28472
29297
  rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
@@ -28475,23 +29300,24 @@ _wrap_count_clone(int argc, VALUE *argv, VALUE self) {
28475
29300
  rb_raise(cpp_std_error, e.what());
28476
29301
  }
28477
29302
  }
28478
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, SWIG_POINTER_OWN | 0 );
28479
- return vresult;
29303
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
29304
+ return self;
28480
29305
  fail:
29306
+ if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
28481
29307
  return Qnil;
28482
29308
  }
28483
29309
 
28484
29310
 
28485
29311
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
28486
29312
  SWIGINTERN VALUE
28487
- _wrap_count_allocate(VALUE self) {
29313
+ _wrap_last_allocate(VALUE self) {
28488
29314
  #else
28489
29315
  SWIGINTERN VALUE
28490
- _wrap_count_allocate(int argc, VALUE *argv, VALUE self) {
29316
+ _wrap_last_allocate(int argc, VALUE *argv, VALUE self) {
28491
29317
  #endif
28492
29318
 
28493
29319
 
28494
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__count);
29320
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_bzs__db__protocol__tdap__client__last);
28495
29321
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
28496
29322
  rb_obj_call_init(vresult, argc, argv);
28497
29323
  #endif
@@ -28500,24 +29326,26 @@ _wrap_count_allocate(VALUE self) {
28500
29326
 
28501
29327
 
28502
29328
  SWIGINTERN VALUE
28503
- _wrap_new_count(int argc, VALUE *argv, VALUE self) {
28504
- _TCHAR *arg1 = (_TCHAR *) 0 ;
28505
- int res1 ;
28506
- char *buf1 = 0 ;
28507
- int alloc1 = 0 ;
28508
- bzs::db::protocol::tdap::client::count *result = 0 ;
29329
+ _wrap_new_last__SWIG_1(int argc, VALUE *argv, VALUE self) {
29330
+ bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
29331
+ void *argp1 ;
29332
+ int res1 = 0 ;
29333
+ bzs::db::protocol::tdap::client::last *result = 0 ;
28509
29334
 
28510
29335
  if ((argc < 1) || (argc > 1)) {
28511
29336
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
28512
29337
  }
28513
- res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
29338
+ res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0 );
28514
29339
  if (!SWIG_IsOK(res1)) {
28515
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_TCHAR const *","count", 1, argv[0] ));
29340
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::fieldNames const &","last", 1, argv[0] ));
28516
29341
  }
28517
- arg1 = reinterpret_cast< _TCHAR * >(buf1);
29342
+ if (!argp1) {
29343
+ SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bzs::db::protocol::tdap::client::fieldNames const &","last", 1, argv[0]));
29344
+ }
29345
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::fieldNames * >(argp1);
28518
29346
  {
28519
29347
  try {
28520
- result = (bzs::db::protocol::tdap::client::count *)new_bzs_db_protocol_tdap_client_count((char const *)arg1);
29348
+ result = (bzs::db::protocol::tdap::client::last *)new_bzs_db_protocol_tdap_client_last__SWIG_0((bzs::db::protocol::tdap::client::fieldNames const &)*arg1);
28521
29349
  DATA_PTR(self) = result;
28522
29350
  } catch (bzs::rtl::exception& e) {
28523
29351
  static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
@@ -28527,67 +29355,66 @@ _wrap_new_count(int argc, VALUE *argv, VALUE self) {
28527
29355
  rb_raise(cpp_std_error, e.what());
28528
29356
  }
28529
29357
  }
28530
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
28531
29358
  return self;
28532
29359
  fail:
28533
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
28534
29360
  return Qnil;
28535
29361
  }
28536
29362
 
28537
29363
 
28538
- SWIGINTERN void delete_bzs_db_protocol_tdap_client_count(bzs::db::protocol::tdap::client::count *self){
28539
- self->release();
28540
- }
28541
- SWIGINTERN void
28542
- free_bzs_db_protocol_tdap_client_count(bzs::db::protocol::tdap::client::count *arg1) {
28543
- delete_bzs_db_protocol_tdap_client_count(arg1);
28544
- }
28545
-
28546
- static swig_class SwigClassAvg;
28547
-
28548
-
28549
- /*
28550
- Document-method: Transactd::avg.clone
28551
-
28552
- call-seq:
28553
- clone -> groupFuncBase
28554
-
28555
- Create a duplicate of the class.
28556
- */
28557
- SWIGINTERN VALUE
28558
- _wrap_avg_clone(int argc, VALUE *argv, VALUE self) {
28559
- bzs::db::protocol::tdap::client::avg *arg1 = (bzs::db::protocol::tdap::client::avg *) 0 ;
28560
- void *argp1 = 0 ;
28561
- int res1 = 0 ;
28562
- bzs::db::protocol::tdap::client::groupFuncBase *result = 0 ;
28563
- VALUE vresult = Qnil;
29364
+ SWIGINTERN VALUE _wrap_new_last(int nargs, VALUE *args, VALUE self) {
29365
+ int argc;
29366
+ VALUE argv[2];
29367
+ int ii;
28564
29368
 
28565
- if ((argc < 0) || (argc > 0)) {
28566
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
29369
+ argc = nargs;
29370
+ if (argc > 2) SWIG_fail;
29371
+ for (ii = 0; (ii < argc); ++ii) {
29372
+ argv[ii] = args[ii];
28567
29373
  }
28568
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__avg, 0 | 0 );
28569
- if (!SWIG_IsOK(res1)) {
28570
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::avg *","clone", 1, self ));
29374
+ if (argc == 1) {
29375
+ int _v;
29376
+ void *vptr = 0;
29377
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0);
29378
+ _v = SWIG_CheckState(res);
29379
+ if (_v) {
29380
+ return _wrap_new_last__SWIG_1(nargs, args, self);
29381
+ }
28571
29382
  }
28572
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::avg * >(argp1);
28573
- {
28574
- try {
28575
- result = (bzs::db::protocol::tdap::client::groupFuncBase *)(arg1)->clone();
28576
- } catch (bzs::rtl::exception& e) {
28577
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28578
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28579
- } catch (std::exception &e) {
28580
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28581
- rb_raise(cpp_std_error, e.what());
29383
+ if (argc == 2) {
29384
+ int _v;
29385
+ void *vptr = 0;
29386
+ int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldNames, 0);
29387
+ _v = SWIG_CheckState(res);
29388
+ if (_v) {
29389
+ int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
29390
+ _v = SWIG_CheckState(res);
29391
+ if (_v) {
29392
+ return _wrap_new_last__SWIG_0(nargs, args, self);
29393
+ }
28582
29394
  }
28583
29395
  }
28584
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, SWIG_POINTER_OWN | 0 );
28585
- return vresult;
29396
+
28586
29397
  fail:
29398
+ Ruby_Format_OverloadedError( argc, 2, "last.new",
29399
+ " last.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames, _TCHAR const *resultName)\n"
29400
+ " last.new(bzs::db::protocol::tdap::client::fieldNames const &targetNames)\n");
29401
+
28587
29402
  return Qnil;
28588
29403
  }
28589
29404
 
28590
29405
 
29406
+ SWIGINTERN void delete_bzs_db_protocol_tdap_client_last(bzs::db::protocol::tdap::client::last *self){
29407
+ self->release();
29408
+ }
29409
+ SWIGINTERN void
29410
+ free_bzs_db_protocol_tdap_client_last(bzs::db::protocol::tdap::client::last *arg1) {
29411
+ delete_bzs_db_protocol_tdap_client_last(arg1);
29412
+ }
29413
+
29414
+
29415
+ static swig_class SwigClassAvg;
29416
+
29417
+
28591
29418
  SWIGINTERN VALUE
28592
29419
  _wrap_new_avg__SWIG_0(int argc, VALUE *argv, VALUE self) {
28593
29420
  bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
@@ -28741,48 +29568,6 @@ free_bzs_db_protocol_tdap_client_avg(bzs::db::protocol::tdap::client::avg *arg1)
28741
29568
  static swig_class SwigClassMin;
28742
29569
 
28743
29570
 
28744
- /*
28745
- Document-method: Transactd::min.clone
28746
-
28747
- call-seq:
28748
- clone -> groupFuncBase
28749
-
28750
- Create a duplicate of the class.
28751
- */
28752
- SWIGINTERN VALUE
28753
- _wrap_min_clone(int argc, VALUE *argv, VALUE self) {
28754
- bzs::db::protocol::tdap::client::min *arg1 = (bzs::db::protocol::tdap::client::min *) 0 ;
28755
- void *argp1 = 0 ;
28756
- int res1 = 0 ;
28757
- bzs::db::protocol::tdap::client::groupFuncBase *result = 0 ;
28758
- VALUE vresult = Qnil;
28759
-
28760
- if ((argc < 0) || (argc > 0)) {
28761
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28762
- }
28763
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__min, 0 | 0 );
28764
- if (!SWIG_IsOK(res1)) {
28765
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::min *","clone", 1, self ));
28766
- }
28767
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::min * >(argp1);
28768
- {
28769
- try {
28770
- result = (bzs::db::protocol::tdap::client::groupFuncBase *)(arg1)->clone();
28771
- } catch (bzs::rtl::exception& e) {
28772
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28773
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28774
- } catch (std::exception &e) {
28775
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28776
- rb_raise(cpp_std_error, e.what());
28777
- }
28778
- }
28779
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, SWIG_POINTER_OWN | 0 );
28780
- return vresult;
28781
- fail:
28782
- return Qnil;
28783
- }
28784
-
28785
-
28786
29571
  SWIGINTERN VALUE
28787
29572
  _wrap_new_min__SWIG_0(int argc, VALUE *argv, VALUE self) {
28788
29573
  bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
@@ -28936,48 +29721,6 @@ free_bzs_db_protocol_tdap_client_min(bzs::db::protocol::tdap::client::min *arg1)
28936
29721
  static swig_class SwigClassMax;
28937
29722
 
28938
29723
 
28939
- /*
28940
- Document-method: Transactd::max.clone
28941
-
28942
- call-seq:
28943
- clone -> groupFuncBase
28944
-
28945
- Create a duplicate of the class.
28946
- */
28947
- SWIGINTERN VALUE
28948
- _wrap_max_clone(int argc, VALUE *argv, VALUE self) {
28949
- bzs::db::protocol::tdap::client::max *arg1 = (bzs::db::protocol::tdap::client::max *) 0 ;
28950
- void *argp1 = 0 ;
28951
- int res1 = 0 ;
28952
- bzs::db::protocol::tdap::client::groupFuncBase *result = 0 ;
28953
- VALUE vresult = Qnil;
28954
-
28955
- if ((argc < 0) || (argc > 0)) {
28956
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
28957
- }
28958
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__max, 0 | 0 );
28959
- if (!SWIG_IsOK(res1)) {
28960
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::max *","clone", 1, self ));
28961
- }
28962
- arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::max * >(argp1);
28963
- {
28964
- try {
28965
- result = (bzs::db::protocol::tdap::client::groupFuncBase *)(arg1)->clone();
28966
- } catch (bzs::rtl::exception& e) {
28967
- static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
28968
- rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
28969
- } catch (std::exception &e) {
28970
- static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
28971
- rb_raise(cpp_std_error, e.what());
28972
- }
28973
- }
28974
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase, SWIG_POINTER_OWN | 0 );
28975
- return vresult;
28976
- fail:
28977
- return Qnil;
28978
- }
28979
-
28980
-
28981
29724
  SWIGINTERN VALUE
28982
29725
  _wrap_new_max__SWIG_0(int argc, VALUE *argv, VALUE self) {
28983
29726
  bzs::db::protocol::tdap::client::fieldNames *arg1 = 0 ;
@@ -31197,6 +31940,44 @@ fail:
31197
31940
  }
31198
31941
 
31199
31942
 
31943
+ SWIGINTERN VALUE _wrap_activeTable_readMore(int nargs, VALUE *args, VALUE self) {
31944
+ bzs::db::protocol::tdap::client::activeTable *arg1 = 0x00 ;
31945
+ bzs::db::protocol::tdap::client::recordset *result = 0 ;
31946
+ void *argp1 = 0 ;
31947
+ int res1 = 0 ;
31948
+
31949
+ VALUE vresult = Qnil;
31950
+
31951
+ if (nargs != 0) SWIG_fail;
31952
+
31953
+ //Get activeTable ptr
31954
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_bzs__db__protocol__tdap__client__activeTable, 0 | 0 );
31955
+ if (!SWIG_IsOK(res1)) {
31956
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "bzs::db::protocol::tdap::client::activeTable *","readMore", 1, self ));
31957
+ }
31958
+ arg1 = reinterpret_cast< bzs::db::protocol::tdap::client::activeTable * >(argp1);
31959
+
31960
+ {
31961
+ try {
31962
+ result = recordset::create();
31963
+ arg1->readMore(*result);
31964
+ } catch (bzs::rtl::exception& e) {
31965
+ static VALUE bzs_rtl_error = rb_define_class("BZS_RTL_Error", rb_eStandardError);
31966
+ rb_raise(bzs_rtl_error, (* bzs::rtl::getMsg(e)).c_str());
31967
+ } catch (std::exception &e) {
31968
+ static VALUE cpp_std_error = rb_define_class("CPP_STD_Error", rb_eStandardError);
31969
+ rb_raise(cpp_std_error, e.what());
31970
+ }
31971
+ }
31972
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_bzs__db__protocol__tdap__client__recordset, SWIG_POINTER_OWN | 0 );
31973
+ return vresult;
31974
+ fail:
31975
+ Ruby_Format_OverloadedError( nargs+1, 11, "readMore", " bzs::db::protocol::tdap::client::activeTable & readMore ");
31976
+ return Qnil;
31977
+
31978
+ }
31979
+
31980
+
31200
31981
  SWIGINTERN VALUE
31201
31982
  _wrap_activeTable_prepare__SWIG_0(int argc, VALUE *argv, VALUE self) {
31202
31983
  bzs::db::protocol::tdap::client::activeTable *arg1 = (bzs::db::protocol::tdap::client::activeTable *) 0 ;
@@ -32703,6 +33484,12 @@ static void *_p_bzs__db__protocol__tdap__client__sumTo_p_bzs__db__protocol__tdap
32703
33484
  static void *_p_bzs__db__protocol__tdap__client__countTo_p_bzs__db__protocol__tdap__client__groupFuncBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
32704
33485
  return (void *)((bzs::db::protocol::tdap::client::groupFuncBase *) ((bzs::db::protocol::tdap::client::count *) x));
32705
33486
  }
33487
+ static void *_p_bzs__db__protocol__tdap__client__lastTo_p_bzs__db__protocol__tdap__client__groupFuncBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
33488
+ return (void *)((bzs::db::protocol::tdap::client::groupFuncBase *) ((bzs::db::protocol::tdap::client::last *) x));
33489
+ }
33490
+ static void *_p_bzs__db__protocol__tdap__client__firstTo_p_bzs__db__protocol__tdap__client__groupFuncBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
33491
+ return (void *)((bzs::db::protocol::tdap::client::groupFuncBase *) ((bzs::db::protocol::tdap::client::first *) x));
33492
+ }
32706
33493
  static void *_p_bzs__db__protocol__tdap__client__memoryRecordTo_p_bzs__db__protocol__tdap__client__fieldsBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
32707
33494
  return (void *)((bzs::db::protocol::tdap::client::fieldsBase *) ((bzs::db::protocol::tdap::client::memoryRecord *) x));
32708
33495
  }
@@ -32769,6 +33556,13 @@ static void *_p_bzs__db__protocol__tdap__client__groupFuncBaseTo_p_bzs__db__prot
32769
33556
  static void *_p_bzs__db__protocol__tdap__client__countTo_p_bzs__db__protocol__tdap__client__recordsetQuery(void *x, int *SWIGUNUSEDPARM(newmemory)) {
32770
33557
  return (void *)((bzs::db::protocol::tdap::client::recordsetQuery *) (bzs::db::protocol::tdap::client::groupFuncBase *) ((bzs::db::protocol::tdap::client::count *) x));
32771
33558
  }
33559
+ static void *_p_bzs__db__protocol__tdap__client__lastTo_p_bzs__db__protocol__tdap__client__recordsetQuery(void *x, int *SWIGUNUSEDPARM(newmemory)) {
33560
+ return (void *)((bzs::db::protocol::tdap::client::recordsetQuery *) (bzs::db::protocol::tdap::client::groupFuncBase *) ((bzs::db::protocol::tdap::client::last *) x));
33561
+ }
33562
+ static void *_p_bzs__db__protocol__tdap__client__firstTo_p_bzs__db__protocol__tdap__client__recordsetQuery(void *x, int *SWIGUNUSEDPARM(newmemory)) {
33563
+ return (void *)((bzs::db::protocol::tdap::client::recordsetQuery *) (bzs::db::protocol::tdap::client::groupFuncBase *) ((bzs::db::protocol::tdap::client::first *) x));
33564
+ }
33565
+
32772
33566
  static swig_type_info _swigt__p_HWND = {"_p_HWND", "HWND *", 0, 0, (void*)0, 0};
32773
33567
  static swig_type_info _swigt__p_boost__functionT_int_fbzs__db__protocol__tdap__client__fields_const_RF_t = {"_p_boost__functionT_int_fbzs__db__protocol__tdap__client__fields_const_RF_t", "boost::function< int (bzs::db::protocol::tdap::client::fields const &) > *|bzs::db::protocol::tdap::client::validationFunc *", 0, 0, (void*)0, 0};
32774
33568
  static swig_type_info _swigt__p_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t = {"_p_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t", "boost::shared_ptr< bzs::db::protocol::tdap::client::database > *|bzs::db::protocol::tdap::client::database_ptr *", 0, 0, (void*)0, 0};
@@ -32801,9 +33595,11 @@ static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__filterdIterator
32801
33595
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_indexRvNavi_t_t = {"_p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_indexRvNavi_t_t", "bzs::db::protocol::tdap::client::filterdIterator< bzs::db::protocol::tdap::client::tableIterator< indexRvNavi > > *|bzs::db::protocol::tdap::client::filterdIndexRvIterator *", 0, 0, (void*)0, 0};
32802
33596
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepNavi_t_t = {"_p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepNavi_t_t", "bzs::db::protocol::tdap::client::filterdIterator< bzs::db::protocol::tdap::client::tableIterator< stepNavi > > *|bzs::db::protocol::tdap::client::filterdStepIterator *", 0, 0, (void*)0, 0};
32803
33597
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepRvNavi_t_t = {"_p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepRvNavi_t_t", "bzs::db::protocol::tdap::client::filterdIterator< bzs::db::protocol::tdap::client::tableIterator< stepRvNavi > > *|bzs::db::protocol::tdap::client::filterdStepRvIterator *", 0, 0, (void*)0, 0};
33598
+ static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__first = {"_p_bzs__db__protocol__tdap__client__first", "bzs::db::protocol::tdap::client::first *", 0, 0, (void*)0, 0};
32804
33599
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__groupFuncBase = {"_p_bzs__db__protocol__tdap__client__groupFuncBase", "bzs::db::protocol::tdap::client::groupFuncBase *", 0, 0, (void*)0, 0};
32805
33600
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__groupQuery = {"_p_bzs__db__protocol__tdap__client__groupQuery", "bzs::db::protocol::tdap::client::groupQuery *", 0, 0, (void*)0, 0};
32806
33601
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__idatabaseManager = {"_p_bzs__db__protocol__tdap__client__idatabaseManager", "bzs::db::protocol::tdap::client::idatabaseManager *", 0, 0, (void*)0, 0};
33602
+ static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__last = {"_p_bzs__db__protocol__tdap__client__last", "bzs::db::protocol::tdap::client::last *", 0, 0, (void*)0, 0};
32807
33603
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__max = {"_p_bzs__db__protocol__tdap__client__max", "bzs::db::protocol::tdap::client::max *", 0, 0, (void*)0, 0};
32808
33604
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__memoryRecord = {"_p_bzs__db__protocol__tdap__client__memoryRecord", "bzs::db::protocol::tdap::client::memoryRecord *", 0, 0, (void*)0, 0};
32809
33605
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__min = {"_p_bzs__db__protocol__tdap__client__min", "bzs::db::protocol::tdap::client::min *", 0, 0, (void*)0, 0};
@@ -32819,6 +33615,7 @@ static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__refarymem = {"_
32819
33615
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__autoMemory = {"_p_bzs__db__protocol__tdap__client__autoMemory", 0, 0, 0, 0, 0};
32820
33616
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__snapshotT_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t_t = {"_p_bzs__db__protocol__tdap__client__snapshotT_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t_t", "bzs::db::protocol::tdap::client::dbSnapshot *|bzs::db::protocol::tdap::client::snapshot< boost::shared_ptr< bzs::db::protocol::tdap::client::database > > *", 0, 0, (void*)0, 0};
32821
33617
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__snapshotT_bzs__db__protocol__tdap__client__idatabaseManager_p_t = {"_p_bzs__db__protocol__tdap__client__snapshotT_bzs__db__protocol__tdap__client__idatabaseManager_p_t", "bzs::db::protocol::tdap::client::snapshot< bzs::db::protocol::tdap::client::idatabaseManager * > *|bzs::db::protocol::tdap::client::dbmSnapshot *", 0, 0, (void*)0, 0};
33618
+ static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__sortField = {"_p_bzs__db__protocol__tdap__client__sortField", "bzs::db::protocol::tdap::client::sortField *", 0, 0, (void*)0, 0};
32822
33619
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__sortFields = {"_p_bzs__db__protocol__tdap__client__sortFields", "bzs::db::protocol::tdap::client::sortFields *", 0, 0, (void*)0, 0};
32823
33620
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__sum = {"_p_bzs__db__protocol__tdap__client__sum", "bzs::db::protocol::tdap::client::sum *", 0, 0, (void*)0, 0};
32824
33621
  static swig_type_info _swigt__p_bzs__db__protocol__tdap__client__table = {"_p_bzs__db__protocol__tdap__client__table", "bzs::db::protocol::tdap::client::table *", 0, 0, (void*)0, 0};
@@ -32909,6 +33706,7 @@ static swig_type_info *swig_type_initial[] = {
32909
33706
  &_swigt__p_bzs__db__protocol__tdap__client__refarymem,
32910
33707
  &_swigt__p_bzs__db__protocol__tdap__client__snapshotT_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t_t,
32911
33708
  &_swigt__p_bzs__db__protocol__tdap__client__snapshotT_bzs__db__protocol__tdap__client__idatabaseManager_p_t,
33709
+ &_swigt__p_bzs__db__protocol__tdap__client__sortField,
32912
33710
  &_swigt__p_bzs__db__protocol__tdap__client__sortFields,
32913
33711
  &_swigt__p_bzs__db__protocol__tdap__client__sum,
32914
33712
  &_swigt__p_bzs__db__protocol__tdap__client__table,
@@ -32947,6 +33745,8 @@ static swig_type_info *swig_type_initial[] = {
32947
33745
  &_swigt__p_unsigned_short,
32948
33746
  &_swigt__p_value_type,
32949
33747
  &_swigt__p_void,
33748
+ &_swigt__p_bzs__db__protocol__tdap__client__last,
33749
+ &_swigt__p_bzs__db__protocol__tdap__client__first,
32950
33750
  };
32951
33751
 
32952
33752
  static swig_cast_info _swigc__p_HWND[] = { {&_swigt__p_HWND, 0, 0, 0},{0, 0, 0, 0}};
@@ -32981,9 +33781,11 @@ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__filterdIterator
32981
33781
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_indexRvNavi_t_t[] = { {&_swigt__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_indexRvNavi_t_t, 0, 0, 0},{0, 0, 0, 0}};
32982
33782
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepNavi_t_t[] = { {&_swigt__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepNavi_t_t, 0, 0, 0},{0, 0, 0, 0}};
32983
33783
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepRvNavi_t_t[] = { {&_swigt__p_bzs__db__protocol__tdap__client__filterdIteratorT_bzs__db__protocol__tdap__client__tableIteratorT_stepRvNavi_t_t, 0, 0, 0},{0, 0, 0, 0}};
32984
- static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__groupFuncBase[] = { {&_swigt__p_bzs__db__protocol__tdap__client__sum, _p_bzs__db__protocol__tdap__client__sumTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, _p_bzs__db__protocol__tdap__client__countTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, _p_bzs__db__protocol__tdap__client__maxTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, _p_bzs__db__protocol__tdap__client__avgTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, _p_bzs__db__protocol__tdap__client__minTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0, 0},{0, 0, 0, 0}};
33784
+ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__first[] = { {&_swigt__p_bzs__db__protocol__tdap__client__first, 0, 0, 0},{0, 0, 0, 0}};
33785
+ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__groupFuncBase[] = { {&_swigt__p_bzs__db__protocol__tdap__client__sum, _p_bzs__db__protocol__tdap__client__sumTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, _p_bzs__db__protocol__tdap__client__countTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, _p_bzs__db__protocol__tdap__client__maxTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, _p_bzs__db__protocol__tdap__client__avgTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, _p_bzs__db__protocol__tdap__client__minTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__last, _p_bzs__db__protocol__tdap__client__lastTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__first, _p_bzs__db__protocol__tdap__client__firstTo_p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0, 0},{0, 0, 0, 0}};
32985
33786
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__groupQuery[] = { {&_swigt__p_bzs__db__protocol__tdap__client__groupQuery, 0, 0, 0},{0, 0, 0, 0}};
32986
33787
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__idatabaseManager[] = { {&_swigt__p_bzs__db__protocol__tdap__client__idatabaseManager, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__pooledDbManager, _p_bzs__db__protocol__tdap__client__pooledDbManagerTo_p_bzs__db__protocol__tdap__client__idatabaseManager, 0, 0},{0, 0, 0, 0}};
33788
+ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__last[] = { {&_swigt__p_bzs__db__protocol__tdap__client__last, 0, 0, 0},{0, 0, 0, 0}};
32987
33789
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__max[] = { {&_swigt__p_bzs__db__protocol__tdap__client__max, 0, 0, 0},{0, 0, 0, 0}};
32988
33790
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__memoryRecord[] = { {&_swigt__p_bzs__db__protocol__tdap__client__memoryRecord, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__writableRecord, _p_bzs__db__protocol__tdap__client__writableRecordTo_p_bzs__db__protocol__tdap__client__memoryRecord, 0, 0},{0, 0, 0, 0}};
32989
33791
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__min[] = { {&_swigt__p_bzs__db__protocol__tdap__client__min, 0, 0, 0},{0, 0, 0, 0}};
@@ -32994,11 +33796,12 @@ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__preparedQuery[]
32994
33796
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__query[] = { {&_swigt__p_bzs__db__protocol__tdap__client__recordsetQuery, _p_bzs__db__protocol__tdap__client__recordsetQueryTo_p_bzs__db__protocol__tdap__client__query, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__sum, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__query, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0, 0},{0, 0, 0, 0}};
32995
33797
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__queryBase[] = { {&_swigt__p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__sum, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__query, _p_bzs__db__protocol__tdap__client__queryTo_p_bzs__db__protocol__tdap__client__queryBase, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__queryBase, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, 0, 0, 0},{0, 0, 0, 0}};
32996
33798
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__recordset[] = { {&_swigt__p_bzs__db__protocol__tdap__client__recordset, 0, 0, 0},{0, 0, 0, 0}};
32997
- static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__recordsetQuery[] = { {&_swigt__p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__sum, _p_bzs__db__protocol__tdap__client__sumTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, _p_bzs__db__protocol__tdap__client__countTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, _p_bzs__db__protocol__tdap__client__maxTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, _p_bzs__db__protocol__tdap__client__avgTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, _p_bzs__db__protocol__tdap__client__minTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, _p_bzs__db__protocol__tdap__client__groupFuncBaseTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0},{0, 0, 0, 0}};
33799
+ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__recordsetQuery[] = { {&_swigt__p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__sum, _p_bzs__db__protocol__tdap__client__sumTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__count, _p_bzs__db__protocol__tdap__client__countTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, _p_bzs__db__protocol__tdap__client__maxTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, _p_bzs__db__protocol__tdap__client__avgTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, _p_bzs__db__protocol__tdap__client__minTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__last, _p_bzs__db__protocol__tdap__client__lastTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__first, _p_bzs__db__protocol__tdap__client__firstTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__groupFuncBase, _p_bzs__db__protocol__tdap__client__groupFuncBaseTo_p_bzs__db__protocol__tdap__client__recordsetQuery, 0, 0},{0, 0, 0, 0}};
32998
33800
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__autoMemory[] = {{&_swigt__p_bzs__db__protocol__tdap__client__autoMemory, 0, 0, 0},{0, 0, 0, 0}};
32999
33801
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__refarymem[] = { {&_swigt__p_bzs__db__protocol__tdap__client__refarymem, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__fieldsBase, _p_bzs__db__protocol__tdap__client__fieldsBaseTo_p_bzs__db__protocol__tdap__client__refarymem, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__memoryRecord, _p_bzs__db__protocol__tdap__client__memoryRecordTo_p_bzs__db__protocol__tdap__client__refarymem, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__writableRecord, _p_bzs__db__protocol__tdap__client__writableRecordTo_p_bzs__db__protocol__tdap__client__refarymem, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__autoMemory, _p_bzs__db__protocol__tdap__client__autoMemoryTo_p_bzs__db__protocol__tdap__client__refarymem, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__fields, _p_bzs__db__protocol__tdap__client__fieldsTo_p_bzs__db__protocol__tdap__client__refarymem, 0, 0},{0, 0, 0, 0}};
33000
33802
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__snapshotT_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t_t[] = { {&_swigt__p_bzs__db__protocol__tdap__client__snapshotT_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t_t, 0, 0, 0},{0, 0, 0, 0}};
33001
33803
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__snapshotT_bzs__db__protocol__tdap__client__idatabaseManager_p_t[] = { {&_swigt__p_bzs__db__protocol__tdap__client__snapshotT_bzs__db__protocol__tdap__client__idatabaseManager_p_t, 0, 0, 0},{0, 0, 0, 0}};
33804
+ static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__sortField[] = { {&_swigt__p_bzs__db__protocol__tdap__client__sortField, 0, 0, 0},{0, 0, 0, 0}};
33002
33805
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__sortFields[] = { {&_swigt__p_bzs__db__protocol__tdap__client__sortFields, 0, 0, 0},{0, 0, 0, 0}};
33003
33806
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__sum[] = { {&_swigt__p_bzs__db__protocol__tdap__client__sum, 0, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__max, _p_bzs__db__protocol__tdap__client__maxTo_p_bzs__db__protocol__tdap__client__sum, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__avg, _p_bzs__db__protocol__tdap__client__avgTo_p_bzs__db__protocol__tdap__client__sum, 0, 0}, {&_swigt__p_bzs__db__protocol__tdap__client__min, _p_bzs__db__protocol__tdap__client__minTo_p_bzs__db__protocol__tdap__client__sum, 0, 0},{0, 0, 0, 0}};
33004
33807
  static swig_cast_info _swigc__p_bzs__db__protocol__tdap__client__table[] = { {&_swigt__p_bzs__db__protocol__tdap__client__table, 0, 0, 0},{0, 0, 0, 0}};
@@ -33038,6 +33841,8 @@ static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short
33038
33841
  static swig_cast_info _swigc__p_value_type[] = { {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
33039
33842
  static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
33040
33843
 
33844
+
33845
+
33041
33846
  static swig_cast_info *swig_cast_initial[] = {
33042
33847
  _swigc__p_HWND,
33043
33848
  _swigc__p_boost__functionT_int_fbzs__db__protocol__tdap__client__fields_const_RF_t,
@@ -33089,6 +33894,7 @@ static swig_cast_info *swig_cast_initial[] = {
33089
33894
  _swigc__p_bzs__db__protocol__tdap__client__refarymem,
33090
33895
  _swigc__p_bzs__db__protocol__tdap__client__snapshotT_boost__shared_ptrT_bzs__db__protocol__tdap__client__database_t_t,
33091
33896
  _swigc__p_bzs__db__protocol__tdap__client__snapshotT_bzs__db__protocol__tdap__client__idatabaseManager_p_t,
33897
+ _swigc__p_bzs__db__protocol__tdap__client__sortField,
33092
33898
  _swigc__p_bzs__db__protocol__tdap__client__sortFields,
33093
33899
  _swigc__p_bzs__db__protocol__tdap__client__sum,
33094
33900
  _swigc__p_bzs__db__protocol__tdap__client__table,
@@ -33127,6 +33933,8 @@ static swig_cast_info *swig_cast_initial[] = {
33127
33933
  _swigc__p_unsigned_short,
33128
33934
  _swigc__p_value_type,
33129
33935
  _swigc__p_void,
33936
+ _swigc__p_bzs__db__protocol__tdap__client__last,
33937
+ _swigc__p_bzs__db__protocol__tdap__client__first,
33130
33938
  };
33131
33939
 
33132
33940
 
@@ -33579,6 +34387,12 @@ SWIGEXPORT void Init_transactd(void) {
33579
34387
  rb_define_const(mTransactd, "ERROR_TD_HOSTNAME_NOT_FOUND", SWIG_From_int(static_cast< int >(ERROR_TD_HOSTNAME_NOT_FOUND)));
33580
34388
  rb_define_const(mTransactd, "ERROR_TD_CONNECTION_FAILURE", SWIG_From_int(static_cast< int >(ERROR_TD_CONNECTION_FAILURE)));
33581
34389
  rb_define_const(mTransactd, "ERROR_TD_NOT_CONNECTED", SWIG_From_int(static_cast< int >(ERROR_TD_NOT_CONNECTED)));
34390
+ rb_define_const(mTransactd, "ERROR_TD_NET_TIMEOUT", SWIG_From_int(static_cast< int >(ERROR_TD_NET_TIMEOUT)));
34391
+ rb_define_const(mTransactd, "ERROR_TD_NET_REMOTE_DISCONNECT", SWIG_From_int(static_cast< int >(ERROR_TD_NET_REMOTE_DISCONNECT)));
34392
+ rb_define_const(mTransactd, "ERROR_TD_NET_TOO_BIGDATA", SWIG_From_int(static_cast< int >(ERROR_TD_NET_TOO_BIGDATA)));
34393
+ rb_define_const(mTransactd, "ERROR_TD_NET_OTHER", SWIG_From_int(static_cast< int >(ERROR_TD_NET_OTHER)));
34394
+ rb_define_const(mTransactd, "ERROR_TD_C_CLIENT_UNKNOWN", SWIG_From_int(static_cast< int >(ERROR_TD_C_CLIENT_UNKNOWN)));
34395
+ rb_define_const(mTransactd, "ERROR_TD_RECONNECTED", SWIG_From_int(static_cast< int >(ERROR_TD_RECONNECTED)));
33582
34396
  rb_define_const(mTransactd, "TRANSACTD_SCHEMANAME", SWIG_FromCharPtr(TRANSACTD_SCHEMANAME));
33583
34397
  rb_define_const(mTransactd, "TYPE_SCHEMA_BDF", SWIG_From_int(static_cast< int >(TYPE_SCHEMA_BDF)));
33584
34398
  rb_define_const(mTransactd, "TYPE_SCHEMA_DDF", SWIG_From_int(static_cast< int >(TYPE_SCHEMA_DDF)));
@@ -33727,6 +34541,9 @@ SWIGEXPORT void Init_transactd(void) {
33727
34541
  rb_define_method(SwigClassFielddef.klass, "varLenBytes", VALUEFUNC(_wrap_fielddef_varLenBytes), -1);
33728
34542
  rb_define_method(SwigClassFielddef.klass, "blobLenBytes", VALUEFUNC(_wrap_fielddef_blobLenBytes), -1);
33729
34543
  rb_define_method(SwigClassFielddef.klass, "name", VALUEFUNC(_wrap_fielddef_name), -1);
34544
+ rb_define_method(SwigClassFielddef.klass, "trimPadChar", VALUEFUNC(_wrap_fielddef_trimPadChar), -1);
34545
+ rb_define_method(SwigClassFielddef.klass, "usePadChar", VALUEFUNC(_wrap_fielddef_usePadChar), -1);
34546
+ rb_define_method(SwigClassFielddef.klass, "setPadCharSettings", VALUEFUNC(_wrap_fielddef_setPadCharSettings), -1);
33730
34547
  SwigClassFielddef.mark = 0;
33731
34548
  SwigClassFielddef.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_fielddef;
33732
34549
  SwigClassFielddef.trackObjects = 0;
@@ -33925,10 +34742,6 @@ SWIGEXPORT void Init_transactd(void) {
33925
34742
  rb_define_method(SwigClassTable.klass, "blobFieldUsed", VALUEFUNC(_wrap_table_blobFieldUsed), -1);
33926
34743
  rb_define_method(SwigClassTable.klass, "logicalToString", VALUEFUNC(_wrap_table_logicalToString), -1);
33927
34744
  rb_define_method(SwigClassTable.klass, "setLogicalToString", VALUEFUNC(_wrap_table_setLogicalToString), -1);
33928
- rb_define_method(SwigClassTable.klass, "trimPadChar", VALUEFUNC(_wrap_table_trimPadChar), -1);
33929
- rb_define_method(SwigClassTable.klass, "setTrimPadChar", VALUEFUNC(_wrap_table_setTrimPadChar), -1);
33930
- rb_define_method(SwigClassTable.klass, "usePadChar", VALUEFUNC(_wrap_table_usePadChar), -1);
33931
- rb_define_method(SwigClassTable.klass, "setUsePadChar", VALUEFUNC(_wrap_table_setUsePadChar), -1);
33932
34745
  rb_define_method(SwigClassTable.klass, "optionalData", VALUEFUNC(_wrap_table_optionalData), -1);
33933
34746
  rb_define_method(SwigClassTable.klass, "setOptionalData", VALUEFUNC(_wrap_table_setOptionalData), -1);
33934
34747
  rb_define_method(SwigClassTable.klass, "myDateTimeValueByBtrv", VALUEFUNC(_wrap_table_myDateTimeValueByBtrv), -1);
@@ -33942,6 +34755,8 @@ SWIGEXPORT void Init_transactd(void) {
33942
34755
  rb_define_method(SwigClassTable.klass, "findLast", VALUEFUNC(_wrap_table_findLast), -1);
33943
34756
  rb_define_method(SwigClassTable.klass, "findNext", VALUEFUNC(_wrap_table_findNext), -1);
33944
34757
  rb_define_method(SwigClassTable.klass, "findPrev", VALUEFUNC(_wrap_table_findPrev), -1);
34758
+ rb_define_method(SwigClassTable.klass, "statReasonOfFind", VALUEFUNC(_wrap_table_statReasonOfFind), -1);
34759
+ rb_define_method(SwigClassTable.klass, "lastFindDirection", VALUEFUNC(_wrap_table_lastFindDirection), -1);
33945
34760
  rb_define_method(SwigClassTable.klass, "bookmarkFindCurrent", VALUEFUNC(_wrap_table_bookmarkFindCurrent), -1);
33946
34761
  rb_define_method(SwigClassTable.klass, "setFilter", VALUEFUNC(_wrap_table_setFilter), -1);
33947
34762
  rb_define_method(SwigClassTable.klass, "fieldNumByName", VALUEFUNC(_wrap_table_fieldNumByName), -1);
@@ -34000,6 +34815,8 @@ SWIGEXPORT void Init_transactd(void) {
34000
34815
  rb_define_method(SwigClassQueryBase.klass, "getWhereToken", VALUEFUNC(_wrap_queryBase_getWhereToken), -1);
34001
34816
  rb_define_method(SwigClassQueryBase.klass, "setWhereToken", VALUEFUNC(_wrap_queryBase_setWhereToken), -1);
34002
34817
  rb_define_method(SwigClassQueryBase.klass, "reverseAliasName", VALUEFUNC(_wrap_queryBase_reverseAliasName), -1);
34818
+ rb_define_method(SwigClassQueryBase.klass, "stopAtLimit", VALUEFUNC(_wrap_queryBase_stopAtLimit), -1);
34819
+ rb_define_method(SwigClassQueryBase.klass, "isStopAtLimit", VALUEFUNC(_wrap_queryBase_isStopAtLimit), -1);
34003
34820
  SwigClassQueryBase.mark = 0;
34004
34821
  SwigClassQueryBase.trackObjects = 0;
34005
34822
 
@@ -34051,6 +34868,8 @@ SWIGEXPORT void Init_transactd(void) {
34051
34868
  rb_define_method(SwigClassNsdatabase.klass, "readDatabaseDirectory", VALUEFUNC(_wrap_nsdatabase_readDatabaseDirectory), -1);
34052
34869
  rb_define_method(SwigClassNsdatabase.klass, "connect", VALUEFUNC(_wrap_nsdatabase_connect), -1);
34053
34870
  rb_define_method(SwigClassNsdatabase.klass, "disconnect", VALUEFUNC(_wrap_nsdatabase_disconnect), -1);
34871
+ rb_define_method(SwigClassNsdatabase.klass, "disconnectForReconnectTest", VALUEFUNC(_wrap_nsdatabase_disconnectForReconnectTest), -1);
34872
+ rb_define_method(SwigClassNsdatabase.klass, "reconnect", VALUEFUNC(_wrap_nsdatabase_reconnect), -1);
34054
34873
  rb_define_singleton_method(SwigClassNsdatabase.klass, "trnsactionFlushWaitStatus", VALUEFUNC(_wrap_nsdatabase_trnsactionFlushWaitStatus), -1);
34055
34874
  rb_define_singleton_method(SwigClassNsdatabase.klass, "setExecCodePage", VALUEFUNC(_wrap_nsdatabase_setExecCodePage), -1);
34056
34875
  rb_define_singleton_method(SwigClassNsdatabase.klass, "execCodePage", VALUEFUNC(_wrap_nsdatabase_execCodePage), -1);
@@ -34223,6 +35042,7 @@ SWIGEXPORT void Init_transactd(void) {
34223
35042
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__fieldsBase, (void *) &SwigClassRecord);
34224
35043
  rb_undef_alloc_func(SwigClassRecord.klass);
34225
35044
  rb_define_method(SwigClassRecord.klass, "isInvalidRecord", VALUEFUNC(_wrap_Record_isInvalidRecord), -1);
35045
+ rb_define_method(SwigClassRecord.klass, "getField", VALUEFUNC(_wrap_Record_getField), -1);
34226
35046
  rb_define_method(SwigClassRecord.klass, "size", VALUEFUNC(_wrap_Record_size), -1);
34227
35047
  rb_define_method(SwigClassRecord.klass, "indexByName", VALUEFUNC(_wrap_Record_indexByName), -1);
34228
35048
  rb_define_method(SwigClassRecord.klass, "fieldDefs", VALUEFUNC(_wrap_Record_fieldDefs), -1);
@@ -34275,6 +35095,30 @@ SWIGEXPORT void Init_transactd(void) {
34275
35095
  SwigClassFieldNames.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_fieldNames;
34276
35096
  SwigClassFieldNames.trackObjects = 0;
34277
35097
 
35098
+ SwigClassSortField.klass = rb_define_class_under(mTransactd, "SortField", rb_cObject);
35099
+ SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__sortField, (void *) &SwigClassSortField);
35100
+ rb_define_alloc_func(SwigClassSortField.klass, _wrap_sortField_allocate);
35101
+ rb_define_method(SwigClassSortField.klass, "initialize", VALUEFUNC(_wrap_new_sortField), -1);
35102
+ rb_define_method(SwigClassSortField.klass, "name=", VALUEFUNC(_wrap_sortField_name_set), -1);
35103
+ rb_define_method(SwigClassSortField.klass, "name", VALUEFUNC(_wrap_sortField_name_get), -1);
35104
+ rb_define_method(SwigClassSortField.klass, "asc=", VALUEFUNC(_wrap_sortField_asc_set), -1);
35105
+ rb_define_method(SwigClassSortField.klass, "asc", VALUEFUNC(_wrap_sortField_asc_get), -1);
35106
+ SwigClassSortField.mark = 0;
35107
+ SwigClassSortField.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_sortField;
35108
+ SwigClassSortField.trackObjects = 0;
35109
+
35110
+ SwigClassSortFields.klass = rb_define_class_under(mTransactd, "SortFields", rb_cObject);
35111
+ SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__sortFields, (void *) &SwigClassSortFields);
35112
+ rb_define_alloc_func(SwigClassSortFields.klass, _wrap_sortFields_allocate);
35113
+ rb_define_method(SwigClassSortFields.klass, "initialize", VALUEFUNC(_wrap_new_sortFields), -1);
35114
+ rb_define_method(SwigClassSortFields.klass, "add", VALUEFUNC(_wrap_sortFields_add), -1);
35115
+ rb_define_method(SwigClassSortFields.klass, "size", VALUEFUNC(_wrap_sortFields_size), -1);
35116
+ rb_define_method(SwigClassSortFields.klass, "[]", VALUEFUNC(_wrap_sortFields___getitem__), -1);
35117
+ rb_define_method(SwigClassSortFields.klass, "clear", VALUEFUNC(_wrap_sortFields_clear), -1);
35118
+ SwigClassSortFields.mark = 0;
35119
+ SwigClassSortFields.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_sortFields;
35120
+ SwigClassSortFields.trackObjects = 0;
35121
+
34278
35122
  SwigClassRecordsetQuery.klass = rb_define_class_under(mTransactd, "RecordsetQuery", rb_cObject);
34279
35123
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__recordsetQuery, (void *) &SwigClassRecordsetQuery);
34280
35124
  rb_define_alloc_func(SwigClassRecordsetQuery.klass, _wrap_recordsetQuery_allocate);
@@ -34296,7 +35140,6 @@ SWIGEXPORT void Init_transactd(void) {
34296
35140
  rb_define_method(SwigClassGroupFuncBase.klass, "setResultName", VALUEFUNC(_wrap_groupFuncBase_setResultName), -1);
34297
35141
  rb_define_method(SwigClassGroupFuncBase.klass, "resultKey", VALUEFUNC(_wrap_groupFuncBase_resultKey), -1);
34298
35142
  rb_define_method(SwigClassGroupFuncBase.klass, "reset", VALUEFUNC(_wrap_groupFuncBase_reset), -1);
34299
- rb_define_method(SwigClassGroupFuncBase.klass, "result", VALUEFUNC(_wrap_groupFuncBase_result), -1);
34300
35143
  rb_define_method(SwigClassGroupFuncBase.klass, "clone", VALUEFUNC(_wrap_groupFuncBase_clone), -1);
34301
35144
  SwigClassGroupFuncBase.mark = 0;
34302
35145
  SwigClassGroupFuncBase.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_groupFuncBase;
@@ -34320,7 +35163,6 @@ SWIGEXPORT void Init_transactd(void) {
34320
35163
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__sum, (void *) &SwigClassSum);
34321
35164
  rb_define_alloc_func(SwigClassSum.klass, _wrap_sum_allocate);
34322
35165
  rb_define_method(SwigClassSum.klass, "initialize", VALUEFUNC(_wrap_new_sum), -1);
34323
- rb_define_method(SwigClassSum.klass, "clone", VALUEFUNC(_wrap_sum_clone), -1);
34324
35166
  SwigClassSum.mark = 0;
34325
35167
  SwigClassSum.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_sum;
34326
35168
  SwigClassSum.trackObjects = 0;
@@ -34329,16 +35171,30 @@ SWIGEXPORT void Init_transactd(void) {
34329
35171
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__count, (void *) &SwigClassCount);
34330
35172
  rb_define_alloc_func(SwigClassCount.klass, _wrap_count_allocate);
34331
35173
  rb_define_method(SwigClassCount.klass, "initialize", VALUEFUNC(_wrap_new_count), -1);
34332
- rb_define_method(SwigClassCount.klass, "clone", VALUEFUNC(_wrap_count_clone), -1);
34333
35174
  SwigClassCount.mark = 0;
34334
35175
  SwigClassCount.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_count;
34335
35176
  SwigClassCount.trackObjects = 0;
34336
35177
 
35178
+ SwigClassLast.klass = rb_define_class_under(mTransactd, "Last", ((swig_class *) SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase->clientdata)->klass);
35179
+ SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__last, (void *) &SwigClassLast);
35180
+ rb_define_alloc_func(SwigClassLast.klass, _wrap_last_allocate);
35181
+ rb_define_method(SwigClassLast.klass, "initialize", VALUEFUNC(_wrap_new_last), -1);
35182
+ SwigClassLast.mark = 0;
35183
+ SwigClassLast.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_last;
35184
+ SwigClassLast.trackObjects = 0;
35185
+
35186
+ SwigClassFirst.klass = rb_define_class_under(mTransactd, "First", ((swig_class *) SWIGTYPE_p_bzs__db__protocol__tdap__client__groupFuncBase->clientdata)->klass);
35187
+ SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__first, (void *) &SwigClassFirst);
35188
+ rb_define_alloc_func(SwigClassFirst.klass, _wrap_first_allocate);
35189
+ rb_define_method(SwigClassFirst.klass, "initialize", VALUEFUNC(_wrap_new_first), -1);
35190
+ SwigClassFirst.mark = 0;
35191
+ SwigClassFirst.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_first;
35192
+ SwigClassFirst.trackObjects = 0;
35193
+
34337
35194
  SwigClassAvg.klass = rb_define_class_under(mTransactd, "Avg", ((swig_class *) SWIGTYPE_p_bzs__db__protocol__tdap__client__sum->clientdata)->klass);
34338
35195
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__avg, (void *) &SwigClassAvg);
34339
35196
  rb_define_alloc_func(SwigClassAvg.klass, _wrap_avg_allocate);
34340
35197
  rb_define_method(SwigClassAvg.klass, "initialize", VALUEFUNC(_wrap_new_avg), -1);
34341
- rb_define_method(SwigClassAvg.klass, "clone", VALUEFUNC(_wrap_avg_clone), -1);
34342
35198
  SwigClassAvg.mark = 0;
34343
35199
  SwigClassAvg.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_avg;
34344
35200
  SwigClassAvg.trackObjects = 0;
@@ -34347,7 +35203,6 @@ SWIGEXPORT void Init_transactd(void) {
34347
35203
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__min, (void *) &SwigClassMin);
34348
35204
  rb_define_alloc_func(SwigClassMin.klass, _wrap_min_allocate);
34349
35205
  rb_define_method(SwigClassMin.klass, "initialize", VALUEFUNC(_wrap_new_min), -1);
34350
- rb_define_method(SwigClassMin.klass, "clone", VALUEFUNC(_wrap_min_clone), -1);
34351
35206
  SwigClassMin.mark = 0;
34352
35207
  SwigClassMin.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_min;
34353
35208
  SwigClassMin.trackObjects = 0;
@@ -34356,7 +35211,6 @@ SWIGEXPORT void Init_transactd(void) {
34356
35211
  SWIG_TypeClientData(SWIGTYPE_p_bzs__db__protocol__tdap__client__max, (void *) &SwigClassMax);
34357
35212
  rb_define_alloc_func(SwigClassMax.klass, _wrap_max_allocate);
34358
35213
  rb_define_method(SwigClassMax.klass, "initialize", VALUEFUNC(_wrap_new_max), -1);
34359
- rb_define_method(SwigClassMax.klass, "clone", VALUEFUNC(_wrap_max_clone), -1);
34360
35214
  SwigClassMax.mark = 0;
34361
35215
  SwigClassMax.destroy = (void (*)(void *)) free_bzs_db_protocol_tdap_client_max;
34362
35216
  SwigClassMax.trackObjects = 0;
@@ -34411,6 +35265,7 @@ SWIGEXPORT void Init_transactd(void) {
34411
35265
  rb_define_method(SwigClassActiveTable.klass, "index", VALUEFUNC(_wrap_activeTable_index), -1);
34412
35266
  rb_define_method(SwigClassActiveTable.klass, "option", VALUEFUNC(_wrap_activeTable_option), -1);
34413
35267
  rb_define_method(SwigClassActiveTable.klass, "read", VALUEFUNC(_wrap_activeTable_read), -1);
35268
+ rb_define_method(SwigClassActiveTable.klass, "readMore", VALUEFUNC(_wrap_activeTable_readMore), -1);
34414
35269
  rb_define_method(SwigClassActiveTable.klass, "prepare", VALUEFUNC(_wrap_activeTable_prepare), -1);
34415
35270
  rb_define_method(SwigClassActiveTable.klass, "join", VALUEFUNC(_wrap_activeTable_join), -1);
34416
35271
  rb_define_method(SwigClassActiveTable.klass, "outerJoin", VALUEFUNC(_wrap_activeTable_outerJoin), -1);