wurlinc-rice 1.4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. data/COPYING +23 -0
  2. data/Doxyfile +1253 -0
  3. data/Makefile.am +26 -0
  4. data/README +1119 -0
  5. data/README.mingw +8 -0
  6. data/Rakefile +33 -0
  7. data/bootstrap +9 -0
  8. data/configure.ac +52 -0
  9. data/doxygen.ac +314 -0
  10. data/doxygen.am +186 -0
  11. data/extconf.rb +41 -0
  12. data/post-autoconf.rb +22 -0
  13. data/post-automake.rb +28 -0
  14. data/rice/Address_Registration_Guard.hpp +7 -0
  15. data/rice/Address_Registration_Guard.ipp +34 -0
  16. data/rice/Address_Registration_Guard_defn.hpp +65 -0
  17. data/rice/Allocation_Strategies.hpp +37 -0
  18. data/rice/Arg.hpp +8 -0
  19. data/rice/Arg_impl.hpp +127 -0
  20. data/rice/Arg_operators.cpp +21 -0
  21. data/rice/Arg_operators.hpp +19 -0
  22. data/rice/Array.hpp +220 -0
  23. data/rice/Array.ipp +263 -0
  24. data/rice/Builtin_Object.hpp +8 -0
  25. data/rice/Builtin_Object.ipp +50 -0
  26. data/rice/Builtin_Object_defn.hpp +51 -0
  27. data/rice/Class.cpp +57 -0
  28. data/rice/Class.hpp +8 -0
  29. data/rice/Class.ipp +6 -0
  30. data/rice/Class_defn.hpp +83 -0
  31. data/rice/Constructor.hpp +367 -0
  32. data/rice/Critical_Guard.hpp +40 -0
  33. data/rice/Critical_Guard.ipp +26 -0
  34. data/rice/Data_Object.hpp +8 -0
  35. data/rice/Data_Object.ipp +133 -0
  36. data/rice/Data_Object_defn.hpp +132 -0
  37. data/rice/Data_Type.cpp +54 -0
  38. data/rice/Data_Type.hpp +8 -0
  39. data/rice/Data_Type.ipp +365 -0
  40. data/rice/Data_Type_defn.hpp +261 -0
  41. data/rice/Data_Type_fwd.hpp +12 -0
  42. data/rice/Director.cpp +13 -0
  43. data/rice/Director.hpp +39 -0
  44. data/rice/Enum.hpp +117 -0
  45. data/rice/Enum.ipp +246 -0
  46. data/rice/Exception.cpp +59 -0
  47. data/rice/Exception.hpp +9 -0
  48. data/rice/Exception_Base.hpp +8 -0
  49. data/rice/Exception_Base.ipp +13 -0
  50. data/rice/Exception_Base_defn.hpp +27 -0
  51. data/rice/Exception_defn.hpp +69 -0
  52. data/rice/Hash.hpp +210 -0
  53. data/rice/Hash.ipp +338 -0
  54. data/rice/Identifier.cpp +8 -0
  55. data/rice/Identifier.hpp +50 -0
  56. data/rice/Identifier.ipp +33 -0
  57. data/rice/Jump_Tag.hpp +24 -0
  58. data/rice/Makefile.am +129 -0
  59. data/rice/Module.cpp +84 -0
  60. data/rice/Module.hpp +8 -0
  61. data/rice/Module.ipp +6 -0
  62. data/rice/Module_defn.hpp +88 -0
  63. data/rice/Module_impl.hpp +281 -0
  64. data/rice/Module_impl.ipp +348 -0
  65. data/rice/Object.cpp +160 -0
  66. data/rice/Object.hpp +8 -0
  67. data/rice/Object.ipp +19 -0
  68. data/rice/Object_defn.hpp +191 -0
  69. data/rice/Require_Guard.hpp +21 -0
  70. data/rice/String.cpp +94 -0
  71. data/rice/String.hpp +89 -0
  72. data/rice/Struct.cpp +117 -0
  73. data/rice/Struct.hpp +162 -0
  74. data/rice/Struct.ipp +26 -0
  75. data/rice/Symbol.cpp +25 -0
  76. data/rice/Symbol.hpp +66 -0
  77. data/rice/Symbol.ipp +44 -0
  78. data/rice/VM.cpp +92 -0
  79. data/rice/VM.hpp +32 -0
  80. data/rice/config.hpp.in +40 -0
  81. data/rice/detail/Arguments.hpp +118 -0
  82. data/rice/detail/Auto_Function_Wrapper.hpp +829 -0
  83. data/rice/detail/Auto_Function_Wrapper.ipp +3391 -0
  84. data/rice/detail/Auto_Member_Function_Wrapper.hpp +828 -0
  85. data/rice/detail/Auto_Member_Function_Wrapper.ipp +2503 -0
  86. data/rice/detail/Caster.hpp +103 -0
  87. data/rice/detail/Exception_Handler.hpp +8 -0
  88. data/rice/detail/Exception_Handler.ipp +68 -0
  89. data/rice/detail/Exception_Handler_defn.hpp +96 -0
  90. data/rice/detail/Iterator.hpp +93 -0
  91. data/rice/detail/Not_Copyable.hpp +25 -0
  92. data/rice/detail/Wrapped_Function.hpp +33 -0
  93. data/rice/detail/cfp.hpp +24 -0
  94. data/rice/detail/cfp.ipp +51 -0
  95. data/rice/detail/check_ruby_type.cpp +27 -0
  96. data/rice/detail/check_ruby_type.hpp +23 -0
  97. data/rice/detail/creation_funcs.hpp +37 -0
  98. data/rice/detail/creation_funcs.ipp +36 -0
  99. data/rice/detail/default_allocation_func.hpp +23 -0
  100. data/rice/detail/default_allocation_func.ipp +11 -0
  101. data/rice/detail/define_method_and_auto_wrap.hpp +31 -0
  102. data/rice/detail/define_method_and_auto_wrap.ipp +30 -0
  103. data/rice/detail/demangle.cpp +56 -0
  104. data/rice/detail/demangle.hpp +19 -0
  105. data/rice/detail/env.hpp +19 -0
  106. data/rice/detail/from_ruby.hpp +43 -0
  107. data/rice/detail/from_ruby.ipp +60 -0
  108. data/rice/detail/method_data.cpp +159 -0
  109. data/rice/detail/method_data.hpp +21 -0
  110. data/rice/detail/mininode.cpp +1220 -0
  111. data/rice/detail/mininode.hpp +320 -0
  112. data/rice/detail/node.hpp +13 -0
  113. data/rice/detail/object_call.hpp +68 -0
  114. data/rice/detail/object_call.ipp +131 -0
  115. data/rice/detail/protect.cpp +29 -0
  116. data/rice/detail/protect.hpp +34 -0
  117. data/rice/detail/ruby.hpp +93 -0
  118. data/rice/detail/ruby_version_code.hpp.in +6 -0
  119. data/rice/detail/rubysig.hpp +19 -0
  120. data/rice/detail/st.hpp +60 -0
  121. data/rice/detail/to_ruby.hpp +22 -0
  122. data/rice/detail/to_ruby.ipp +36 -0
  123. data/rice/detail/traits.hpp +43 -0
  124. data/rice/detail/win32.hpp +16 -0
  125. data/rice/detail/wrap_function.hpp +341 -0
  126. data/rice/detail/wrap_function.ipp +514 -0
  127. data/rice/global_function.hpp +33 -0
  128. data/rice/global_function.ipp +22 -0
  129. data/rice/protect.hpp +91 -0
  130. data/rice/protect.ipp +1133 -0
  131. data/rice/ruby_mark.hpp +13 -0
  132. data/rice/ruby_try_catch.hpp +86 -0
  133. data/rice/rubypp.rb +97 -0
  134. data/rice/to_from_ruby.hpp +8 -0
  135. data/rice/to_from_ruby.ipp +297 -0
  136. data/rice/to_from_ruby_defn.hpp +71 -0
  137. data/ruby/Makefile.am +1 -0
  138. data/ruby/lib/Makefile.am +3 -0
  139. data/ruby/lib/mkmf-rice.rb.in +216 -0
  140. data/ruby/lib/version.rb +3 -0
  141. data/ruby.ac +136 -0
  142. data/sample/Makefile.am +47 -0
  143. data/sample/enum/extconf.rb +3 -0
  144. data/sample/enum/sample_enum.cpp +54 -0
  145. data/sample/enum/test.rb +8 -0
  146. data/sample/inheritance/animals.cpp +98 -0
  147. data/sample/inheritance/extconf.rb +3 -0
  148. data/sample/inheritance/test.rb +7 -0
  149. data/sample/map/extconf.rb +3 -0
  150. data/sample/map/map.cpp +81 -0
  151. data/sample/map/test.rb +7 -0
  152. data/test/Makefile.am +78 -0
  153. data/test/ext/Makefile.am +43 -0
  154. data/test/ext/t1/Foo.hpp +10 -0
  155. data/test/ext/t1/extconf.rb +2 -0
  156. data/test/ext/t1/t1.cpp +15 -0
  157. data/test/ext/t2/extconf.rb +2 -0
  158. data/test/ext/t2/t2.cpp +11 -0
  159. data/test/test_Address_Registration_Guard.cpp +43 -0
  160. data/test/test_Allocation_Strategies.cpp +77 -0
  161. data/test/test_Array.cpp +241 -0
  162. data/test/test_Builtin_Object.cpp +72 -0
  163. data/test/test_Class.cpp +498 -0
  164. data/test/test_Constructor.cpp +128 -0
  165. data/test/test_Critical_Guard.cpp +51 -0
  166. data/test/test_Data_Object.cpp +275 -0
  167. data/test/test_Data_Type.cpp +348 -0
  168. data/test/test_Director.cpp +301 -0
  169. data/test/test_Enum.cpp +195 -0
  170. data/test/test_Exception.cpp +46 -0
  171. data/test/test_Hash.cpp +195 -0
  172. data/test/test_Identifier.cpp +70 -0
  173. data/test/test_Jump_Tag.cpp +17 -0
  174. data/test/test_Memory_Management.cpp +50 -0
  175. data/test/test_Module.cpp +481 -0
  176. data/test/test_Object.cpp +148 -0
  177. data/test/test_String.cpp +94 -0
  178. data/test/test_Struct.cpp +192 -0
  179. data/test/test_Symbol.cpp +63 -0
  180. data/test/test_To_From_Ruby.cpp +263 -0
  181. data/test/test_VM.cpp +26 -0
  182. data/test/test_global_functions.cpp +114 -0
  183. data/test/test_rice.rb +43 -0
  184. data/test/unittest.cpp +136 -0
  185. data/test/unittest.hpp +292 -0
  186. metadata +276 -0
@@ -0,0 +1,828 @@
1
+ #ifndef Rice__detail__Auto_Member_Function_Wrapper__hpp_
2
+ #define Rice__detail__Auto_Member_Function_Wrapper__hpp_
3
+
4
+ // This is a generated file. DO NOT EDIT!!
5
+
6
+
7
+ // This causes problems with certain C++ libraries
8
+ #undef TYPE
9
+
10
+ namespace Rice
11
+ {
12
+
13
+ namespace detail
14
+ {
15
+
16
+ #ifdef DOXYGEN
17
+
18
+ #else
19
+
20
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T = void, typename Arg1_T = void, typename Arg2_T = void, typename Arg3_T = void, typename Arg4_T = void, typename Arg5_T = void, typename Arg6_T = void, typename Arg7_T = void, typename Arg8_T = void, typename Arg9_T = void, typename Arg10_T = void, typename Arg11_T = void, typename Arg12_T = void, typename Arg13_T = void, typename Arg14_T = void, typename Arg15_T = void>
21
+ class Auto_Member_Function_Wrapper
22
+ : public Wrapped_Function
23
+ {
24
+ public:
25
+ typedef Func_T Func;
26
+
27
+ static const int Num_Args = 16;
28
+
29
+ Auto_Member_Function_Wrapper(
30
+ Func func,
31
+ Data_Object<Exception_Handler> handler,
32
+ Arguments* arguments = 0);
33
+
34
+ static VALUE call(int argc, VALUE* argv, VALUE self);
35
+
36
+ private:
37
+ Func func_;
38
+ Data_Object<Exception_Handler> handler_;
39
+ Address_Registration_Guard handler_guard_;
40
+ Arguments* arguments_;
41
+ };
42
+
43
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T, typename Arg13_T, typename Arg14_T, typename Arg15_T>
44
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T, Arg13_T, Arg14_T, Arg15_T>
45
+ : public Wrapped_Function
46
+ {
47
+ public:
48
+ typedef Func_T Func;
49
+
50
+ static const int Num_Args = 16;
51
+
52
+ Auto_Member_Function_Wrapper(
53
+ Func func,
54
+ Data_Object<Exception_Handler> handler,
55
+ Arguments* arguments = 0);
56
+
57
+ static VALUE call(int argc, VALUE* argv, VALUE self);
58
+
59
+ private:
60
+ Func func_;
61
+ Data_Object<Exception_Handler> handler_;
62
+ Address_Registration_Guard handler_guard_;
63
+ Arguments* arguments_;
64
+ };
65
+
66
+ // ---------------------------------------------------------------------
67
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T, typename Arg13_T, typename Arg14_T>
68
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T, Arg13_T, Arg14_T>
69
+ : public Wrapped_Function
70
+ {
71
+ public:
72
+ typedef Func_T Func;
73
+
74
+ static const int Num_Args = 15;
75
+
76
+ Auto_Member_Function_Wrapper(
77
+ Func func,
78
+ Data_Object<Exception_Handler> handler,
79
+ Arguments* arguments = 0);
80
+
81
+ static VALUE call(int argc, VALUE* argv, VALUE self);
82
+
83
+ private:
84
+ Func func_;
85
+ Data_Object<Exception_Handler> handler_;
86
+ Address_Registration_Guard handler_guard_;
87
+ Arguments* arguments_;
88
+ };
89
+
90
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T, typename Arg13_T, typename Arg14_T>
91
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T, Arg13_T, Arg14_T>
92
+ : public Wrapped_Function
93
+ {
94
+ public:
95
+ typedef Func_T Func;
96
+
97
+ static const int Num_Args = 15;
98
+
99
+ Auto_Member_Function_Wrapper(
100
+ Func func,
101
+ Data_Object<Exception_Handler> handler,
102
+ Arguments* arguments = 0);
103
+
104
+ static VALUE call(int argc, VALUE* argv, VALUE self);
105
+
106
+ private:
107
+ Func func_;
108
+ Data_Object<Exception_Handler> handler_;
109
+ Address_Registration_Guard handler_guard_;
110
+ Arguments* arguments_;
111
+ };
112
+
113
+ // ---------------------------------------------------------------------
114
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T, typename Arg13_T>
115
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T, Arg13_T>
116
+ : public Wrapped_Function
117
+ {
118
+ public:
119
+ typedef Func_T Func;
120
+
121
+ static const int Num_Args = 14;
122
+
123
+ Auto_Member_Function_Wrapper(
124
+ Func func,
125
+ Data_Object<Exception_Handler> handler,
126
+ Arguments* arguments = 0);
127
+
128
+ static VALUE call(int argc, VALUE* argv, VALUE self);
129
+
130
+ private:
131
+ Func func_;
132
+ Data_Object<Exception_Handler> handler_;
133
+ Address_Registration_Guard handler_guard_;
134
+ Arguments* arguments_;
135
+ };
136
+
137
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T, typename Arg13_T>
138
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T, Arg13_T>
139
+ : public Wrapped_Function
140
+ {
141
+ public:
142
+ typedef Func_T Func;
143
+
144
+ static const int Num_Args = 14;
145
+
146
+ Auto_Member_Function_Wrapper(
147
+ Func func,
148
+ Data_Object<Exception_Handler> handler,
149
+ Arguments* arguments = 0);
150
+
151
+ static VALUE call(int argc, VALUE* argv, VALUE self);
152
+
153
+ private:
154
+ Func func_;
155
+ Data_Object<Exception_Handler> handler_;
156
+ Address_Registration_Guard handler_guard_;
157
+ Arguments* arguments_;
158
+ };
159
+
160
+ // ---------------------------------------------------------------------
161
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T>
162
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T>
163
+ : public Wrapped_Function
164
+ {
165
+ public:
166
+ typedef Func_T Func;
167
+
168
+ static const int Num_Args = 13;
169
+
170
+ Auto_Member_Function_Wrapper(
171
+ Func func,
172
+ Data_Object<Exception_Handler> handler,
173
+ Arguments* arguments = 0);
174
+
175
+ static VALUE call(int argc, VALUE* argv, VALUE self);
176
+
177
+ private:
178
+ Func func_;
179
+ Data_Object<Exception_Handler> handler_;
180
+ Address_Registration_Guard handler_guard_;
181
+ Arguments* arguments_;
182
+ };
183
+
184
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T, typename Arg12_T>
185
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T, Arg12_T>
186
+ : public Wrapped_Function
187
+ {
188
+ public:
189
+ typedef Func_T Func;
190
+
191
+ static const int Num_Args = 13;
192
+
193
+ Auto_Member_Function_Wrapper(
194
+ Func func,
195
+ Data_Object<Exception_Handler> handler,
196
+ Arguments* arguments = 0);
197
+
198
+ static VALUE call(int argc, VALUE* argv, VALUE self);
199
+
200
+ private:
201
+ Func func_;
202
+ Data_Object<Exception_Handler> handler_;
203
+ Address_Registration_Guard handler_guard_;
204
+ Arguments* arguments_;
205
+ };
206
+
207
+ // ---------------------------------------------------------------------
208
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T>
209
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T>
210
+ : public Wrapped_Function
211
+ {
212
+ public:
213
+ typedef Func_T Func;
214
+
215
+ static const int Num_Args = 12;
216
+
217
+ Auto_Member_Function_Wrapper(
218
+ Func func,
219
+ Data_Object<Exception_Handler> handler,
220
+ Arguments* arguments = 0);
221
+
222
+ static VALUE call(int argc, VALUE* argv, VALUE self);
223
+
224
+ private:
225
+ Func func_;
226
+ Data_Object<Exception_Handler> handler_;
227
+ Address_Registration_Guard handler_guard_;
228
+ Arguments* arguments_;
229
+ };
230
+
231
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T, typename Arg11_T>
232
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T, Arg11_T>
233
+ : public Wrapped_Function
234
+ {
235
+ public:
236
+ typedef Func_T Func;
237
+
238
+ static const int Num_Args = 12;
239
+
240
+ Auto_Member_Function_Wrapper(
241
+ Func func,
242
+ Data_Object<Exception_Handler> handler,
243
+ Arguments* arguments = 0);
244
+
245
+ static VALUE call(int argc, VALUE* argv, VALUE self);
246
+
247
+ private:
248
+ Func func_;
249
+ Data_Object<Exception_Handler> handler_;
250
+ Address_Registration_Guard handler_guard_;
251
+ Arguments* arguments_;
252
+ };
253
+
254
+ // ---------------------------------------------------------------------
255
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T>
256
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T>
257
+ : public Wrapped_Function
258
+ {
259
+ public:
260
+ typedef Func_T Func;
261
+
262
+ static const int Num_Args = 11;
263
+
264
+ Auto_Member_Function_Wrapper(
265
+ Func func,
266
+ Data_Object<Exception_Handler> handler,
267
+ Arguments* arguments = 0);
268
+
269
+ static VALUE call(int argc, VALUE* argv, VALUE self);
270
+
271
+ private:
272
+ Func func_;
273
+ Data_Object<Exception_Handler> handler_;
274
+ Address_Registration_Guard handler_guard_;
275
+ Arguments* arguments_;
276
+ };
277
+
278
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T, typename Arg10_T>
279
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T, Arg10_T>
280
+ : public Wrapped_Function
281
+ {
282
+ public:
283
+ typedef Func_T Func;
284
+
285
+ static const int Num_Args = 11;
286
+
287
+ Auto_Member_Function_Wrapper(
288
+ Func func,
289
+ Data_Object<Exception_Handler> handler,
290
+ Arguments* arguments = 0);
291
+
292
+ static VALUE call(int argc, VALUE* argv, VALUE self);
293
+
294
+ private:
295
+ Func func_;
296
+ Data_Object<Exception_Handler> handler_;
297
+ Address_Registration_Guard handler_guard_;
298
+ Arguments* arguments_;
299
+ };
300
+
301
+ // ---------------------------------------------------------------------
302
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T>
303
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T>
304
+ : public Wrapped_Function
305
+ {
306
+ public:
307
+ typedef Func_T Func;
308
+
309
+ static const int Num_Args = 10;
310
+
311
+ Auto_Member_Function_Wrapper(
312
+ Func func,
313
+ Data_Object<Exception_Handler> handler,
314
+ Arguments* arguments = 0);
315
+
316
+ static VALUE call(int argc, VALUE* argv, VALUE self);
317
+
318
+ private:
319
+ Func func_;
320
+ Data_Object<Exception_Handler> handler_;
321
+ Address_Registration_Guard handler_guard_;
322
+ Arguments* arguments_;
323
+ };
324
+
325
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T, typename Arg9_T>
326
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T, Arg9_T>
327
+ : public Wrapped_Function
328
+ {
329
+ public:
330
+ typedef Func_T Func;
331
+
332
+ static const int Num_Args = 10;
333
+
334
+ Auto_Member_Function_Wrapper(
335
+ Func func,
336
+ Data_Object<Exception_Handler> handler,
337
+ Arguments* arguments = 0);
338
+
339
+ static VALUE call(int argc, VALUE* argv, VALUE self);
340
+
341
+ private:
342
+ Func func_;
343
+ Data_Object<Exception_Handler> handler_;
344
+ Address_Registration_Guard handler_guard_;
345
+ Arguments* arguments_;
346
+ };
347
+
348
+ // ---------------------------------------------------------------------
349
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T>
350
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T>
351
+ : public Wrapped_Function
352
+ {
353
+ public:
354
+ typedef Func_T Func;
355
+
356
+ static const int Num_Args = 9;
357
+
358
+ Auto_Member_Function_Wrapper(
359
+ Func func,
360
+ Data_Object<Exception_Handler> handler,
361
+ Arguments* arguments = 0);
362
+
363
+ static VALUE call(int argc, VALUE* argv, VALUE self);
364
+
365
+ private:
366
+ Func func_;
367
+ Data_Object<Exception_Handler> handler_;
368
+ Address_Registration_Guard handler_guard_;
369
+ Arguments* arguments_;
370
+ };
371
+
372
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T, typename Arg8_T>
373
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T, Arg8_T>
374
+ : public Wrapped_Function
375
+ {
376
+ public:
377
+ typedef Func_T Func;
378
+
379
+ static const int Num_Args = 9;
380
+
381
+ Auto_Member_Function_Wrapper(
382
+ Func func,
383
+ Data_Object<Exception_Handler> handler,
384
+ Arguments* arguments = 0);
385
+
386
+ static VALUE call(int argc, VALUE* argv, VALUE self);
387
+
388
+ private:
389
+ Func func_;
390
+ Data_Object<Exception_Handler> handler_;
391
+ Address_Registration_Guard handler_guard_;
392
+ Arguments* arguments_;
393
+ };
394
+
395
+ // ---------------------------------------------------------------------
396
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T>
397
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T>
398
+ : public Wrapped_Function
399
+ {
400
+ public:
401
+ typedef Func_T Func;
402
+
403
+ static const int Num_Args = 8;
404
+
405
+ Auto_Member_Function_Wrapper(
406
+ Func func,
407
+ Data_Object<Exception_Handler> handler,
408
+ Arguments* arguments = 0);
409
+
410
+ static VALUE call(int argc, VALUE* argv, VALUE self);
411
+
412
+ private:
413
+ Func func_;
414
+ Data_Object<Exception_Handler> handler_;
415
+ Address_Registration_Guard handler_guard_;
416
+ Arguments* arguments_;
417
+ };
418
+
419
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T, typename Arg7_T>
420
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T, Arg7_T>
421
+ : public Wrapped_Function
422
+ {
423
+ public:
424
+ typedef Func_T Func;
425
+
426
+ static const int Num_Args = 8;
427
+
428
+ Auto_Member_Function_Wrapper(
429
+ Func func,
430
+ Data_Object<Exception_Handler> handler,
431
+ Arguments* arguments = 0);
432
+
433
+ static VALUE call(int argc, VALUE* argv, VALUE self);
434
+
435
+ private:
436
+ Func func_;
437
+ Data_Object<Exception_Handler> handler_;
438
+ Address_Registration_Guard handler_guard_;
439
+ Arguments* arguments_;
440
+ };
441
+
442
+ // ---------------------------------------------------------------------
443
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T>
444
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T>
445
+ : public Wrapped_Function
446
+ {
447
+ public:
448
+ typedef Func_T Func;
449
+
450
+ static const int Num_Args = 7;
451
+
452
+ Auto_Member_Function_Wrapper(
453
+ Func func,
454
+ Data_Object<Exception_Handler> handler,
455
+ Arguments* arguments = 0);
456
+
457
+ static VALUE call(int argc, VALUE* argv, VALUE self);
458
+
459
+ private:
460
+ Func func_;
461
+ Data_Object<Exception_Handler> handler_;
462
+ Address_Registration_Guard handler_guard_;
463
+ Arguments* arguments_;
464
+ };
465
+
466
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T, typename Arg6_T>
467
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T, Arg6_T>
468
+ : public Wrapped_Function
469
+ {
470
+ public:
471
+ typedef Func_T Func;
472
+
473
+ static const int Num_Args = 7;
474
+
475
+ Auto_Member_Function_Wrapper(
476
+ Func func,
477
+ Data_Object<Exception_Handler> handler,
478
+ Arguments* arguments = 0);
479
+
480
+ static VALUE call(int argc, VALUE* argv, VALUE self);
481
+
482
+ private:
483
+ Func func_;
484
+ Data_Object<Exception_Handler> handler_;
485
+ Address_Registration_Guard handler_guard_;
486
+ Arguments* arguments_;
487
+ };
488
+
489
+ // ---------------------------------------------------------------------
490
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T>
491
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T>
492
+ : public Wrapped_Function
493
+ {
494
+ public:
495
+ typedef Func_T Func;
496
+
497
+ static const int Num_Args = 6;
498
+
499
+ Auto_Member_Function_Wrapper(
500
+ Func func,
501
+ Data_Object<Exception_Handler> handler,
502
+ Arguments* arguments = 0);
503
+
504
+ static VALUE call(int argc, VALUE* argv, VALUE self);
505
+
506
+ private:
507
+ Func func_;
508
+ Data_Object<Exception_Handler> handler_;
509
+ Address_Registration_Guard handler_guard_;
510
+ Arguments* arguments_;
511
+ };
512
+
513
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T, typename Arg5_T>
514
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T, Arg5_T>
515
+ : public Wrapped_Function
516
+ {
517
+ public:
518
+ typedef Func_T Func;
519
+
520
+ static const int Num_Args = 6;
521
+
522
+ Auto_Member_Function_Wrapper(
523
+ Func func,
524
+ Data_Object<Exception_Handler> handler,
525
+ Arguments* arguments = 0);
526
+
527
+ static VALUE call(int argc, VALUE* argv, VALUE self);
528
+
529
+ private:
530
+ Func func_;
531
+ Data_Object<Exception_Handler> handler_;
532
+ Address_Registration_Guard handler_guard_;
533
+ Arguments* arguments_;
534
+ };
535
+
536
+ // ---------------------------------------------------------------------
537
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T>
538
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T>
539
+ : public Wrapped_Function
540
+ {
541
+ public:
542
+ typedef Func_T Func;
543
+
544
+ static const int Num_Args = 5;
545
+
546
+ Auto_Member_Function_Wrapper(
547
+ Func func,
548
+ Data_Object<Exception_Handler> handler,
549
+ Arguments* arguments = 0);
550
+
551
+ static VALUE call(int argc, VALUE* argv, VALUE self);
552
+
553
+ private:
554
+ Func func_;
555
+ Data_Object<Exception_Handler> handler_;
556
+ Address_Registration_Guard handler_guard_;
557
+ Arguments* arguments_;
558
+ };
559
+
560
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T, typename Arg4_T>
561
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T, Arg4_T>
562
+ : public Wrapped_Function
563
+ {
564
+ public:
565
+ typedef Func_T Func;
566
+
567
+ static const int Num_Args = 5;
568
+
569
+ Auto_Member_Function_Wrapper(
570
+ Func func,
571
+ Data_Object<Exception_Handler> handler,
572
+ Arguments* arguments = 0);
573
+
574
+ static VALUE call(int argc, VALUE* argv, VALUE self);
575
+
576
+ private:
577
+ Func func_;
578
+ Data_Object<Exception_Handler> handler_;
579
+ Address_Registration_Guard handler_guard_;
580
+ Arguments* arguments_;
581
+ };
582
+
583
+ // ---------------------------------------------------------------------
584
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T>
585
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T>
586
+ : public Wrapped_Function
587
+ {
588
+ public:
589
+ typedef Func_T Func;
590
+
591
+ static const int Num_Args = 4;
592
+
593
+ Auto_Member_Function_Wrapper(
594
+ Func func,
595
+ Data_Object<Exception_Handler> handler,
596
+ Arguments* arguments = 0);
597
+
598
+ static VALUE call(int argc, VALUE* argv, VALUE self);
599
+
600
+ private:
601
+ Func func_;
602
+ Data_Object<Exception_Handler> handler_;
603
+ Address_Registration_Guard handler_guard_;
604
+ Arguments* arguments_;
605
+ };
606
+
607
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T, typename Arg3_T>
608
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T, Arg3_T>
609
+ : public Wrapped_Function
610
+ {
611
+ public:
612
+ typedef Func_T Func;
613
+
614
+ static const int Num_Args = 4;
615
+
616
+ Auto_Member_Function_Wrapper(
617
+ Func func,
618
+ Data_Object<Exception_Handler> handler,
619
+ Arguments* arguments = 0);
620
+
621
+ static VALUE call(int argc, VALUE* argv, VALUE self);
622
+
623
+ private:
624
+ Func func_;
625
+ Data_Object<Exception_Handler> handler_;
626
+ Address_Registration_Guard handler_guard_;
627
+ Arguments* arguments_;
628
+ };
629
+
630
+ // ---------------------------------------------------------------------
631
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T>
632
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T, Arg2_T>
633
+ : public Wrapped_Function
634
+ {
635
+ public:
636
+ typedef Func_T Func;
637
+
638
+ static const int Num_Args = 3;
639
+
640
+ Auto_Member_Function_Wrapper(
641
+ Func func,
642
+ Data_Object<Exception_Handler> handler,
643
+ Arguments* arguments = 0);
644
+
645
+ static VALUE call(int argc, VALUE* argv, VALUE self);
646
+
647
+ private:
648
+ Func func_;
649
+ Data_Object<Exception_Handler> handler_;
650
+ Address_Registration_Guard handler_guard_;
651
+ Arguments* arguments_;
652
+ };
653
+
654
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T, typename Arg2_T>
655
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T, Arg2_T>
656
+ : public Wrapped_Function
657
+ {
658
+ public:
659
+ typedef Func_T Func;
660
+
661
+ static const int Num_Args = 3;
662
+
663
+ Auto_Member_Function_Wrapper(
664
+ Func func,
665
+ Data_Object<Exception_Handler> handler,
666
+ Arguments* arguments = 0);
667
+
668
+ static VALUE call(int argc, VALUE* argv, VALUE self);
669
+
670
+ private:
671
+ Func func_;
672
+ Data_Object<Exception_Handler> handler_;
673
+ Address_Registration_Guard handler_guard_;
674
+ Arguments* arguments_;
675
+ };
676
+
677
+ // ---------------------------------------------------------------------
678
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T, typename Arg1_T>
679
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T, Arg1_T>
680
+ : public Wrapped_Function
681
+ {
682
+ public:
683
+ typedef Func_T Func;
684
+
685
+ static const int Num_Args = 2;
686
+
687
+ Auto_Member_Function_Wrapper(
688
+ Func func,
689
+ Data_Object<Exception_Handler> handler,
690
+ Arguments* arguments = 0);
691
+
692
+ static VALUE call(int argc, VALUE* argv, VALUE self);
693
+
694
+ private:
695
+ Func func_;
696
+ Data_Object<Exception_Handler> handler_;
697
+ Address_Registration_Guard handler_guard_;
698
+ Arguments* arguments_;
699
+ };
700
+
701
+ template<typename Func_T, typename Self_T, typename Arg0_T, typename Arg1_T>
702
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T, Arg1_T>
703
+ : public Wrapped_Function
704
+ {
705
+ public:
706
+ typedef Func_T Func;
707
+
708
+ static const int Num_Args = 2;
709
+
710
+ Auto_Member_Function_Wrapper(
711
+ Func func,
712
+ Data_Object<Exception_Handler> handler,
713
+ Arguments* arguments = 0);
714
+
715
+ static VALUE call(int argc, VALUE* argv, VALUE self);
716
+
717
+ private:
718
+ Func func_;
719
+ Data_Object<Exception_Handler> handler_;
720
+ Address_Registration_Guard handler_guard_;
721
+ Arguments* arguments_;
722
+ };
723
+
724
+ // ---------------------------------------------------------------------
725
+ template<typename Func_T, typename Ret_T, typename Self_T, typename Arg0_T>
726
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T, Arg0_T>
727
+ : public Wrapped_Function
728
+ {
729
+ public:
730
+ typedef Func_T Func;
731
+
732
+ static const int Num_Args = 1;
733
+
734
+ Auto_Member_Function_Wrapper(
735
+ Func func,
736
+ Data_Object<Exception_Handler> handler,
737
+ Arguments* arguments = 0);
738
+
739
+ static VALUE call(int argc, VALUE* argv, VALUE self);
740
+
741
+ private:
742
+ Func func_;
743
+ Data_Object<Exception_Handler> handler_;
744
+ Address_Registration_Guard handler_guard_;
745
+ Arguments* arguments_;
746
+ };
747
+
748
+ template<typename Func_T, typename Self_T, typename Arg0_T>
749
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T, Arg0_T>
750
+ : public Wrapped_Function
751
+ {
752
+ public:
753
+ typedef Func_T Func;
754
+
755
+ static const int Num_Args = 1;
756
+
757
+ Auto_Member_Function_Wrapper(
758
+ Func func,
759
+ Data_Object<Exception_Handler> handler,
760
+ Arguments* arguments = 0);
761
+
762
+ static VALUE call(int argc, VALUE* argv, VALUE self);
763
+
764
+ private:
765
+ Func func_;
766
+ Data_Object<Exception_Handler> handler_;
767
+ Address_Registration_Guard handler_guard_;
768
+ Arguments* arguments_;
769
+ };
770
+
771
+ // ---------------------------------------------------------------------
772
+ template<typename Func_T, typename Ret_T, typename Self_T>
773
+ class Auto_Member_Function_Wrapper<Func_T, Ret_T, Self_T>
774
+ : public Wrapped_Function
775
+ {
776
+ public:
777
+ typedef Func_T Func;
778
+
779
+ static const int Num_Args = 0;
780
+
781
+ Auto_Member_Function_Wrapper(
782
+ Func func,
783
+ Data_Object<Exception_Handler> handler,
784
+ Arguments* arguments = 0);
785
+
786
+ static VALUE call(int argc, VALUE* argv, VALUE self);
787
+
788
+ private:
789
+ Func func_;
790
+ Data_Object<Exception_Handler> handler_;
791
+ Address_Registration_Guard handler_guard_;
792
+ Arguments* arguments_;
793
+ };
794
+
795
+ template<typename Func_T, typename Self_T>
796
+ class Auto_Member_Function_Wrapper<Func_T, void, Self_T>
797
+ : public Wrapped_Function
798
+ {
799
+ public:
800
+ typedef Func_T Func;
801
+
802
+ static const int Num_Args = 0;
803
+
804
+ Auto_Member_Function_Wrapper(
805
+ Func func,
806
+ Data_Object<Exception_Handler> handler,
807
+ Arguments* arguments = 0);
808
+
809
+ static VALUE call(int argc, VALUE* argv, VALUE self);
810
+
811
+ private:
812
+ Func func_;
813
+ Data_Object<Exception_Handler> handler_;
814
+ Address_Registration_Guard handler_guard_;
815
+ Arguments* arguments_;
816
+ };
817
+
818
+ // ---------------------------------------------------------------------
819
+ #endif // DOXYGEN
820
+
821
+ } // namespace detail
822
+
823
+ } // namespace Rice
824
+
825
+ #include "Auto_Member_Function_Wrapper.ipp"
826
+
827
+ #endif // Rice__detail__Auto_Member_Function_Wrapper__hpp_
828
+