1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 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 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 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 2166 2167 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 2230 2231 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 2259 2260 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 2288 2289 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 2325 2326 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 2357 2358 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 2389 2390 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 2421 2422 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 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 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 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074
|
#pragma once
#include <grtpp.h>
#ifdef _WIN32
#pragma warning(disable: 4355) // 'this' : used in base member initializer list
#ifdef GRT_STRUCTS_DB_MYSQL_EXPORT
#define GRT_STRUCTS_DB_MYSQL_PUBLIC __declspec(dllexport)
#else
#define GRT_STRUCTS_DB_MYSQL_PUBLIC __declspec(dllimport)
#endif
#else
#define GRT_STRUCTS_DB_MYSQL_PUBLIC
#endif
#include <grts/structs.db.h>
#include <grts/structs.h>
class db_mysql_StorageEngine;
typedef grt::Ref<db_mysql_StorageEngine> db_mysql_StorageEngineRef;
class db_mysql_StorageEngineOption;
typedef grt::Ref<db_mysql_StorageEngineOption> db_mysql_StorageEngineOptionRef;
class db_mysql_RoutineParam;
typedef grt::Ref<db_mysql_RoutineParam> db_mysql_RoutineParamRef;
class db_mysql_PartitionDefinition;
typedef grt::Ref<db_mysql_PartitionDefinition> db_mysql_PartitionDefinitionRef;
class db_mysql_ForeignKey;
typedef grt::Ref<db_mysql_ForeignKey> db_mysql_ForeignKeyRef;
class db_mysql_IndexColumn;
typedef grt::Ref<db_mysql_IndexColumn> db_mysql_IndexColumnRef;
class db_mysql_SimpleDatatype;
typedef grt::Ref<db_mysql_SimpleDatatype> db_mysql_SimpleDatatypeRef;
class db_mysql_Column;
typedef grt::Ref<db_mysql_Column> db_mysql_ColumnRef;
class db_mysql_Catalog;
typedef grt::Ref<db_mysql_Catalog> db_mysql_CatalogRef;
class db_mysql_Sequence;
typedef grt::Ref<db_mysql_Sequence> db_mysql_SequenceRef;
class db_mysql_Synonym;
typedef grt::Ref<db_mysql_Synonym> db_mysql_SynonymRef;
class db_mysql_RoutineGroup;
typedef grt::Ref<db_mysql_RoutineGroup> db_mysql_RoutineGroupRef;
class db_mysql_Index;
typedef grt::Ref<db_mysql_Index> db_mysql_IndexRef;
class db_mysql_StructuredDatatype;
typedef grt::Ref<db_mysql_StructuredDatatype> db_mysql_StructuredDatatypeRef;
class db_mysql_Table;
typedef grt::Ref<db_mysql_Table> db_mysql_TableRef;
class db_mysql_ServerLink;
typedef grt::Ref<db_mysql_ServerLink> db_mysql_ServerLinkRef;
class db_mysql_Schema;
typedef grt::Ref<db_mysql_Schema> db_mysql_SchemaRef;
class db_mysql_Tablespace;
typedef grt::Ref<db_mysql_Tablespace> db_mysql_TablespaceRef;
class db_mysql_LogFileGroup;
typedef grt::Ref<db_mysql_LogFileGroup> db_mysql_LogFileGroupRef;
class db_mysql_Event;
typedef grt::Ref<db_mysql_Event> db_mysql_EventRef;
class db_mysql_Trigger;
typedef grt::Ref<db_mysql_Trigger> db_mysql_TriggerRef;
class db_mysql_Routine;
typedef grt::Ref<db_mysql_Routine> db_mysql_RoutineRef;
class db_mysql_View;
typedef grt::Ref<db_mysql_View> db_mysql_ViewRef;
namespace mforms {
class Object;
};
namespace grt {
class AutoPyObject;
};
/** a MySQL storage engine type description */
class db_mysql_StorageEngine : public GrtNamedObject
{
typedef GrtNamedObject super;
public:
db_mysql_StorageEngine(grt::GRT *grt, grt::MetaClass *meta=0)
: GrtNamedObject(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_caption(""),
_description(""),
_options(grt, this, false),
_supportsForeignKeys(0)
{
}
static std::string static_class_name() { return "db.mysql.StorageEngine"; }
/** Getter for attribute caption
\par In Python:
value = obj.caption
*/
grt::StringRef caption() const { return _caption; }
/** Setter for attribute caption
\par In Python:
obj.caption = value
*/
virtual void caption(const grt::StringRef &value)
{
grt::ValueRef ovalue(_caption);
_caption= value;
member_changed("caption", ovalue, value);
}
/** Getter for attribute description
\par In Python:
value = obj.description
*/
grt::StringRef description() const { return _description; }
/** Setter for attribute description
\par In Python:
obj.description = value
*/
virtual void description(const grt::StringRef &value)
{
grt::ValueRef ovalue(_description);
_description= value;
member_changed("description", ovalue, value);
}
// options is owned by db_mysql_StorageEngine
/** Getter for attribute options (read-only)
\par In Python:
value = obj.options
*/
grt::ListRef<db_mysql_StorageEngineOption> options() const { return _options; }
private: // the next attribute is read-only
virtual void options(const grt::ListRef<db_mysql_StorageEngineOption> &value)
{
grt::ValueRef ovalue(_options);
_options= value;
owned_member_changed("options", ovalue, value);
}
public:
/** Getter for attribute supportsForeignKeys
\par In Python:
value = obj.supportsForeignKeys
*/
grt::IntegerRef supportsForeignKeys() const { return _supportsForeignKeys; }
/** Setter for attribute supportsForeignKeys
\par In Python:
obj.supportsForeignKeys = value
*/
virtual void supportsForeignKeys(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_supportsForeignKeys);
_supportsForeignKeys= value;
member_changed("supportsForeignKeys", ovalue, value);
}
protected:
grt::StringRef _caption;
grt::StringRef _description;
grt::ListRef<db_mysql_StorageEngineOption> _options;// owned
grt::IntegerRef _supportsForeignKeys;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_StorageEngine(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_StorageEngine::create);
{
void (db_mysql_StorageEngine::*setter)(const grt::StringRef &)= &db_mysql_StorageEngine::caption;
grt::StringRef (db_mysql_StorageEngine::*getter)() const= &db_mysql_StorageEngine::caption;
meta->bind_member("caption", new grt::MetaClass::Property<db_mysql_StorageEngine,grt::StringRef >(getter,setter));
}
{
void (db_mysql_StorageEngine::*setter)(const grt::StringRef &)= &db_mysql_StorageEngine::description;
grt::StringRef (db_mysql_StorageEngine::*getter)() const= &db_mysql_StorageEngine::description;
meta->bind_member("description", new grt::MetaClass::Property<db_mysql_StorageEngine,grt::StringRef >(getter,setter));
}
{
void (db_mysql_StorageEngine::*setter)(const grt::ListRef<db_mysql_StorageEngineOption> &)= &db_mysql_StorageEngine::options;
grt::ListRef<db_mysql_StorageEngineOption> (db_mysql_StorageEngine::*getter)() const= &db_mysql_StorageEngine::options;
meta->bind_member("options", new grt::MetaClass::Property<db_mysql_StorageEngine,grt::ListRef<db_mysql_StorageEngineOption> >(getter,setter));
}
{
void (db_mysql_StorageEngine::*setter)(const grt::IntegerRef &)= &db_mysql_StorageEngine::supportsForeignKeys;
grt::IntegerRef (db_mysql_StorageEngine::*getter)() const= &db_mysql_StorageEngine::supportsForeignKeys;
meta->bind_member("supportsForeignKeys", new grt::MetaClass::Property<db_mysql_StorageEngine,grt::IntegerRef >(getter,setter));
}
}
};
/** an option description for a MySQL storage engine */
class db_mysql_StorageEngineOption : public GrtNamedObject
{
typedef GrtNamedObject super;
public:
db_mysql_StorageEngineOption(grt::GRT *grt, grt::MetaClass *meta=0)
: GrtNamedObject(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_caption(""),
_description(""),
_type("")
{
}
static std::string static_class_name() { return "db.mysql.StorageEngineOption"; }
/** Getter for attribute caption
\par In Python:
value = obj.caption
*/
grt::StringRef caption() const { return _caption; }
/** Setter for attribute caption
\par In Python:
obj.caption = value
*/
virtual void caption(const grt::StringRef &value)
{
grt::ValueRef ovalue(_caption);
_caption= value;
member_changed("caption", ovalue, value);
}
/** Getter for attribute description
\par In Python:
value = obj.description
*/
grt::StringRef description() const { return _description; }
/** Setter for attribute description
\par In Python:
obj.description = value
*/
virtual void description(const grt::StringRef &value)
{
grt::ValueRef ovalue(_description);
_description= value;
member_changed("description", ovalue, value);
}
/** Getter for attribute type
\par In Python:
value = obj.type
*/
grt::StringRef type() const { return _type; }
/** Setter for attribute type
\par In Python:
obj.type = value
*/
virtual void type(const grt::StringRef &value)
{
grt::ValueRef ovalue(_type);
_type= value;
member_changed("type", ovalue, value);
}
protected:
grt::StringRef _caption;
grt::StringRef _description;
grt::StringRef _type;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_StorageEngineOption(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_StorageEngineOption::create);
{
void (db_mysql_StorageEngineOption::*setter)(const grt::StringRef &)= &db_mysql_StorageEngineOption::caption;
grt::StringRef (db_mysql_StorageEngineOption::*getter)() const= &db_mysql_StorageEngineOption::caption;
meta->bind_member("caption", new grt::MetaClass::Property<db_mysql_StorageEngineOption,grt::StringRef >(getter,setter));
}
{
void (db_mysql_StorageEngineOption::*setter)(const grt::StringRef &)= &db_mysql_StorageEngineOption::description;
grt::StringRef (db_mysql_StorageEngineOption::*getter)() const= &db_mysql_StorageEngineOption::description;
meta->bind_member("description", new grt::MetaClass::Property<db_mysql_StorageEngineOption,grt::StringRef >(getter,setter));
}
{
void (db_mysql_StorageEngineOption::*setter)(const grt::StringRef &)= &db_mysql_StorageEngineOption::type;
grt::StringRef (db_mysql_StorageEngineOption::*getter)() const= &db_mysql_StorageEngineOption::type;
meta->bind_member("type", new grt::MetaClass::Property<db_mysql_StorageEngineOption,grt::StringRef >(getter,setter));
}
}
};
class db_mysql_RoutineParam : public GrtObject
{
typedef GrtObject super;
public:
db_mysql_RoutineParam(grt::GRT *grt, grt::MetaClass *meta=0)
: GrtObject(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_datatype(""),
_paramType("")
{
}
static std::string static_class_name() { return "db.mysql.RoutineParam"; }
/** Getter for attribute datatype
\par In Python:
value = obj.datatype
*/
grt::StringRef datatype() const { return _datatype; }
/** Setter for attribute datatype
\par In Python:
obj.datatype = value
*/
virtual void datatype(const grt::StringRef &value)
{
grt::ValueRef ovalue(_datatype);
_datatype= value;
member_changed("datatype", ovalue, value);
}
/** Getter for attribute paramType
\par In Python:
value = obj.paramType
*/
grt::StringRef paramType() const { return _paramType; }
/** Setter for attribute paramType
\par In Python:
obj.paramType = value
*/
virtual void paramType(const grt::StringRef &value)
{
grt::ValueRef ovalue(_paramType);
_paramType= value;
member_changed("paramType", ovalue, value);
}
protected:
grt::StringRef _datatype;
grt::StringRef _paramType;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_RoutineParam(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_RoutineParam::create);
{
void (db_mysql_RoutineParam::*setter)(const grt::StringRef &)= &db_mysql_RoutineParam::datatype;
grt::StringRef (db_mysql_RoutineParam::*getter)() const= &db_mysql_RoutineParam::datatype;
meta->bind_member("datatype", new grt::MetaClass::Property<db_mysql_RoutineParam,grt::StringRef >(getter,setter));
}
{
void (db_mysql_RoutineParam::*setter)(const grt::StringRef &)= &db_mysql_RoutineParam::paramType;
grt::StringRef (db_mysql_RoutineParam::*getter)() const= &db_mysql_RoutineParam::paramType;
meta->bind_member("paramType", new grt::MetaClass::Property<db_mysql_RoutineParam,grt::StringRef >(getter,setter));
}
}
};
class db_mysql_PartitionDefinition : public GrtObject
{
typedef GrtObject super;
public:
db_mysql_PartitionDefinition(grt::GRT *grt, grt::MetaClass *meta=0)
: GrtObject(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_comment(""),
_dataDirectory(""),
_engine(""),
_indexDirectory(""),
_maxRows(""),
_minRows(""),
_nodeGroupId(0),
_subpartitionDefinitions(grt, this, false),
_tableSpace(""),
_value("")
{
}
static std::string static_class_name() { return "db.mysql.PartitionDefinition"; }
/** Getter for attribute comment
\par In Python:
value = obj.comment
*/
grt::StringRef comment() const { return _comment; }
/** Setter for attribute comment
\par In Python:
obj.comment = value
*/
virtual void comment(const grt::StringRef &value)
{
grt::ValueRef ovalue(_comment);
_comment= value;
member_changed("comment", ovalue, value);
}
/** Getter for attribute dataDirectory
\par In Python:
value = obj.dataDirectory
*/
grt::StringRef dataDirectory() const { return _dataDirectory; }
/** Setter for attribute dataDirectory
\par In Python:
obj.dataDirectory = value
*/
virtual void dataDirectory(const grt::StringRef &value)
{
grt::ValueRef ovalue(_dataDirectory);
_dataDirectory= value;
member_changed("dataDirectory", ovalue, value);
}
/** Getter for attribute engine
\par In Python:
value = obj.engine
*/
grt::StringRef engine() const { return _engine; }
/** Setter for attribute engine
\par In Python:
obj.engine = value
*/
virtual void engine(const grt::StringRef &value)
{
grt::ValueRef ovalue(_engine);
_engine= value;
member_changed("engine", ovalue, value);
}
/** Getter for attribute indexDirectory
\par In Python:
value = obj.indexDirectory
*/
grt::StringRef indexDirectory() const { return _indexDirectory; }
/** Setter for attribute indexDirectory
\par In Python:
obj.indexDirectory = value
*/
virtual void indexDirectory(const grt::StringRef &value)
{
grt::ValueRef ovalue(_indexDirectory);
_indexDirectory= value;
member_changed("indexDirectory", ovalue, value);
}
/** Getter for attribute maxRows
\par In Python:
value = obj.maxRows
*/
grt::StringRef maxRows() const { return _maxRows; }
/** Setter for attribute maxRows
\par In Python:
obj.maxRows = value
*/
virtual void maxRows(const grt::StringRef &value)
{
grt::ValueRef ovalue(_maxRows);
_maxRows= value;
member_changed("maxRows", ovalue, value);
}
/** Getter for attribute minRows
\par In Python:
value = obj.minRows
*/
grt::StringRef minRows() const { return _minRows; }
/** Setter for attribute minRows
\par In Python:
obj.minRows = value
*/
virtual void minRows(const grt::StringRef &value)
{
grt::ValueRef ovalue(_minRows);
_minRows= value;
member_changed("minRows", ovalue, value);
}
/** Getter for attribute nodeGroupId
\par In Python:
value = obj.nodeGroupId
*/
grt::IntegerRef nodeGroupId() const { return _nodeGroupId; }
/** Setter for attribute nodeGroupId
\par In Python:
obj.nodeGroupId = value
*/
virtual void nodeGroupId(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_nodeGroupId);
_nodeGroupId= value;
member_changed("nodeGroupId", ovalue, value);
}
// subpartitionDefinitions is owned by db_mysql_PartitionDefinition
/** Getter for attribute subpartitionDefinitions (read-only)
\par In Python:
value = obj.subpartitionDefinitions
*/
grt::ListRef<db_mysql_PartitionDefinition> subpartitionDefinitions() const { return _subpartitionDefinitions; }
private: // the next attribute is read-only
virtual void subpartitionDefinitions(const grt::ListRef<db_mysql_PartitionDefinition> &value)
{
grt::ValueRef ovalue(_subpartitionDefinitions);
_subpartitionDefinitions= value;
owned_member_changed("subpartitionDefinitions", ovalue, value);
}
public:
/** Getter for attribute tableSpace
\par In Python:
value = obj.tableSpace
*/
grt::StringRef tableSpace() const { return _tableSpace; }
/** Setter for attribute tableSpace
\par In Python:
obj.tableSpace = value
*/
virtual void tableSpace(const grt::StringRef &value)
{
grt::ValueRef ovalue(_tableSpace);
_tableSpace= value;
member_changed("tableSpace", ovalue, value);
}
/** Getter for attribute value
\par In Python:
value = obj.value
*/
grt::StringRef value() const { return _value; }
/** Setter for attribute value
\par In Python:
obj.value = value
*/
virtual void value(const grt::StringRef &value)
{
grt::ValueRef ovalue(_value);
_value= value;
member_changed("value", ovalue, value);
}
protected:
grt::StringRef _comment;
grt::StringRef _dataDirectory;
grt::StringRef _engine;
grt::StringRef _indexDirectory;
grt::StringRef _maxRows;
grt::StringRef _minRows;
grt::IntegerRef _nodeGroupId;
grt::ListRef<db_mysql_PartitionDefinition> _subpartitionDefinitions;// owned
grt::StringRef _tableSpace;
grt::StringRef _value;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_PartitionDefinition(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_PartitionDefinition::create);
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::comment;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::comment;
meta->bind_member("comment", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::dataDirectory;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::dataDirectory;
meta->bind_member("dataDirectory", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::engine;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::engine;
meta->bind_member("engine", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::indexDirectory;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::indexDirectory;
meta->bind_member("indexDirectory", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::maxRows;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::maxRows;
meta->bind_member("maxRows", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::minRows;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::minRows;
meta->bind_member("minRows", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::IntegerRef &)= &db_mysql_PartitionDefinition::nodeGroupId;
grt::IntegerRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::nodeGroupId;
meta->bind_member("nodeGroupId", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::ListRef<db_mysql_PartitionDefinition> &)= &db_mysql_PartitionDefinition::subpartitionDefinitions;
grt::ListRef<db_mysql_PartitionDefinition> (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::subpartitionDefinitions;
meta->bind_member("subpartitionDefinitions", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::ListRef<db_mysql_PartitionDefinition> >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::tableSpace;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::tableSpace;
meta->bind_member("tableSpace", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
{
void (db_mysql_PartitionDefinition::*setter)(const grt::StringRef &)= &db_mysql_PartitionDefinition::value;
grt::StringRef (db_mysql_PartitionDefinition::*getter)() const= &db_mysql_PartitionDefinition::value;
meta->bind_member("value", new grt::MetaClass::Property<db_mysql_PartitionDefinition,grt::StringRef >(getter,setter));
}
}
};
class db_mysql_ForeignKey : public db_ForeignKey
{
typedef db_ForeignKey super;
public:
db_mysql_ForeignKey(grt::GRT *grt, grt::MetaClass *meta=0)
: db_ForeignKey(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.ForeignKey"; }
/** Getter for attribute referencedTable
\par In Python:
value = obj.referencedTable
*/
db_mysql_TableRef referencedTable() const { return db_mysql_TableRef::cast_from(_referencedTable); }
/** Setter for attribute referencedTable
\par In Python:
obj.referencedTable = value
*/
virtual void referencedTable(const db_mysql_TableRef &value) { super::referencedTable(value); }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_ForeignKey(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_ForeignKey::create);
{
void (db_mysql_ForeignKey::*setter)(const db_mysql_TableRef &)= 0;
db_mysql_TableRef (db_mysql_ForeignKey::*getter)() const= 0;
meta->bind_member("referencedTable", new grt::MetaClass::Property<db_mysql_ForeignKey,db_mysql_TableRef >(getter,setter));
}
}
};
class db_mysql_IndexColumn : public db_IndexColumn
{
typedef db_IndexColumn super;
public:
db_mysql_IndexColumn(grt::GRT *grt, grt::MetaClass *meta=0)
: db_IndexColumn(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.IndexColumn"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_IndexColumn(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_IndexColumn::create);
}
};
class db_mysql_SimpleDatatype : public db_SimpleDatatype
{
typedef db_SimpleDatatype super;
public:
db_mysql_SimpleDatatype(grt::GRT *grt, grt::MetaClass *meta=0)
: db_SimpleDatatype(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.SimpleDatatype"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_SimpleDatatype(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_SimpleDatatype::create);
}
};
class db_mysql_Column : public db_Column
{
typedef db_Column super;
public:
db_mysql_Column(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Column(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_autoIncrement(0),
_expression(""),
_generated(0),
_generatedStorage("")
{
}
static std::string static_class_name() { return "db.mysql.Column"; }
/** Getter for attribute autoIncrement
\par In Python:
value = obj.autoIncrement
*/
grt::IntegerRef autoIncrement() const { return _autoIncrement; }
/** Setter for attribute autoIncrement
\par In Python:
obj.autoIncrement = value
*/
virtual void autoIncrement(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_autoIncrement);
_autoIncrement= value;
member_changed("autoIncrement", ovalue, value);
}
/** Getter for attribute expression
The full expression for a generated column as text
\par In Python:
value = obj.expression
*/
grt::StringRef expression() const { return _expression; }
/** Setter for attribute expression
The full expression for a generated column as text
\par In Python:
obj.expression = value
*/
virtual void expression(const grt::StringRef &value)
{
grt::ValueRef ovalue(_expression);
_expression= value;
member_changed("expression", ovalue, value);
}
/** Getter for attribute generated
0 or 1, 1 if generated column
\par In Python:
value = obj.generated
*/
grt::IntegerRef generated() const { return _generated; }
/** Setter for attribute generated
0 or 1, 1 if generated column
\par In Python:
obj.generated = value
*/
virtual void generated(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_generated);
_generated= value;
member_changed("generated", ovalue, value);
}
/** Getter for attribute generatedStorage
VIRTUAL or STORED, for generated columns only
\par In Python:
value = obj.generatedStorage
*/
grt::StringRef generatedStorage() const { return _generatedStorage; }
/** Setter for attribute generatedStorage
VIRTUAL or STORED, for generated columns only
\par In Python:
obj.generatedStorage = value
*/
virtual void generatedStorage(const grt::StringRef &value)
{
grt::ValueRef ovalue(_generatedStorage);
_generatedStorage= value;
member_changed("generatedStorage", ovalue, value);
}
protected:
grt::IntegerRef _autoIncrement;
grt::StringRef _expression;
grt::IntegerRef _generated;
grt::StringRef _generatedStorage;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Column(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Column::create);
{
void (db_mysql_Column::*setter)(const grt::IntegerRef &)= &db_mysql_Column::autoIncrement;
grt::IntegerRef (db_mysql_Column::*getter)() const= &db_mysql_Column::autoIncrement;
meta->bind_member("autoIncrement", new grt::MetaClass::Property<db_mysql_Column,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Column::*setter)(const grt::StringRef &)= &db_mysql_Column::expression;
grt::StringRef (db_mysql_Column::*getter)() const= &db_mysql_Column::expression;
meta->bind_member("expression", new grt::MetaClass::Property<db_mysql_Column,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Column::*setter)(const grt::IntegerRef &)= &db_mysql_Column::generated;
grt::IntegerRef (db_mysql_Column::*getter)() const= &db_mysql_Column::generated;
meta->bind_member("generated", new grt::MetaClass::Property<db_mysql_Column,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Column::*setter)(const grt::StringRef &)= &db_mysql_Column::generatedStorage;
grt::StringRef (db_mysql_Column::*getter)() const= &db_mysql_Column::generatedStorage;
meta->bind_member("generatedStorage", new grt::MetaClass::Property<db_mysql_Column,grt::StringRef >(getter,setter));
}
}
};
class db_mysql_Catalog : public db_Catalog
{
typedef db_Catalog super;
public:
db_mysql_Catalog(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Catalog(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
_logFileGroups.content().__retype(grt::ObjectType, "db.mysql.LogFileGroup");
_schemata.content().__retype(grt::ObjectType, "db.mysql.Schema");
_serverLinks.content().__retype(grt::ObjectType, "db.mysql.ServerLink");
_tablespaces.content().__retype(grt::ObjectType, "db.mysql.Tablespace");
}
static std::string static_class_name() { return "db.mysql.Catalog"; }
// logFileGroups is owned by db_mysql_Catalog
/** Getter for attribute logFileGroups (read-only)
\par In Python:
value = obj.logFileGroups
*/
grt::ListRef<db_mysql_LogFileGroup> logFileGroups() const { return grt::ListRef<db_mysql_LogFileGroup>::cast_from(_logFileGroups); }
private: // the next attribute is read-only
public:
// schemata is owned by db_mysql_Catalog
/** Getter for attribute schemata (read-only)
\par In Python:
value = obj.schemata
*/
grt::ListRef<db_mysql_Schema> schemata() const { return grt::ListRef<db_mysql_Schema>::cast_from(_schemata); }
private: // the next attribute is read-only
public:
// serverLinks is owned by db_mysql_Catalog
/** Getter for attribute serverLinks (read-only)
\par In Python:
value = obj.serverLinks
*/
grt::ListRef<db_mysql_ServerLink> serverLinks() const { return grt::ListRef<db_mysql_ServerLink>::cast_from(_serverLinks); }
private: // the next attribute is read-only
public:
// tablespaces is owned by db_mysql_Catalog
/** Getter for attribute tablespaces (read-only)
\par In Python:
value = obj.tablespaces
*/
grt::ListRef<db_mysql_Tablespace> tablespaces() const { return grt::ListRef<db_mysql_Tablespace>::cast_from(_tablespaces); }
private: // the next attribute is read-only
public:
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Catalog(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Catalog::create);
{
void (db_mysql_Catalog::*setter)(const grt::ListRef<db_mysql_LogFileGroup> &)= 0;
grt::ListRef<db_mysql_LogFileGroup> (db_mysql_Catalog::*getter)() const= 0;
meta->bind_member("logFileGroups", new grt::MetaClass::Property<db_mysql_Catalog,grt::ListRef<db_mysql_LogFileGroup> >(getter,setter));
}
{
void (db_mysql_Catalog::*setter)(const grt::ListRef<db_mysql_Schema> &)= 0;
grt::ListRef<db_mysql_Schema> (db_mysql_Catalog::*getter)() const= 0;
meta->bind_member("schemata", new grt::MetaClass::Property<db_mysql_Catalog,grt::ListRef<db_mysql_Schema> >(getter,setter));
}
{
void (db_mysql_Catalog::*setter)(const grt::ListRef<db_mysql_ServerLink> &)= 0;
grt::ListRef<db_mysql_ServerLink> (db_mysql_Catalog::*getter)() const= 0;
meta->bind_member("serverLinks", new grt::MetaClass::Property<db_mysql_Catalog,grt::ListRef<db_mysql_ServerLink> >(getter,setter));
}
{
void (db_mysql_Catalog::*setter)(const grt::ListRef<db_mysql_Tablespace> &)= 0;
grt::ListRef<db_mysql_Tablespace> (db_mysql_Catalog::*getter)() const= 0;
meta->bind_member("tablespaces", new grt::MetaClass::Property<db_mysql_Catalog,grt::ListRef<db_mysql_Tablespace> >(getter,setter));
}
}
};
/** a MySQL database sequence object */
class db_mysql_Sequence : public db_Sequence
{
typedef db_Sequence super;
public:
db_mysql_Sequence(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Sequence(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.Sequence"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Sequence(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Sequence::create);
}
};
/** a MySQL synonym object */
class db_mysql_Synonym : public db_Synonym
{
typedef db_Synonym super;
public:
db_mysql_Synonym(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Synonym(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.Synonym"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Synonym(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Synonym::create);
}
};
class db_mysql_RoutineGroup : public db_RoutineGroup
{
typedef db_RoutineGroup super;
public:
db_mysql_RoutineGroup(grt::GRT *grt, grt::MetaClass *meta=0)
: db_RoutineGroup(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.RoutineGroup"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_RoutineGroup(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_RoutineGroup::create);
}
};
class db_mysql_Index : public db_Index
{
typedef db_Index super;
public:
db_mysql_Index(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Index(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_algorithm(""),
_indexKind(""),
_keyBlockSize(0),
_lockOption(""),
_withParser("")
{
_columns.content().__retype(grt::ObjectType, "db.mysql.IndexColumn");
}
static std::string static_class_name() { return "db.mysql.Index"; }
/** Getter for attribute algorithm
one of DEFAULT, INPLACE and COPY
\par In Python:
value = obj.algorithm
*/
grt::StringRef algorithm() const { return _algorithm; }
/** Setter for attribute algorithm
one of DEFAULT, INPLACE and COPY
\par In Python:
obj.algorithm = value
*/
virtual void algorithm(const grt::StringRef &value)
{
grt::ValueRef ovalue(_algorithm);
_algorithm= value;
member_changed("algorithm", ovalue, value);
}
// columns is owned by db_mysql_Index
/** Getter for attribute columns (read-only)
\par In Python:
value = obj.columns
*/
grt::ListRef<db_mysql_IndexColumn> columns() const { return grt::ListRef<db_mysql_IndexColumn>::cast_from(_columns); }
private: // the next attribute is read-only
public:
/** Getter for attribute indexKind
one of BTREE, RTREE and HASH
\par In Python:
value = obj.indexKind
*/
grt::StringRef indexKind() const { return _indexKind; }
/** Setter for attribute indexKind
one of BTREE, RTREE and HASH
\par In Python:
obj.indexKind = value
*/
virtual void indexKind(const grt::StringRef &value)
{
grt::ValueRef ovalue(_indexKind);
_indexKind= value;
member_changed("indexKind", ovalue, value);
}
/** Getter for attribute keyBlockSize
\par In Python:
value = obj.keyBlockSize
*/
grt::IntegerRef keyBlockSize() const { return _keyBlockSize; }
/** Setter for attribute keyBlockSize
\par In Python:
obj.keyBlockSize = value
*/
virtual void keyBlockSize(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_keyBlockSize);
_keyBlockSize= value;
member_changed("keyBlockSize", ovalue, value);
}
/** Getter for attribute lockOption
one of DEFAULT, NONE, SHARED and EXCLUSIVE
\par In Python:
value = obj.lockOption
*/
grt::StringRef lockOption() const { return _lockOption; }
/** Setter for attribute lockOption
one of DEFAULT, NONE, SHARED and EXCLUSIVE
\par In Python:
obj.lockOption = value
*/
virtual void lockOption(const grt::StringRef &value)
{
grt::ValueRef ovalue(_lockOption);
_lockOption= value;
member_changed("lockOption", ovalue, value);
}
/** Getter for attribute withParser
\par In Python:
value = obj.withParser
*/
grt::StringRef withParser() const { return _withParser; }
/** Setter for attribute withParser
\par In Python:
obj.withParser = value
*/
virtual void withParser(const grt::StringRef &value)
{
grt::ValueRef ovalue(_withParser);
_withParser= value;
member_changed("withParser", ovalue, value);
}
protected:
grt::StringRef _algorithm;
grt::StringRef _indexKind;
grt::IntegerRef _keyBlockSize;
grt::StringRef _lockOption;
grt::StringRef _withParser;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Index(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Index::create);
{
void (db_mysql_Index::*setter)(const grt::StringRef &)= &db_mysql_Index::algorithm;
grt::StringRef (db_mysql_Index::*getter)() const= &db_mysql_Index::algorithm;
meta->bind_member("algorithm", new grt::MetaClass::Property<db_mysql_Index,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Index::*setter)(const grt::ListRef<db_mysql_IndexColumn> &)= 0;
grt::ListRef<db_mysql_IndexColumn> (db_mysql_Index::*getter)() const= 0;
meta->bind_member("columns", new grt::MetaClass::Property<db_mysql_Index,grt::ListRef<db_mysql_IndexColumn> >(getter,setter));
}
{
void (db_mysql_Index::*setter)(const grt::StringRef &)= &db_mysql_Index::indexKind;
grt::StringRef (db_mysql_Index::*getter)() const= &db_mysql_Index::indexKind;
meta->bind_member("indexKind", new grt::MetaClass::Property<db_mysql_Index,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Index::*setter)(const grt::IntegerRef &)= &db_mysql_Index::keyBlockSize;
grt::IntegerRef (db_mysql_Index::*getter)() const= &db_mysql_Index::keyBlockSize;
meta->bind_member("keyBlockSize", new grt::MetaClass::Property<db_mysql_Index,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Index::*setter)(const grt::StringRef &)= &db_mysql_Index::lockOption;
grt::StringRef (db_mysql_Index::*getter)() const= &db_mysql_Index::lockOption;
meta->bind_member("lockOption", new grt::MetaClass::Property<db_mysql_Index,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Index::*setter)(const grt::StringRef &)= &db_mysql_Index::withParser;
grt::StringRef (db_mysql_Index::*getter)() const= &db_mysql_Index::withParser;
meta->bind_member("withParser", new grt::MetaClass::Property<db_mysql_Index,grt::StringRef >(getter,setter));
}
}
};
class db_mysql_StructuredDatatype : public db_StructuredDatatype
{
typedef db_StructuredDatatype super;
public:
db_mysql_StructuredDatatype(grt::GRT *grt, grt::MetaClass *meta=0)
: db_StructuredDatatype(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.StructuredDatatype"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_StructuredDatatype(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_StructuredDatatype::create);
}
};
class db_mysql_Table : public db_Table
{
typedef db_Table super;
public:
db_mysql_Table(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Table(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_avgRowLength(""),
_checksum(0),
_connectionString(""),
_defaultCharacterSetName(""),
_defaultCollationName(""),
_delayKeyWrite(0),
_keyBlockSize(""),
_maxRows(""),
_mergeInsert(""),
_mergeUnion(""),
_minRows(""),
_nextAutoInc(""),
_packKeys(""),
_partitionCount(0),
_partitionDefinitions(grt, this, false),
_partitionExpression(""),
_partitionKeyAlgorithm(0),
_partitionType(""),
_password(""),
_raidChunkSize(""),
_raidChunks(""),
_raidType(""),
_rowFormat(""),
_statsAutoRecalc(""),
_statsPersistent(""),
_statsSamplePages(0),
_subpartitionCount(0),
_subpartitionExpression(""),
_subpartitionKeyAlgorithm(0),
_subpartitionType(""),
_tableDataDir(""),
_tableEngine(""),
_tableIndexDir(""),
_tableSpace("")
{
_columns.content().__retype(grt::ObjectType, "db.mysql.Column");
_foreignKeys.content().__retype(grt::ObjectType, "db.mysql.ForeignKey");
_indices.content().__retype(grt::ObjectType, "db.mysql.Index");
_triggers.content().__retype(grt::ObjectType, "db.mysql.Trigger");
}
static std::string static_class_name() { return "db.mysql.Table"; }
/** Getter for attribute avgRowLength
\par In Python:
value = obj.avgRowLength
*/
grt::StringRef avgRowLength() const { return _avgRowLength; }
/** Setter for attribute avgRowLength
\par In Python:
obj.avgRowLength = value
*/
virtual void avgRowLength(const grt::StringRef &value)
{
grt::ValueRef ovalue(_avgRowLength);
_avgRowLength= value;
member_changed("avgRowLength", ovalue, value);
}
/** Getter for attribute checksum
\par In Python:
value = obj.checksum
*/
grt::IntegerRef checksum() const { return _checksum; }
/** Setter for attribute checksum
\par In Python:
obj.checksum = value
*/
virtual void checksum(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_checksum);
_checksum= value;
member_changed("checksum", ovalue, value);
}
// columns is owned by db_mysql_Table
/** Getter for attribute columns (read-only)
\par In Python:
value = obj.columns
*/
grt::ListRef<db_mysql_Column> columns() const { return grt::ListRef<db_mysql_Column>::cast_from(_columns); }
private: // the next attribute is read-only
public:
// connection is owned by db_mysql_Table
/** Getter for attribute connection
if this is a federated table the connection is set to the server link object
\par In Python:
value = obj.connection
*/
db_ServerLinkRef connection() const { return _connection; }
/** Setter for attribute connection
if this is a federated table the connection is set to the server link object
\par In Python:
obj.connection = value
*/
virtual void connection(const db_ServerLinkRef &value)
{
grt::ValueRef ovalue(_connection);
_connection= value;
owned_member_changed("connection", ovalue, value);
}
/** Getter for attribute connectionString
if this is a federated table the connection is set to the server link object
\par In Python:
value = obj.connectionString
*/
grt::StringRef connectionString() const { return _connectionString; }
/** Setter for attribute connectionString
if this is a federated table the connection is set to the server link object
\par In Python:
obj.connectionString = value
*/
virtual void connectionString(const grt::StringRef &value)
{
grt::ValueRef ovalue(_connectionString);
_connectionString= value;
member_changed("connectionString", ovalue, value);
}
/** Getter for attribute defaultCharacterSetName
\par In Python:
value = obj.defaultCharacterSetName
*/
grt::StringRef defaultCharacterSetName() const { return _defaultCharacterSetName; }
/** Setter for attribute defaultCharacterSetName
\par In Python:
obj.defaultCharacterSetName = value
*/
virtual void defaultCharacterSetName(const grt::StringRef &value)
{
grt::ValueRef ovalue(_defaultCharacterSetName);
_defaultCharacterSetName= value;
member_changed("defaultCharacterSetName", ovalue, value);
}
/** Getter for attribute defaultCollationName
\par In Python:
value = obj.defaultCollationName
*/
grt::StringRef defaultCollationName() const { return _defaultCollationName; }
/** Setter for attribute defaultCollationName
\par In Python:
obj.defaultCollationName = value
*/
virtual void defaultCollationName(const grt::StringRef &value)
{
grt::ValueRef ovalue(_defaultCollationName);
_defaultCollationName= value;
member_changed("defaultCollationName", ovalue, value);
}
/** Getter for attribute delayKeyWrite
\par In Python:
value = obj.delayKeyWrite
*/
grt::IntegerRef delayKeyWrite() const { return _delayKeyWrite; }
/** Setter for attribute delayKeyWrite
\par In Python:
obj.delayKeyWrite = value
*/
virtual void delayKeyWrite(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_delayKeyWrite);
_delayKeyWrite= value;
member_changed("delayKeyWrite", ovalue, value);
}
// foreignKeys is owned by db_mysql_Table
/** Getter for attribute foreignKeys (read-only)
\par In Python:
value = obj.foreignKeys
*/
grt::ListRef<db_mysql_ForeignKey> foreignKeys() const { return grt::ListRef<db_mysql_ForeignKey>::cast_from(_foreignKeys); }
private: // the next attribute is read-only
public:
// indices is owned by db_mysql_Table
/** Getter for attribute indices (read-only)
\par In Python:
value = obj.indices
*/
grt::ListRef<db_mysql_Index> indices() const { return grt::ListRef<db_mysql_Index>::cast_from(_indices); }
private: // the next attribute is read-only
public:
/** Getter for attribute keyBlockSize
\par In Python:
value = obj.keyBlockSize
*/
grt::StringRef keyBlockSize() const { return _keyBlockSize; }
/** Setter for attribute keyBlockSize
\par In Python:
obj.keyBlockSize = value
*/
virtual void keyBlockSize(const grt::StringRef &value)
{
grt::ValueRef ovalue(_keyBlockSize);
_keyBlockSize= value;
member_changed("keyBlockSize", ovalue, value);
}
/** Getter for attribute maxRows
\par In Python:
value = obj.maxRows
*/
grt::StringRef maxRows() const { return _maxRows; }
/** Setter for attribute maxRows
\par In Python:
obj.maxRows = value
*/
virtual void maxRows(const grt::StringRef &value)
{
grt::ValueRef ovalue(_maxRows);
_maxRows= value;
member_changed("maxRows", ovalue, value);
}
/** Getter for attribute mergeInsert
\par In Python:
value = obj.mergeInsert
*/
grt::StringRef mergeInsert() const { return _mergeInsert; }
/** Setter for attribute mergeInsert
\par In Python:
obj.mergeInsert = value
*/
virtual void mergeInsert(const grt::StringRef &value)
{
grt::ValueRef ovalue(_mergeInsert);
_mergeInsert= value;
member_changed("mergeInsert", ovalue, value);
}
/** Getter for attribute mergeUnion
\par In Python:
value = obj.mergeUnion
*/
grt::StringRef mergeUnion() const { return _mergeUnion; }
/** Setter for attribute mergeUnion
\par In Python:
obj.mergeUnion = value
*/
virtual void mergeUnion(const grt::StringRef &value)
{
grt::ValueRef ovalue(_mergeUnion);
_mergeUnion= value;
member_changed("mergeUnion", ovalue, value);
}
/** Getter for attribute minRows
\par In Python:
value = obj.minRows
*/
grt::StringRef minRows() const { return _minRows; }
/** Setter for attribute minRows
\par In Python:
obj.minRows = value
*/
virtual void minRows(const grt::StringRef &value)
{
grt::ValueRef ovalue(_minRows);
_minRows= value;
member_changed("minRows", ovalue, value);
}
/** Getter for attribute nextAutoInc
\par In Python:
value = obj.nextAutoInc
*/
grt::StringRef nextAutoInc() const { return _nextAutoInc; }
/** Setter for attribute nextAutoInc
\par In Python:
obj.nextAutoInc = value
*/
virtual void nextAutoInc(const grt::StringRef &value)
{
grt::ValueRef ovalue(_nextAutoInc);
_nextAutoInc= value;
member_changed("nextAutoInc", ovalue, value);
}
/** Getter for attribute packKeys
DEFAULT, 0 or 1
\par In Python:
value = obj.packKeys
*/
grt::StringRef packKeys() const { return _packKeys; }
/** Setter for attribute packKeys
DEFAULT, 0 or 1
\par In Python:
obj.packKeys = value
*/
virtual void packKeys(const grt::StringRef &value)
{
grt::ValueRef ovalue(_packKeys);
_packKeys= value;
member_changed("packKeys", ovalue, value);
}
/** Getter for attribute partitionCount
\par In Python:
value = obj.partitionCount
*/
grt::IntegerRef partitionCount() const { return _partitionCount; }
/** Setter for attribute partitionCount
\par In Python:
obj.partitionCount = value
*/
virtual void partitionCount(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_partitionCount);
_partitionCount= value;
member_changed("partitionCount", ovalue, value);
}
// partitionDefinitions is owned by db_mysql_Table
/** Getter for attribute partitionDefinitions (read-only)
\par In Python:
value = obj.partitionDefinitions
*/
grt::ListRef<db_mysql_PartitionDefinition> partitionDefinitions() const { return _partitionDefinitions; }
private: // the next attribute is read-only
virtual void partitionDefinitions(const grt::ListRef<db_mysql_PartitionDefinition> &value)
{
grt::ValueRef ovalue(_partitionDefinitions);
_partitionDefinitions= value;
owned_member_changed("partitionDefinitions", ovalue, value);
}
public:
/** Getter for attribute partitionExpression
a generic expression or a column list
\par In Python:
value = obj.partitionExpression
*/
grt::StringRef partitionExpression() const { return _partitionExpression; }
/** Setter for attribute partitionExpression
a generic expression or a column list
\par In Python:
obj.partitionExpression = value
*/
virtual void partitionExpression(const grt::StringRef &value)
{
grt::ValueRef ovalue(_partitionExpression);
_partitionExpression= value;
member_changed("partitionExpression", ovalue, value);
}
/** Getter for attribute partitionKeyAlgorithm
algorithm used for KEY partition type, can be 1 or 2
\par In Python:
value = obj.partitionKeyAlgorithm
*/
grt::IntegerRef partitionKeyAlgorithm() const { return _partitionKeyAlgorithm; }
/** Setter for attribute partitionKeyAlgorithm
algorithm used for KEY partition type, can be 1 or 2
\par In Python:
obj.partitionKeyAlgorithm = value
*/
virtual void partitionKeyAlgorithm(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_partitionKeyAlgorithm);
_partitionKeyAlgorithm= value;
member_changed("partitionKeyAlgorithm", ovalue, value);
}
/** Getter for attribute partitionType
\par In Python:
value = obj.partitionType
*/
grt::StringRef partitionType() const { return _partitionType; }
/** Setter for attribute partitionType
\par In Python:
obj.partitionType = value
*/
virtual void partitionType(const grt::StringRef &value)
{
grt::ValueRef ovalue(_partitionType);
_partitionType= value;
member_changed("partitionType", ovalue, value);
}
/** Getter for attribute password
\par In Python:
value = obj.password
*/
grt::StringRef password() const { return _password; }
/** Setter for attribute password
\par In Python:
obj.password = value
*/
virtual void password(const grt::StringRef &value)
{
grt::ValueRef ovalue(_password);
_password= value;
member_changed("password", ovalue, value);
}
/** Getter for attribute primaryKey
\par In Python:
value = obj.primaryKey
*/
db_mysql_IndexRef primaryKey() const { return db_mysql_IndexRef::cast_from(_primaryKey); }
/** Setter for attribute primaryKey
\par In Python:
obj.primaryKey = value
*/
virtual void primaryKey(const db_mysql_IndexRef &value) { super::primaryKey(value); }
/** Getter for attribute raidChunkSize
\par In Python:
value = obj.raidChunkSize
*/
grt::StringRef raidChunkSize() const { return _raidChunkSize; }
/** Setter for attribute raidChunkSize
\par In Python:
obj.raidChunkSize = value
*/
virtual void raidChunkSize(const grt::StringRef &value)
{
grt::ValueRef ovalue(_raidChunkSize);
_raidChunkSize= value;
member_changed("raidChunkSize", ovalue, value);
}
/** Getter for attribute raidChunks
\par In Python:
value = obj.raidChunks
*/
grt::StringRef raidChunks() const { return _raidChunks; }
/** Setter for attribute raidChunks
\par In Python:
obj.raidChunks = value
*/
virtual void raidChunks(const grt::StringRef &value)
{
grt::ValueRef ovalue(_raidChunks);
_raidChunks= value;
member_changed("raidChunks", ovalue, value);
}
/** Getter for attribute raidType
\par In Python:
value = obj.raidType
*/
grt::StringRef raidType() const { return _raidType; }
/** Setter for attribute raidType
\par In Python:
obj.raidType = value
*/
virtual void raidType(const grt::StringRef &value)
{
grt::ValueRef ovalue(_raidType);
_raidType= value;
member_changed("raidType", ovalue, value);
}
/** Getter for attribute rowFormat
\par In Python:
value = obj.rowFormat
*/
grt::StringRef rowFormat() const { return _rowFormat; }
/** Setter for attribute rowFormat
\par In Python:
obj.rowFormat = value
*/
virtual void rowFormat(const grt::StringRef &value)
{
grt::ValueRef ovalue(_rowFormat);
_rowFormat= value;
member_changed("rowFormat", ovalue, value);
}
/** Getter for attribute statsAutoRecalc
DEFAULT, 0 or 1
\par In Python:
value = obj.statsAutoRecalc
*/
grt::StringRef statsAutoRecalc() const { return _statsAutoRecalc; }
/** Setter for attribute statsAutoRecalc
DEFAULT, 0 or 1
\par In Python:
obj.statsAutoRecalc = value
*/
virtual void statsAutoRecalc(const grt::StringRef &value)
{
grt::ValueRef ovalue(_statsAutoRecalc);
_statsAutoRecalc= value;
member_changed("statsAutoRecalc", ovalue, value);
}
/** Getter for attribute statsPersistent
DEFAULT, 0 or 1
\par In Python:
value = obj.statsPersistent
*/
grt::StringRef statsPersistent() const { return _statsPersistent; }
/** Setter for attribute statsPersistent
DEFAULT, 0 or 1
\par In Python:
obj.statsPersistent = value
*/
virtual void statsPersistent(const grt::StringRef &value)
{
grt::ValueRef ovalue(_statsPersistent);
_statsPersistent= value;
member_changed("statsPersistent", ovalue, value);
}
/** Getter for attribute statsSamplePages
\par In Python:
value = obj.statsSamplePages
*/
grt::IntegerRef statsSamplePages() const { return _statsSamplePages; }
/** Setter for attribute statsSamplePages
\par In Python:
obj.statsSamplePages = value
*/
virtual void statsSamplePages(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_statsSamplePages);
_statsSamplePages= value;
member_changed("statsSamplePages", ovalue, value);
}
/** Getter for attribute subpartitionCount
\par In Python:
value = obj.subpartitionCount
*/
grt::IntegerRef subpartitionCount() const { return _subpartitionCount; }
/** Setter for attribute subpartitionCount
\par In Python:
obj.subpartitionCount = value
*/
virtual void subpartitionCount(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_subpartitionCount);
_subpartitionCount= value;
member_changed("subpartitionCount", ovalue, value);
}
/** Getter for attribute subpartitionExpression
\par In Python:
value = obj.subpartitionExpression
*/
grt::StringRef subpartitionExpression() const { return _subpartitionExpression; }
/** Setter for attribute subpartitionExpression
\par In Python:
obj.subpartitionExpression = value
*/
virtual void subpartitionExpression(const grt::StringRef &value)
{
grt::ValueRef ovalue(_subpartitionExpression);
_subpartitionExpression= value;
member_changed("subpartitionExpression", ovalue, value);
}
/** Getter for attribute subpartitionKeyAlgorithm
algorithm used for KEY partition type, can be 1 or 2
\par In Python:
value = obj.subpartitionKeyAlgorithm
*/
grt::IntegerRef subpartitionKeyAlgorithm() const { return _subpartitionKeyAlgorithm; }
/** Setter for attribute subpartitionKeyAlgorithm
algorithm used for KEY partition type, can be 1 or 2
\par In Python:
obj.subpartitionKeyAlgorithm = value
*/
virtual void subpartitionKeyAlgorithm(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_subpartitionKeyAlgorithm);
_subpartitionKeyAlgorithm= value;
member_changed("subpartitionKeyAlgorithm", ovalue, value);
}
/** Getter for attribute subpartitionType
\par In Python:
value = obj.subpartitionType
*/
grt::StringRef subpartitionType() const { return _subpartitionType; }
/** Setter for attribute subpartitionType
\par In Python:
obj.subpartitionType = value
*/
virtual void subpartitionType(const grt::StringRef &value)
{
grt::ValueRef ovalue(_subpartitionType);
_subpartitionType= value;
member_changed("subpartitionType", ovalue, value);
}
/** Getter for attribute tableDataDir
\par In Python:
value = obj.tableDataDir
*/
grt::StringRef tableDataDir() const { return _tableDataDir; }
/** Setter for attribute tableDataDir
\par In Python:
obj.tableDataDir = value
*/
virtual void tableDataDir(const grt::StringRef &value)
{
grt::ValueRef ovalue(_tableDataDir);
_tableDataDir= value;
member_changed("tableDataDir", ovalue, value);
}
/** Getter for attribute tableEngine
\par In Python:
value = obj.tableEngine
*/
grt::StringRef tableEngine() const { return _tableEngine; }
/** Setter for attribute tableEngine
\par In Python:
obj.tableEngine = value
*/
virtual void tableEngine(const grt::StringRef &value)
{
grt::ValueRef ovalue(_tableEngine);
_tableEngine= value;
member_changed("tableEngine", ovalue, value);
}
/** Getter for attribute tableIndexDir
\par In Python:
value = obj.tableIndexDir
*/
grt::StringRef tableIndexDir() const { return _tableIndexDir; }
/** Setter for attribute tableIndexDir
\par In Python:
obj.tableIndexDir = value
*/
virtual void tableIndexDir(const grt::StringRef &value)
{
grt::ValueRef ovalue(_tableIndexDir);
_tableIndexDir= value;
member_changed("tableIndexDir", ovalue, value);
}
/** Getter for attribute tableSpace
\par In Python:
value = obj.tableSpace
*/
grt::StringRef tableSpace() const { return _tableSpace; }
/** Setter for attribute tableSpace
\par In Python:
obj.tableSpace = value
*/
virtual void tableSpace(const grt::StringRef &value)
{
grt::ValueRef ovalue(_tableSpace);
_tableSpace= value;
member_changed("tableSpace", ovalue, value);
}
// triggers is owned by db_mysql_Table
/** Getter for attribute triggers (read-only)
\par In Python:
value = obj.triggers
*/
grt::ListRef<db_mysql_Trigger> triggers() const { return grt::ListRef<db_mysql_Trigger>::cast_from(_triggers); }
private: // the next attribute is read-only
public:
protected:
grt::StringRef _avgRowLength;
grt::IntegerRef _checksum;
db_ServerLinkRef _connection;// owned
grt::StringRef _connectionString;
grt::StringRef _defaultCharacterSetName;
grt::StringRef _defaultCollationName;
grt::IntegerRef _delayKeyWrite;
grt::StringRef _keyBlockSize;
grt::StringRef _maxRows;
grt::StringRef _mergeInsert;
grt::StringRef _mergeUnion;
grt::StringRef _minRows;
grt::StringRef _nextAutoInc;
grt::StringRef _packKeys;
grt::IntegerRef _partitionCount;
grt::ListRef<db_mysql_PartitionDefinition> _partitionDefinitions;// owned
grt::StringRef _partitionExpression;
grt::IntegerRef _partitionKeyAlgorithm;
grt::StringRef _partitionType;
grt::StringRef _password;
grt::StringRef _raidChunkSize;
grt::StringRef _raidChunks;
grt::StringRef _raidType;
grt::StringRef _rowFormat;
grt::StringRef _statsAutoRecalc;
grt::StringRef _statsPersistent;
grt::IntegerRef _statsSamplePages;
grt::IntegerRef _subpartitionCount;
grt::StringRef _subpartitionExpression;
grt::IntegerRef _subpartitionKeyAlgorithm;
grt::StringRef _subpartitionType;
grt::StringRef _tableDataDir;
grt::StringRef _tableEngine;
grt::StringRef _tableIndexDir;
grt::StringRef _tableSpace;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Table(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Table::create);
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::avgRowLength;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::avgRowLength;
meta->bind_member("avgRowLength", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::checksum;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::checksum;
meta->bind_member("checksum", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::ListRef<db_mysql_Column> &)= 0;
grt::ListRef<db_mysql_Column> (db_mysql_Table::*getter)() const= 0;
meta->bind_member("columns", new grt::MetaClass::Property<db_mysql_Table,grt::ListRef<db_mysql_Column> >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const db_ServerLinkRef &)= &db_mysql_Table::connection;
db_ServerLinkRef (db_mysql_Table::*getter)() const= &db_mysql_Table::connection;
meta->bind_member("connection", new grt::MetaClass::Property<db_mysql_Table,db_ServerLinkRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::connectionString;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::connectionString;
meta->bind_member("connectionString", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::defaultCharacterSetName;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::defaultCharacterSetName;
meta->bind_member("defaultCharacterSetName", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::defaultCollationName;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::defaultCollationName;
meta->bind_member("defaultCollationName", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::delayKeyWrite;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::delayKeyWrite;
meta->bind_member("delayKeyWrite", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::ListRef<db_mysql_ForeignKey> &)= 0;
grt::ListRef<db_mysql_ForeignKey> (db_mysql_Table::*getter)() const= 0;
meta->bind_member("foreignKeys", new grt::MetaClass::Property<db_mysql_Table,grt::ListRef<db_mysql_ForeignKey> >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::ListRef<db_mysql_Index> &)= 0;
grt::ListRef<db_mysql_Index> (db_mysql_Table::*getter)() const= 0;
meta->bind_member("indices", new grt::MetaClass::Property<db_mysql_Table,grt::ListRef<db_mysql_Index> >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::keyBlockSize;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::keyBlockSize;
meta->bind_member("keyBlockSize", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::maxRows;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::maxRows;
meta->bind_member("maxRows", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::mergeInsert;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::mergeInsert;
meta->bind_member("mergeInsert", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::mergeUnion;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::mergeUnion;
meta->bind_member("mergeUnion", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::minRows;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::minRows;
meta->bind_member("minRows", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::nextAutoInc;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::nextAutoInc;
meta->bind_member("nextAutoInc", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::packKeys;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::packKeys;
meta->bind_member("packKeys", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::partitionCount;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::partitionCount;
meta->bind_member("partitionCount", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::ListRef<db_mysql_PartitionDefinition> &)= &db_mysql_Table::partitionDefinitions;
grt::ListRef<db_mysql_PartitionDefinition> (db_mysql_Table::*getter)() const= &db_mysql_Table::partitionDefinitions;
meta->bind_member("partitionDefinitions", new grt::MetaClass::Property<db_mysql_Table,grt::ListRef<db_mysql_PartitionDefinition> >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::partitionExpression;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::partitionExpression;
meta->bind_member("partitionExpression", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::partitionKeyAlgorithm;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::partitionKeyAlgorithm;
meta->bind_member("partitionKeyAlgorithm", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::partitionType;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::partitionType;
meta->bind_member("partitionType", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::password;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::password;
meta->bind_member("password", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const db_mysql_IndexRef &)= 0;
db_mysql_IndexRef (db_mysql_Table::*getter)() const= 0;
meta->bind_member("primaryKey", new grt::MetaClass::Property<db_mysql_Table,db_mysql_IndexRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::raidChunkSize;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::raidChunkSize;
meta->bind_member("raidChunkSize", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::raidChunks;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::raidChunks;
meta->bind_member("raidChunks", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::raidType;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::raidType;
meta->bind_member("raidType", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::rowFormat;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::rowFormat;
meta->bind_member("rowFormat", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::statsAutoRecalc;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::statsAutoRecalc;
meta->bind_member("statsAutoRecalc", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::statsPersistent;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::statsPersistent;
meta->bind_member("statsPersistent", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::statsSamplePages;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::statsSamplePages;
meta->bind_member("statsSamplePages", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::subpartitionCount;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::subpartitionCount;
meta->bind_member("subpartitionCount", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::subpartitionExpression;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::subpartitionExpression;
meta->bind_member("subpartitionExpression", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::IntegerRef &)= &db_mysql_Table::subpartitionKeyAlgorithm;
grt::IntegerRef (db_mysql_Table::*getter)() const= &db_mysql_Table::subpartitionKeyAlgorithm;
meta->bind_member("subpartitionKeyAlgorithm", new grt::MetaClass::Property<db_mysql_Table,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::subpartitionType;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::subpartitionType;
meta->bind_member("subpartitionType", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::tableDataDir;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::tableDataDir;
meta->bind_member("tableDataDir", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::tableEngine;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::tableEngine;
meta->bind_member("tableEngine", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::tableIndexDir;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::tableIndexDir;
meta->bind_member("tableIndexDir", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::StringRef &)= &db_mysql_Table::tableSpace;
grt::StringRef (db_mysql_Table::*getter)() const= &db_mysql_Table::tableSpace;
meta->bind_member("tableSpace", new grt::MetaClass::Property<db_mysql_Table,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Table::*setter)(const grt::ListRef<db_mysql_Trigger> &)= 0;
grt::ListRef<db_mysql_Trigger> (db_mysql_Table::*getter)() const= 0;
meta->bind_member("triggers", new grt::MetaClass::Property<db_mysql_Table,grt::ListRef<db_mysql_Trigger> >(getter,setter));
}
}
};
class db_mysql_ServerLink : public db_ServerLink
{
typedef db_ServerLink super;
public:
db_mysql_ServerLink(grt::GRT *grt, grt::MetaClass *meta=0)
: db_ServerLink(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.ServerLink"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_ServerLink(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_ServerLink::create);
}
};
class db_mysql_Schema : public db_Schema
{
typedef db_Schema super;
public:
db_mysql_Schema(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Schema(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
_routineGroups.content().__retype(grt::ObjectType, "db.mysql.RoutineGroup");
_routines.content().__retype(grt::ObjectType, "db.mysql.Routine");
_sequences.content().__retype(grt::ObjectType, "db.mysql.Sequence");
_structuredTypes.content().__retype(grt::ObjectType, "db.mysql.StructuredDatatype");
_synonyms.content().__retype(grt::ObjectType, "db.mysql.Synonym");
_tables.content().__retype(grt::ObjectType, "db.mysql.Table");
_views.content().__retype(grt::ObjectType, "db.mysql.View");
}
static std::string static_class_name() { return "db.mysql.Schema"; }
// routineGroups is owned by db_mysql_Schema
/** Getter for attribute routineGroups (read-only)
\par In Python:
value = obj.routineGroups
*/
grt::ListRef<db_mysql_RoutineGroup> routineGroups() const { return grt::ListRef<db_mysql_RoutineGroup>::cast_from(_routineGroups); }
private: // the next attribute is read-only
public:
// routines is owned by db_mysql_Schema
/** Getter for attribute routines (read-only)
\par In Python:
value = obj.routines
*/
grt::ListRef<db_mysql_Routine> routines() const { return grt::ListRef<db_mysql_Routine>::cast_from(_routines); }
private: // the next attribute is read-only
public:
// sequences is owned by db_mysql_Schema
/** Getter for attribute sequences (read-only)
\par In Python:
value = obj.sequences
*/
grt::ListRef<db_mysql_Sequence> sequences() const { return grt::ListRef<db_mysql_Sequence>::cast_from(_sequences); }
private: // the next attribute is read-only
public:
// structuredTypes is owned by db_mysql_Schema
/** Getter for attribute structuredTypes (read-only)
\par In Python:
value = obj.structuredTypes
*/
grt::ListRef<db_mysql_StructuredDatatype> structuredTypes() const { return grt::ListRef<db_mysql_StructuredDatatype>::cast_from(_structuredTypes); }
private: // the next attribute is read-only
public:
// synonyms is owned by db_mysql_Schema
/** Getter for attribute synonyms (read-only)
\par In Python:
value = obj.synonyms
*/
grt::ListRef<db_mysql_Synonym> synonyms() const { return grt::ListRef<db_mysql_Synonym>::cast_from(_synonyms); }
private: // the next attribute is read-only
public:
// tables is owned by db_mysql_Schema
/** Getter for attribute tables (read-only)
\par In Python:
value = obj.tables
*/
grt::ListRef<db_mysql_Table> tables() const { return grt::ListRef<db_mysql_Table>::cast_from(_tables); }
private: // the next attribute is read-only
public:
// views is owned by db_mysql_Schema
/** Getter for attribute views (read-only)
\par In Python:
value = obj.views
*/
grt::ListRef<db_mysql_View> views() const { return grt::ListRef<db_mysql_View>::cast_from(_views); }
private: // the next attribute is read-only
public:
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Schema(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Schema::create);
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_RoutineGroup> &)= 0;
grt::ListRef<db_mysql_RoutineGroup> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("routineGroups", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_RoutineGroup> >(getter,setter));
}
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_Routine> &)= 0;
grt::ListRef<db_mysql_Routine> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("routines", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_Routine> >(getter,setter));
}
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_Sequence> &)= 0;
grt::ListRef<db_mysql_Sequence> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("sequences", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_Sequence> >(getter,setter));
}
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_StructuredDatatype> &)= 0;
grt::ListRef<db_mysql_StructuredDatatype> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("structuredTypes", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_StructuredDatatype> >(getter,setter));
}
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_Synonym> &)= 0;
grt::ListRef<db_mysql_Synonym> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("synonyms", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_Synonym> >(getter,setter));
}
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_Table> &)= 0;
grt::ListRef<db_mysql_Table> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("tables", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_Table> >(getter,setter));
}
{
void (db_mysql_Schema::*setter)(const grt::ListRef<db_mysql_View> &)= 0;
grt::ListRef<db_mysql_View> (db_mysql_Schema::*getter)() const= 0;
meta->bind_member("views", new grt::MetaClass::Property<db_mysql_Schema,grt::ListRef<db_mysql_View> >(getter,setter));
}
}
};
class db_mysql_Tablespace : public db_Tablespace
{
typedef db_Tablespace super;
public:
db_mysql_Tablespace(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Tablespace(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_engine(""),
_nodeGroupId(0),
_wait(0)
{
}
static std::string static_class_name() { return "db.mysql.Tablespace"; }
/** Getter for attribute engine
NDB and InnoDB are supported
\par In Python:
value = obj.engine
*/
grt::StringRef engine() const { return _engine; }
/** Setter for attribute engine
NDB and InnoDB are supported
\par In Python:
obj.engine = value
*/
virtual void engine(const grt::StringRef &value)
{
grt::ValueRef ovalue(_engine);
_engine= value;
member_changed("engine", ovalue, value);
}
/** Getter for attribute nodeGroupId
the same id as used for a logfile group
\par In Python:
value = obj.nodeGroupId
*/
grt::IntegerRef nodeGroupId() const { return _nodeGroupId; }
/** Setter for attribute nodeGroupId
the same id as used for a logfile group
\par In Python:
obj.nodeGroupId = value
*/
virtual void nodeGroupId(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_nodeGroupId);
_nodeGroupId= value;
member_changed("nodeGroupId", ovalue, value);
}
/** Getter for attribute wait
no documentation yet
\par In Python:
value = obj.wait
*/
grt::IntegerRef wait() const { return _wait; }
/** Setter for attribute wait
no documentation yet
\par In Python:
obj.wait = value
*/
virtual void wait(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_wait);
_wait= value;
member_changed("wait", ovalue, value);
}
protected:
grt::StringRef _engine;
grt::IntegerRef _nodeGroupId;
grt::IntegerRef _wait;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Tablespace(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Tablespace::create);
{
void (db_mysql_Tablespace::*setter)(const grt::StringRef &)= &db_mysql_Tablespace::engine;
grt::StringRef (db_mysql_Tablespace::*getter)() const= &db_mysql_Tablespace::engine;
meta->bind_member("engine", new grt::MetaClass::Property<db_mysql_Tablespace,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Tablespace::*setter)(const grt::IntegerRef &)= &db_mysql_Tablespace::nodeGroupId;
grt::IntegerRef (db_mysql_Tablespace::*getter)() const= &db_mysql_Tablespace::nodeGroupId;
meta->bind_member("nodeGroupId", new grt::MetaClass::Property<db_mysql_Tablespace,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_Tablespace::*setter)(const grt::IntegerRef &)= &db_mysql_Tablespace::wait;
grt::IntegerRef (db_mysql_Tablespace::*getter)() const= &db_mysql_Tablespace::wait;
meta->bind_member("wait", new grt::MetaClass::Property<db_mysql_Tablespace,grt::IntegerRef >(getter,setter));
}
}
};
class db_mysql_LogFileGroup : public db_LogFileGroup
{
typedef db_LogFileGroup super;
public:
db_mysql_LogFileGroup(grt::GRT *grt, grt::MetaClass *meta=0)
: db_LogFileGroup(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_engine(""),
_nodeGroupId(0),
_wait(0)
{
}
static std::string static_class_name() { return "db.mysql.LogFileGroup"; }
/** Getter for attribute engine
usually only NDB makes sense
\par In Python:
value = obj.engine
*/
grt::StringRef engine() const { return _engine; }
/** Setter for attribute engine
usually only NDB makes sense
\par In Python:
obj.engine = value
*/
virtual void engine(const grt::StringRef &value)
{
grt::ValueRef ovalue(_engine);
_engine= value;
member_changed("engine", ovalue, value);
}
/** Getter for attribute nodeGroupId
a unique id for the group, used in a tablespace
\par In Python:
value = obj.nodeGroupId
*/
grt::IntegerRef nodeGroupId() const { return _nodeGroupId; }
/** Setter for attribute nodeGroupId
a unique id for the group, used in a tablespace
\par In Python:
obj.nodeGroupId = value
*/
virtual void nodeGroupId(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_nodeGroupId);
_nodeGroupId= value;
member_changed("nodeGroupId", ovalue, value);
}
/** Getter for attribute wait
no documentation yet
\par In Python:
value = obj.wait
*/
grt::IntegerRef wait() const { return _wait; }
/** Setter for attribute wait
no documentation yet
\par In Python:
obj.wait = value
*/
virtual void wait(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_wait);
_wait= value;
member_changed("wait", ovalue, value);
}
protected:
grt::StringRef _engine;
grt::IntegerRef _nodeGroupId;
grt::IntegerRef _wait;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_LogFileGroup(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_LogFileGroup::create);
{
void (db_mysql_LogFileGroup::*setter)(const grt::StringRef &)= &db_mysql_LogFileGroup::engine;
grt::StringRef (db_mysql_LogFileGroup::*getter)() const= &db_mysql_LogFileGroup::engine;
meta->bind_member("engine", new grt::MetaClass::Property<db_mysql_LogFileGroup,grt::StringRef >(getter,setter));
}
{
void (db_mysql_LogFileGroup::*setter)(const grt::IntegerRef &)= &db_mysql_LogFileGroup::nodeGroupId;
grt::IntegerRef (db_mysql_LogFileGroup::*getter)() const= &db_mysql_LogFileGroup::nodeGroupId;
meta->bind_member("nodeGroupId", new grt::MetaClass::Property<db_mysql_LogFileGroup,grt::IntegerRef >(getter,setter));
}
{
void (db_mysql_LogFileGroup::*setter)(const grt::IntegerRef &)= &db_mysql_LogFileGroup::wait;
grt::IntegerRef (db_mysql_LogFileGroup::*getter)() const= &db_mysql_LogFileGroup::wait;
meta->bind_member("wait", new grt::MetaClass::Property<db_mysql_LogFileGroup,grt::IntegerRef >(getter,setter));
}
}
};
class db_mysql_Event : public db_Event
{
typedef db_Event super;
public:
db_mysql_Event(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Event(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.Event"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Event(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Event::create);
}
};
class db_mysql_Trigger : public db_Trigger
{
typedef db_Trigger super;
public:
db_mysql_Trigger(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Trigger(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.Trigger"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Trigger(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Trigger::create);
}
};
class db_mysql_Routine : public db_Routine
{
typedef db_Routine super;
public:
db_mysql_Routine(grt::GRT *grt, grt::MetaClass *meta=0)
: db_Routine(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_params(grt, this, false),
_returnDatatype(""),
_security("")
{
}
static std::string static_class_name() { return "db.mysql.Routine"; }
// params is owned by db_mysql_Routine
/** Getter for attribute params (read-only)
\par In Python:
value = obj.params
*/
grt::ListRef<db_mysql_RoutineParam> params() const { return _params; }
private: // the next attribute is read-only
virtual void params(const grt::ListRef<db_mysql_RoutineParam> &value)
{
grt::ValueRef ovalue(_params);
_params= value;
owned_member_changed("params", ovalue, value);
}
public:
/** Getter for attribute returnDatatype
\par In Python:
value = obj.returnDatatype
*/
grt::StringRef returnDatatype() const { return _returnDatatype; }
/** Setter for attribute returnDatatype
\par In Python:
obj.returnDatatype = value
*/
virtual void returnDatatype(const grt::StringRef &value)
{
grt::ValueRef ovalue(_returnDatatype);
_returnDatatype= value;
member_changed("returnDatatype", ovalue, value);
}
/** Getter for attribute security
\par In Python:
value = obj.security
*/
grt::StringRef security() const { return _security; }
/** Setter for attribute security
\par In Python:
obj.security = value
*/
virtual void security(const grt::StringRef &value)
{
grt::ValueRef ovalue(_security);
_security= value;
member_changed("security", ovalue, value);
}
protected:
grt::ListRef<db_mysql_RoutineParam> _params;// owned
grt::StringRef _returnDatatype;
grt::StringRef _security;
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_Routine(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_Routine::create);
{
void (db_mysql_Routine::*setter)(const grt::ListRef<db_mysql_RoutineParam> &)= &db_mysql_Routine::params;
grt::ListRef<db_mysql_RoutineParam> (db_mysql_Routine::*getter)() const= &db_mysql_Routine::params;
meta->bind_member("params", new grt::MetaClass::Property<db_mysql_Routine,grt::ListRef<db_mysql_RoutineParam> >(getter,setter));
}
{
void (db_mysql_Routine::*setter)(const grt::StringRef &)= &db_mysql_Routine::returnDatatype;
grt::StringRef (db_mysql_Routine::*getter)() const= &db_mysql_Routine::returnDatatype;
meta->bind_member("returnDatatype", new grt::MetaClass::Property<db_mysql_Routine,grt::StringRef >(getter,setter));
}
{
void (db_mysql_Routine::*setter)(const grt::StringRef &)= &db_mysql_Routine::security;
grt::StringRef (db_mysql_Routine::*getter)() const= &db_mysql_Routine::security;
meta->bind_member("security", new grt::MetaClass::Property<db_mysql_Routine,grt::StringRef >(getter,setter));
}
}
};
class db_mysql_View : public db_View
{
typedef db_View super;
public:
db_mysql_View(grt::GRT *grt, grt::MetaClass *meta=0)
: db_View(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "db.mysql.View"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new db_mysql_View(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&db_mysql_View::create);
}
};
inline void register_structs_db_mysql_xml()
{
grt::internal::ClassRegistry::register_class<db_mysql_StorageEngine>();
grt::internal::ClassRegistry::register_class<db_mysql_StorageEngineOption>();
grt::internal::ClassRegistry::register_class<db_mysql_RoutineParam>();
grt::internal::ClassRegistry::register_class<db_mysql_PartitionDefinition>();
grt::internal::ClassRegistry::register_class<db_mysql_ForeignKey>();
grt::internal::ClassRegistry::register_class<db_mysql_IndexColumn>();
grt::internal::ClassRegistry::register_class<db_mysql_SimpleDatatype>();
grt::internal::ClassRegistry::register_class<db_mysql_Column>();
grt::internal::ClassRegistry::register_class<db_mysql_Catalog>();
grt::internal::ClassRegistry::register_class<db_mysql_Sequence>();
grt::internal::ClassRegistry::register_class<db_mysql_Synonym>();
grt::internal::ClassRegistry::register_class<db_mysql_RoutineGroup>();
grt::internal::ClassRegistry::register_class<db_mysql_Index>();
grt::internal::ClassRegistry::register_class<db_mysql_StructuredDatatype>();
grt::internal::ClassRegistry::register_class<db_mysql_Table>();
grt::internal::ClassRegistry::register_class<db_mysql_ServerLink>();
grt::internal::ClassRegistry::register_class<db_mysql_Schema>();
grt::internal::ClassRegistry::register_class<db_mysql_Tablespace>();
grt::internal::ClassRegistry::register_class<db_mysql_LogFileGroup>();
grt::internal::ClassRegistry::register_class<db_mysql_Event>();
grt::internal::ClassRegistry::register_class<db_mysql_Trigger>();
grt::internal::ClassRegistry::register_class<db_mysql_Routine>();
grt::internal::ClassRegistry::register_class<db_mysql_View>();
}
#ifdef AUTO_REGISTER_GRT_CLASSES
static struct _autoreg__structs_db_mysql_xml { _autoreg__structs_db_mysql_xml() { register_structs_db_mysql_xml(); } } __autoreg__structs_db_mysql_xml;
#endif
|