Module: Dep_gecode
- Defined in:
- ext/dep_gecode/dep_selector_swig_wrap.cxx
Class Method Summary collapse
- .AddPackage(*args) ⇒ Object
- .AddVersionConstraint(*args) ⇒ Object
- .GetDisabledVariableCount(*args) ⇒ Object
- .GetPackageDisabledState(*args) ⇒ Object
- .GetPackageMax(*args) ⇒ Object
- .GetPackageMin(*args) ⇒ Object
- .GetPackageVersion(*args) ⇒ Object
- .MarkPackagePreferredToBeAtLatest(*args) ⇒ Object
- .MarkPackageRequired(*args) ⇒ Object
- .MarkPackageSuspicious(*args) ⇒ Object
- .Solve(*args) ⇒ Object
- .VersionProblemCreate(*args) ⇒ Object
- .VersionProblemDestroy(*args) ⇒ Object
- .VersionProblemDump(*args) ⇒ Object
- .VersionProblemPackageCount(*args) ⇒ Object
- .VersionProblemPrintPackageVar(*args) ⇒ Object
- .VersionProblemSize(*args) ⇒ Object
Class Method Details
.AddPackage(*args) ⇒ Object
2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2120 SWIGINTERN VALUE _wrap_AddPackage(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; int arg3 ; int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","AddPackage", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","AddPackage", 2, argv[1] )); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(argv[2], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","AddPackage", 3, argv[2] )); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(argv[3], &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","AddPackage", 4, argv[3] )); } arg4 = static_cast< int >(val4); result = (int)AddPackage(arg1,arg2,arg3,arg4); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
.AddVersionConstraint(*args) ⇒ Object
2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2168 SWIGINTERN VALUE _wrap_AddVersionConstraint(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; int arg3 ; int arg4 ; int arg5 ; int arg6 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; int val4 ; int ecode4 = 0 ; int val5 ; int ecode5 = 0 ; int val6 ; int ecode6 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 6) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","AddVersionConstraint", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","AddVersionConstraint", 2, argv[1] )); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(argv[2], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","AddVersionConstraint", 3, argv[2] )); } arg3 = static_cast< int >(val3); ecode4 = SWIG_AsVal_int(argv[3], &val4); if (!SWIG_IsOK(ecode4)) { SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","AddVersionConstraint", 4, argv[3] )); } arg4 = static_cast< int >(val4); ecode5 = SWIG_AsVal_int(argv[4], &val5); if (!SWIG_IsOK(ecode5)) { SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","AddVersionConstraint", 5, argv[4] )); } arg5 = static_cast< int >(val5); ecode6 = SWIG_AsVal_int(argv[5], &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "int","AddVersionConstraint", 6, argv[5] )); } arg6 = static_cast< int >(val6); result = (bool)AddVersionConstraint(arg1,arg2,arg3,arg4,arg5,arg6); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } |
.GetDisabledVariableCount(*args) ⇒ Object
2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2455 SWIGINTERN VALUE _wrap_GetDisabledVariableCount(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","GetDisabledVariableCount", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); result = (int)GetDisabledVariableCount(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
.GetPackageDisabledState(*args) ⇒ Object
2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2359 SWIGINTERN VALUE _wrap_GetPackageDisabledState(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; bool result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","GetPackageDisabledState", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetPackageDisabledState", 2, argv[1] )); } arg2 = static_cast< int >(val2); result = (bool)GetPackageDisabledState(arg1,arg2); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } |
.GetPackageMax(*args) ⇒ Object
2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2391 SWIGINTERN VALUE _wrap_GetPackageMax(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","GetPackageMax", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetPackageMax", 2, argv[1] )); } arg2 = static_cast< int >(val2); result = (int)GetPackageMax(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
.GetPackageMin(*args) ⇒ Object
2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2423 SWIGINTERN VALUE _wrap_GetPackageMin(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","GetPackageMin", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetPackageMin", 2, argv[1] )); } arg2 = static_cast< int >(val2); result = (int)GetPackageMin(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
.GetPackageVersion(*args) ⇒ Object
2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2327 SWIGINTERN VALUE _wrap_GetPackageVersion(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","GetPackageVersion", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetPackageVersion", 2, argv[1] )); } arg2 = static_cast< int >(val2); result = (int)GetPackageVersion(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
.MarkPackagePreferredToBeAtLatest(*args) ⇒ Object
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2290 SWIGINTERN VALUE _wrap_MarkPackagePreferredToBeAtLatest(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; int val3 ; int ecode3 = 0 ; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","MarkPackagePreferredToBeAtLatest", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","MarkPackagePreferredToBeAtLatest", 2, argv[1] )); } arg2 = static_cast< int >(val2); ecode3 = SWIG_AsVal_int(argv[2], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","MarkPackagePreferredToBeAtLatest", 3, argv[2] )); } arg3 = static_cast< int >(val3); MarkPackagePreferredToBeAtLatest(arg1,arg2,arg3); return Qnil; fail: return Qnil; } |
.MarkPackageRequired(*args) ⇒ Object
2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2261 SWIGINTERN VALUE _wrap_MarkPackageRequired(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","MarkPackageRequired", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","MarkPackageRequired", 2, argv[1] )); } arg2 = static_cast< int >(val2); MarkPackageRequired(arg1,arg2); return Qnil; fail: return Qnil; } |
.MarkPackageSuspicious(*args) ⇒ Object
2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2232 SWIGINTERN VALUE _wrap_MarkPackageSuspicious(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","MarkPackageSuspicious", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","MarkPackageSuspicious", 2, argv[1] )); } arg2 = static_cast< int >(val2); MarkPackageSuspicious(arg1,arg2); return Qnil; fail: return Qnil; } |
.Solve(*args) ⇒ Object
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2529 SWIGINTERN VALUE _wrap_Solve(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VersionProblem *result = 0 ; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","Solve", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); result = (VersionProblem *)Solve(arg1); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_VersionProblem, 0 | 0 ); return vresult; fail: return Qnil; } |
.VersionProblemCreate(*args) ⇒ Object
2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2000 SWIGINTERN VALUE _wrap_VersionProblemCreate(int argc, VALUE *argv, VALUE self) { int arg1 ; bool arg2 ; bool arg3 ; char *arg4 = (char *) 0 ; int val1 ; int ecode1 = 0 ; bool val2 ; int ecode2 = 0 ; bool val3 ; int ecode3 = 0 ; int res4 ; char *buf4 = 0 ; int alloc4 = 0 ; VersionProblem *result = 0 ; VALUE vresult = Qnil; if ((argc < 4) || (argc > 4)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } ecode1 = SWIG_AsVal_int(argv[0], &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","VersionProblemCreate", 1, argv[0] )); } arg1 = static_cast< int >(val1); ecode2 = SWIG_AsVal_bool(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","VersionProblemCreate", 2, argv[1] )); } arg2 = static_cast< bool >(val2); ecode3 = SWIG_AsVal_bool(argv[2], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","VersionProblemCreate", 3, argv[2] )); } arg3 = static_cast< bool >(val3); res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","VersionProblemCreate", 4, argv[3] )); } arg4 = reinterpret_cast< char * >(buf4); result = (VersionProblem *)VersionProblemCreate(arg1,arg2,arg3,(char const *)arg4); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_VersionProblem, 0 | 0 ); if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return vresult; fail: if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return Qnil; } |
.VersionProblemDestroy(*args) ⇒ Object
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2051 SWIGINTERN VALUE _wrap_VersionProblemDestroy(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","VersionProblemDestroy", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); VersionProblemDestroy(arg1); return Qnil; fail: return Qnil; } |
.VersionProblemDump(*args) ⇒ Object
2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2479 SWIGINTERN VALUE _wrap_VersionProblemDump(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","VersionProblemDump", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); VersionProblemDump(arg1); return Qnil; fail: return Qnil; } |
.VersionProblemPackageCount(*args) ⇒ Object
2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2096 SWIGINTERN VALUE _wrap_VersionProblemPackageCount(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","VersionProblemPackageCount", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); result = (int)VersionProblemPackageCount(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |
.VersionProblemPrintPackageVar(*args) ⇒ Object
2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2500 SWIGINTERN VALUE _wrap_VersionProblemPrintPackageVar(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","VersionProblemPrintPackageVar", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); ecode2 = SWIG_AsVal_int(argv[1], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","VersionProblemPrintPackageVar", 2, argv[1] )); } arg2 = static_cast< int >(val2); VersionProblemPrintPackageVar(arg1,arg2); return Qnil; fail: return Qnil; } |
.VersionProblemSize(*args) ⇒ Object
2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'ext/dep_gecode/dep_selector_swig_wrap.cxx', line 2072 SWIGINTERN VALUE _wrap_VersionProblemSize(int argc, VALUE *argv, VALUE self) { VersionProblem *arg1 = (VersionProblem *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_VersionProblem, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "VersionProblem *","VersionProblemSize", 1, argv[0] )); } arg1 = reinterpret_cast< VersionProblem * >(argp1); result = (int)VersionProblemSize(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } |