/usr/lib/python2.7/dist-packages/pmt/pmt_swig.py is in gnuradio 3.7.11-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
import importlib
pkg = __name__.rpartition('.')[0]
mname = '.'.join((pkg, '_pmt_swig')).lstrip('.')
try:
return importlib.import_module(mname)
except ImportError:
return importlib.import_module('_pmt_swig')
_pmt_swig = swig_import_helper()
del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_pmt_swig', [dirname(__file__)])
except ImportError:
import _pmt_swig
return _pmt_swig
try:
_mod = imp.load_module('_pmt_swig', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
_pmt_swig = swig_import_helper()
del swig_import_helper
else:
import _pmt_swig
del _swig_python_version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
object.__setattr__(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
def _swig_setattr_nondynamic_method(set):
def set_attr(self, name, value):
if (name == "thisown"):
return self.this.own(value)
if hasattr(self, name) or (name == "this"):
set(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
class SwigPyIterator(object):
"""Proxy of C++ swig::SwigPyIterator class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _pmt_swig.delete_SwigPyIterator
__del__ = lambda self: None
def value(self):
"""value(SwigPyIterator self) -> PyObject *"""
return _pmt_swig.SwigPyIterator_value(self)
def incr(self, n=1):
"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator_incr(self, n)
def decr(self, n=1):
"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator_decr(self, n)
def distance(self, x):
"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
return _pmt_swig.SwigPyIterator_distance(self, x)
def equal(self, x):
"""
equal(SwigPyIterator self, SwigPyIterator x) -> bool
pmt::equal recursively compares the contents of pairs and vectors, applying pmt::eqv on other objects such as numbers and symbols. pmt::equal may fail to terminate if its arguments are circular data structures.
"""
return _pmt_swig.SwigPyIterator_equal(self, x)
def copy(self):
"""copy(SwigPyIterator self) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator_copy(self)
def next(self):
"""next(SwigPyIterator self) -> PyObject *"""
return _pmt_swig.SwigPyIterator_next(self)
def __next__(self):
"""__next__(SwigPyIterator self) -> PyObject *"""
return _pmt_swig.SwigPyIterator___next__(self)
def previous(self):
"""previous(SwigPyIterator self) -> PyObject *"""
return _pmt_swig.SwigPyIterator_previous(self)
def advance(self, n):
"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator_advance(self, n)
def __eq__(self, x):
"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _pmt_swig.SwigPyIterator___eq__(self, x)
def __ne__(self, x):
"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _pmt_swig.SwigPyIterator___ne__(self, x)
def __iadd__(self, n):
"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator___iadd__(self, n)
def __isub__(self, n):
"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator___isub__(self, n)
def __add__(self, n):
"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _pmt_swig.SwigPyIterator___add__(self, n)
def __sub__(self, *args):
"""
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
"""
return _pmt_swig.SwigPyIterator___sub__(self, *args)
def __iter__(self):
return self
SwigPyIterator_swigregister = _pmt_swig.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
class pmt_vector_int8(object):
"""Proxy of C++ std::vector<(int8_t)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_int8 self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_int8_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_int8 self) -> bool"""
return _pmt_swig.pmt_vector_int8___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_int8 self) -> bool"""
return _pmt_swig.pmt_vector_int8___bool__(self)
def __len__(self):
"""__len__(pmt_vector_int8 self) -> std::vector< signed char >::size_type"""
return _pmt_swig.pmt_vector_int8___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_int8 self, std::vector< signed char >::difference_type i, std::vector< signed char >::difference_type j) -> pmt_vector_int8"""
return _pmt_swig.pmt_vector_int8___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_int8 self, std::vector< signed char >::difference_type i, std::vector< signed char >::difference_type j)
__setslice__(pmt_vector_int8 self, std::vector< signed char >::difference_type i, std::vector< signed char >::difference_type j, pmt_vector_int8 v)
"""
return _pmt_swig.pmt_vector_int8___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_int8 self, std::vector< signed char >::difference_type i, std::vector< signed char >::difference_type j)"""
return _pmt_swig.pmt_vector_int8___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_int8 self, std::vector< signed char >::difference_type i)
__delitem__(pmt_vector_int8 self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_int8___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_int8 self, PySliceObject * slice) -> pmt_vector_int8
__getitem__(pmt_vector_int8 self, std::vector< signed char >::difference_type i) -> std::vector< signed char >::value_type const &
"""
return _pmt_swig.pmt_vector_int8___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_int8 self, PySliceObject * slice, pmt_vector_int8 v)
__setitem__(pmt_vector_int8 self, PySliceObject * slice)
__setitem__(pmt_vector_int8 self, std::vector< signed char >::difference_type i, std::vector< signed char >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int8___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_int8 self) -> std::vector< signed char >::value_type"""
return _pmt_swig.pmt_vector_int8_pop(self)
def append(self, x):
"""append(pmt_vector_int8 self, std::vector< signed char >::value_type const & x)"""
return _pmt_swig.pmt_vector_int8_append(self, x)
def empty(self):
"""empty(pmt_vector_int8 self) -> bool"""
return _pmt_swig.pmt_vector_int8_empty(self)
def size(self):
"""size(pmt_vector_int8 self) -> std::vector< signed char >::size_type"""
return _pmt_swig.pmt_vector_int8_size(self)
def swap(self, v):
"""swap(pmt_vector_int8 self, pmt_vector_int8 v)"""
return _pmt_swig.pmt_vector_int8_swap(self, v)
def begin(self):
"""begin(pmt_vector_int8 self) -> std::vector< signed char >::iterator"""
return _pmt_swig.pmt_vector_int8_begin(self)
def end(self):
"""end(pmt_vector_int8 self) -> std::vector< signed char >::iterator"""
return _pmt_swig.pmt_vector_int8_end(self)
def rbegin(self):
"""rbegin(pmt_vector_int8 self) -> std::vector< signed char >::reverse_iterator"""
return _pmt_swig.pmt_vector_int8_rbegin(self)
def rend(self):
"""rend(pmt_vector_int8 self) -> std::vector< signed char >::reverse_iterator"""
return _pmt_swig.pmt_vector_int8_rend(self)
def clear(self):
"""clear(pmt_vector_int8 self)"""
return _pmt_swig.pmt_vector_int8_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_int8 self) -> std::vector< signed char >::allocator_type"""
return _pmt_swig.pmt_vector_int8_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_int8 self)"""
return _pmt_swig.pmt_vector_int8_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_int8 self, std::vector< signed char >::iterator pos) -> std::vector< signed char >::iterator
erase(pmt_vector_int8 self, std::vector< signed char >::iterator first, std::vector< signed char >::iterator last) -> std::vector< signed char >::iterator
"""
return _pmt_swig.pmt_vector_int8_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(int8_t)> self) -> pmt_vector_int8
__init__(std::vector<(int8_t)> self, pmt_vector_int8 arg2) -> pmt_vector_int8
__init__(std::vector<(int8_t)> self, std::vector< signed char >::size_type size) -> pmt_vector_int8
__init__(std::vector<(int8_t)> self, std::vector< signed char >::size_type size, std::vector< signed char >::value_type const & value) -> pmt_vector_int8
"""
this = _pmt_swig.new_pmt_vector_int8(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_int8 self, std::vector< signed char >::value_type const & x)"""
return _pmt_swig.pmt_vector_int8_push_back(self, x)
def front(self):
"""front(pmt_vector_int8 self) -> std::vector< signed char >::value_type const &"""
return _pmt_swig.pmt_vector_int8_front(self)
def back(self):
"""back(pmt_vector_int8 self) -> std::vector< signed char >::value_type const &"""
return _pmt_swig.pmt_vector_int8_back(self)
def assign(self, n, x):
"""assign(pmt_vector_int8 self, std::vector< signed char >::size_type n, std::vector< signed char >::value_type const & x)"""
return _pmt_swig.pmt_vector_int8_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_int8 self, std::vector< signed char >::size_type new_size)
resize(pmt_vector_int8 self, std::vector< signed char >::size_type new_size, std::vector< signed char >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int8_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_int8 self, std::vector< signed char >::iterator pos, std::vector< signed char >::value_type const & x) -> std::vector< signed char >::iterator
insert(pmt_vector_int8 self, std::vector< signed char >::iterator pos, std::vector< signed char >::size_type n, std::vector< signed char >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int8_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_int8 self, std::vector< signed char >::size_type n)"""
return _pmt_swig.pmt_vector_int8_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_int8 self) -> std::vector< signed char >::size_type"""
return _pmt_swig.pmt_vector_int8_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_int8
__del__ = lambda self: None
pmt_vector_int8_swigregister = _pmt_swig.pmt_vector_int8_swigregister
pmt_vector_int8_swigregister(pmt_vector_int8)
class pmt_vector_uint8(object):
"""Proxy of C++ std::vector<(uint8_t)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_uint8 self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_uint8_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_uint8 self) -> bool"""
return _pmt_swig.pmt_vector_uint8___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_uint8 self) -> bool"""
return _pmt_swig.pmt_vector_uint8___bool__(self)
def __len__(self):
"""__len__(pmt_vector_uint8 self) -> std::vector< unsigned char >::size_type"""
return _pmt_swig.pmt_vector_uint8___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i, std::vector< unsigned char >::difference_type j) -> pmt_vector_uint8"""
return _pmt_swig.pmt_vector_uint8___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i, std::vector< unsigned char >::difference_type j)
__setslice__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i, std::vector< unsigned char >::difference_type j, pmt_vector_uint8 v)
"""
return _pmt_swig.pmt_vector_uint8___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i, std::vector< unsigned char >::difference_type j)"""
return _pmt_swig.pmt_vector_uint8___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i)
__delitem__(pmt_vector_uint8 self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_uint8___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_uint8 self, PySliceObject * slice) -> pmt_vector_uint8
__getitem__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i) -> std::vector< unsigned char >::value_type const &
"""
return _pmt_swig.pmt_vector_uint8___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_uint8 self, PySliceObject * slice, pmt_vector_uint8 v)
__setitem__(pmt_vector_uint8 self, PySliceObject * slice)
__setitem__(pmt_vector_uint8 self, std::vector< unsigned char >::difference_type i, std::vector< unsigned char >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint8___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_uint8 self) -> std::vector< unsigned char >::value_type"""
return _pmt_swig.pmt_vector_uint8_pop(self)
def append(self, x):
"""append(pmt_vector_uint8 self, std::vector< unsigned char >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint8_append(self, x)
def empty(self):
"""empty(pmt_vector_uint8 self) -> bool"""
return _pmt_swig.pmt_vector_uint8_empty(self)
def size(self):
"""size(pmt_vector_uint8 self) -> std::vector< unsigned char >::size_type"""
return _pmt_swig.pmt_vector_uint8_size(self)
def swap(self, v):
"""swap(pmt_vector_uint8 self, pmt_vector_uint8 v)"""
return _pmt_swig.pmt_vector_uint8_swap(self, v)
def begin(self):
"""begin(pmt_vector_uint8 self) -> std::vector< unsigned char >::iterator"""
return _pmt_swig.pmt_vector_uint8_begin(self)
def end(self):
"""end(pmt_vector_uint8 self) -> std::vector< unsigned char >::iterator"""
return _pmt_swig.pmt_vector_uint8_end(self)
def rbegin(self):
"""rbegin(pmt_vector_uint8 self) -> std::vector< unsigned char >::reverse_iterator"""
return _pmt_swig.pmt_vector_uint8_rbegin(self)
def rend(self):
"""rend(pmt_vector_uint8 self) -> std::vector< unsigned char >::reverse_iterator"""
return _pmt_swig.pmt_vector_uint8_rend(self)
def clear(self):
"""clear(pmt_vector_uint8 self)"""
return _pmt_swig.pmt_vector_uint8_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_uint8 self) -> std::vector< unsigned char >::allocator_type"""
return _pmt_swig.pmt_vector_uint8_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_uint8 self)"""
return _pmt_swig.pmt_vector_uint8_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_uint8 self, std::vector< unsigned char >::iterator pos) -> std::vector< unsigned char >::iterator
erase(pmt_vector_uint8 self, std::vector< unsigned char >::iterator first, std::vector< unsigned char >::iterator last) -> std::vector< unsigned char >::iterator
"""
return _pmt_swig.pmt_vector_uint8_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(uint8_t)> self) -> pmt_vector_uint8
__init__(std::vector<(uint8_t)> self, pmt_vector_uint8 arg2) -> pmt_vector_uint8
__init__(std::vector<(uint8_t)> self, std::vector< unsigned char >::size_type size) -> pmt_vector_uint8
__init__(std::vector<(uint8_t)> self, std::vector< unsigned char >::size_type size, std::vector< unsigned char >::value_type const & value) -> pmt_vector_uint8
"""
this = _pmt_swig.new_pmt_vector_uint8(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_uint8 self, std::vector< unsigned char >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint8_push_back(self, x)
def front(self):
"""front(pmt_vector_uint8 self) -> std::vector< unsigned char >::value_type const &"""
return _pmt_swig.pmt_vector_uint8_front(self)
def back(self):
"""back(pmt_vector_uint8 self) -> std::vector< unsigned char >::value_type const &"""
return _pmt_swig.pmt_vector_uint8_back(self)
def assign(self, n, x):
"""assign(pmt_vector_uint8 self, std::vector< unsigned char >::size_type n, std::vector< unsigned char >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint8_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_uint8 self, std::vector< unsigned char >::size_type new_size)
resize(pmt_vector_uint8 self, std::vector< unsigned char >::size_type new_size, std::vector< unsigned char >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint8_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_uint8 self, std::vector< unsigned char >::iterator pos, std::vector< unsigned char >::value_type const & x) -> std::vector< unsigned char >::iterator
insert(pmt_vector_uint8 self, std::vector< unsigned char >::iterator pos, std::vector< unsigned char >::size_type n, std::vector< unsigned char >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint8_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_uint8 self, std::vector< unsigned char >::size_type n)"""
return _pmt_swig.pmt_vector_uint8_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_uint8 self) -> std::vector< unsigned char >::size_type"""
return _pmt_swig.pmt_vector_uint8_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_uint8
__del__ = lambda self: None
pmt_vector_uint8_swigregister = _pmt_swig.pmt_vector_uint8_swigregister
pmt_vector_uint8_swigregister(pmt_vector_uint8)
class pmt_vector_int16(object):
"""Proxy of C++ std::vector<(int16_t)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_int16 self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_int16_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_int16 self) -> bool"""
return _pmt_swig.pmt_vector_int16___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_int16 self) -> bool"""
return _pmt_swig.pmt_vector_int16___bool__(self)
def __len__(self):
"""__len__(pmt_vector_int16 self) -> std::vector< short >::size_type"""
return _pmt_swig.pmt_vector_int16___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_int16 self, std::vector< short >::difference_type i, std::vector< short >::difference_type j) -> pmt_vector_int16"""
return _pmt_swig.pmt_vector_int16___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_int16 self, std::vector< short >::difference_type i, std::vector< short >::difference_type j)
__setslice__(pmt_vector_int16 self, std::vector< short >::difference_type i, std::vector< short >::difference_type j, pmt_vector_int16 v)
"""
return _pmt_swig.pmt_vector_int16___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_int16 self, std::vector< short >::difference_type i, std::vector< short >::difference_type j)"""
return _pmt_swig.pmt_vector_int16___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_int16 self, std::vector< short >::difference_type i)
__delitem__(pmt_vector_int16 self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_int16___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_int16 self, PySliceObject * slice) -> pmt_vector_int16
__getitem__(pmt_vector_int16 self, std::vector< short >::difference_type i) -> std::vector< short >::value_type const &
"""
return _pmt_swig.pmt_vector_int16___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_int16 self, PySliceObject * slice, pmt_vector_int16 v)
__setitem__(pmt_vector_int16 self, PySliceObject * slice)
__setitem__(pmt_vector_int16 self, std::vector< short >::difference_type i, std::vector< short >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int16___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_int16 self) -> std::vector< short >::value_type"""
return _pmt_swig.pmt_vector_int16_pop(self)
def append(self, x):
"""append(pmt_vector_int16 self, std::vector< short >::value_type const & x)"""
return _pmt_swig.pmt_vector_int16_append(self, x)
def empty(self):
"""empty(pmt_vector_int16 self) -> bool"""
return _pmt_swig.pmt_vector_int16_empty(self)
def size(self):
"""size(pmt_vector_int16 self) -> std::vector< short >::size_type"""
return _pmt_swig.pmt_vector_int16_size(self)
def swap(self, v):
"""swap(pmt_vector_int16 self, pmt_vector_int16 v)"""
return _pmt_swig.pmt_vector_int16_swap(self, v)
def begin(self):
"""begin(pmt_vector_int16 self) -> std::vector< short >::iterator"""
return _pmt_swig.pmt_vector_int16_begin(self)
def end(self):
"""end(pmt_vector_int16 self) -> std::vector< short >::iterator"""
return _pmt_swig.pmt_vector_int16_end(self)
def rbegin(self):
"""rbegin(pmt_vector_int16 self) -> std::vector< short >::reverse_iterator"""
return _pmt_swig.pmt_vector_int16_rbegin(self)
def rend(self):
"""rend(pmt_vector_int16 self) -> std::vector< short >::reverse_iterator"""
return _pmt_swig.pmt_vector_int16_rend(self)
def clear(self):
"""clear(pmt_vector_int16 self)"""
return _pmt_swig.pmt_vector_int16_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_int16 self) -> std::vector< short >::allocator_type"""
return _pmt_swig.pmt_vector_int16_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_int16 self)"""
return _pmt_swig.pmt_vector_int16_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_int16 self, std::vector< short >::iterator pos) -> std::vector< short >::iterator
erase(pmt_vector_int16 self, std::vector< short >::iterator first, std::vector< short >::iterator last) -> std::vector< short >::iterator
"""
return _pmt_swig.pmt_vector_int16_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(int16_t)> self) -> pmt_vector_int16
__init__(std::vector<(int16_t)> self, pmt_vector_int16 arg2) -> pmt_vector_int16
__init__(std::vector<(int16_t)> self, std::vector< short >::size_type size) -> pmt_vector_int16
__init__(std::vector<(int16_t)> self, std::vector< short >::size_type size, std::vector< short >::value_type const & value) -> pmt_vector_int16
"""
this = _pmt_swig.new_pmt_vector_int16(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_int16 self, std::vector< short >::value_type const & x)"""
return _pmt_swig.pmt_vector_int16_push_back(self, x)
def front(self):
"""front(pmt_vector_int16 self) -> std::vector< short >::value_type const &"""
return _pmt_swig.pmt_vector_int16_front(self)
def back(self):
"""back(pmt_vector_int16 self) -> std::vector< short >::value_type const &"""
return _pmt_swig.pmt_vector_int16_back(self)
def assign(self, n, x):
"""assign(pmt_vector_int16 self, std::vector< short >::size_type n, std::vector< short >::value_type const & x)"""
return _pmt_swig.pmt_vector_int16_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_int16 self, std::vector< short >::size_type new_size)
resize(pmt_vector_int16 self, std::vector< short >::size_type new_size, std::vector< short >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int16_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_int16 self, std::vector< short >::iterator pos, std::vector< short >::value_type const & x) -> std::vector< short >::iterator
insert(pmt_vector_int16 self, std::vector< short >::iterator pos, std::vector< short >::size_type n, std::vector< short >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int16_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_int16 self, std::vector< short >::size_type n)"""
return _pmt_swig.pmt_vector_int16_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_int16 self) -> std::vector< short >::size_type"""
return _pmt_swig.pmt_vector_int16_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_int16
__del__ = lambda self: None
pmt_vector_int16_swigregister = _pmt_swig.pmt_vector_int16_swigregister
pmt_vector_int16_swigregister(pmt_vector_int16)
class pmt_vector_uint16(object):
"""Proxy of C++ std::vector<(uint16_t)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_uint16 self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_uint16_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_uint16 self) -> bool"""
return _pmt_swig.pmt_vector_uint16___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_uint16 self) -> bool"""
return _pmt_swig.pmt_vector_uint16___bool__(self)
def __len__(self):
"""__len__(pmt_vector_uint16 self) -> std::vector< unsigned short >::size_type"""
return _pmt_swig.pmt_vector_uint16___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i, std::vector< unsigned short >::difference_type j) -> pmt_vector_uint16"""
return _pmt_swig.pmt_vector_uint16___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i, std::vector< unsigned short >::difference_type j)
__setslice__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i, std::vector< unsigned short >::difference_type j, pmt_vector_uint16 v)
"""
return _pmt_swig.pmt_vector_uint16___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i, std::vector< unsigned short >::difference_type j)"""
return _pmt_swig.pmt_vector_uint16___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i)
__delitem__(pmt_vector_uint16 self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_uint16___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_uint16 self, PySliceObject * slice) -> pmt_vector_uint16
__getitem__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i) -> std::vector< unsigned short >::value_type const &
"""
return _pmt_swig.pmt_vector_uint16___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_uint16 self, PySliceObject * slice, pmt_vector_uint16 v)
__setitem__(pmt_vector_uint16 self, PySliceObject * slice)
__setitem__(pmt_vector_uint16 self, std::vector< unsigned short >::difference_type i, std::vector< unsigned short >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint16___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_uint16 self) -> std::vector< unsigned short >::value_type"""
return _pmt_swig.pmt_vector_uint16_pop(self)
def append(self, x):
"""append(pmt_vector_uint16 self, std::vector< unsigned short >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint16_append(self, x)
def empty(self):
"""empty(pmt_vector_uint16 self) -> bool"""
return _pmt_swig.pmt_vector_uint16_empty(self)
def size(self):
"""size(pmt_vector_uint16 self) -> std::vector< unsigned short >::size_type"""
return _pmt_swig.pmt_vector_uint16_size(self)
def swap(self, v):
"""swap(pmt_vector_uint16 self, pmt_vector_uint16 v)"""
return _pmt_swig.pmt_vector_uint16_swap(self, v)
def begin(self):
"""begin(pmt_vector_uint16 self) -> std::vector< unsigned short >::iterator"""
return _pmt_swig.pmt_vector_uint16_begin(self)
def end(self):
"""end(pmt_vector_uint16 self) -> std::vector< unsigned short >::iterator"""
return _pmt_swig.pmt_vector_uint16_end(self)
def rbegin(self):
"""rbegin(pmt_vector_uint16 self) -> std::vector< unsigned short >::reverse_iterator"""
return _pmt_swig.pmt_vector_uint16_rbegin(self)
def rend(self):
"""rend(pmt_vector_uint16 self) -> std::vector< unsigned short >::reverse_iterator"""
return _pmt_swig.pmt_vector_uint16_rend(self)
def clear(self):
"""clear(pmt_vector_uint16 self)"""
return _pmt_swig.pmt_vector_uint16_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_uint16 self) -> std::vector< unsigned short >::allocator_type"""
return _pmt_swig.pmt_vector_uint16_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_uint16 self)"""
return _pmt_swig.pmt_vector_uint16_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_uint16 self, std::vector< unsigned short >::iterator pos) -> std::vector< unsigned short >::iterator
erase(pmt_vector_uint16 self, std::vector< unsigned short >::iterator first, std::vector< unsigned short >::iterator last) -> std::vector< unsigned short >::iterator
"""
return _pmt_swig.pmt_vector_uint16_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(uint16_t)> self) -> pmt_vector_uint16
__init__(std::vector<(uint16_t)> self, pmt_vector_uint16 arg2) -> pmt_vector_uint16
__init__(std::vector<(uint16_t)> self, std::vector< unsigned short >::size_type size) -> pmt_vector_uint16
__init__(std::vector<(uint16_t)> self, std::vector< unsigned short >::size_type size, std::vector< unsigned short >::value_type const & value) -> pmt_vector_uint16
"""
this = _pmt_swig.new_pmt_vector_uint16(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_uint16 self, std::vector< unsigned short >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint16_push_back(self, x)
def front(self):
"""front(pmt_vector_uint16 self) -> std::vector< unsigned short >::value_type const &"""
return _pmt_swig.pmt_vector_uint16_front(self)
def back(self):
"""back(pmt_vector_uint16 self) -> std::vector< unsigned short >::value_type const &"""
return _pmt_swig.pmt_vector_uint16_back(self)
def assign(self, n, x):
"""assign(pmt_vector_uint16 self, std::vector< unsigned short >::size_type n, std::vector< unsigned short >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint16_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_uint16 self, std::vector< unsigned short >::size_type new_size)
resize(pmt_vector_uint16 self, std::vector< unsigned short >::size_type new_size, std::vector< unsigned short >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint16_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_uint16 self, std::vector< unsigned short >::iterator pos, std::vector< unsigned short >::value_type const & x) -> std::vector< unsigned short >::iterator
insert(pmt_vector_uint16 self, std::vector< unsigned short >::iterator pos, std::vector< unsigned short >::size_type n, std::vector< unsigned short >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint16_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_uint16 self, std::vector< unsigned short >::size_type n)"""
return _pmt_swig.pmt_vector_uint16_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_uint16 self) -> std::vector< unsigned short >::size_type"""
return _pmt_swig.pmt_vector_uint16_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_uint16
__del__ = lambda self: None
pmt_vector_uint16_swigregister = _pmt_swig.pmt_vector_uint16_swigregister
pmt_vector_uint16_swigregister(pmt_vector_uint16)
class pmt_vector_int32(object):
"""Proxy of C++ std::vector<(int32_t)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_int32 self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_int32_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_int32 self) -> bool"""
return _pmt_swig.pmt_vector_int32___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_int32 self) -> bool"""
return _pmt_swig.pmt_vector_int32___bool__(self)
def __len__(self):
"""__len__(pmt_vector_int32 self) -> std::vector< int >::size_type"""
return _pmt_swig.pmt_vector_int32___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_int32 self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> pmt_vector_int32"""
return _pmt_swig.pmt_vector_int32___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_int32 self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
__setslice__(pmt_vector_int32 self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, pmt_vector_int32 v)
"""
return _pmt_swig.pmt_vector_int32___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_int32 self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
return _pmt_swig.pmt_vector_int32___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_int32 self, std::vector< int >::difference_type i)
__delitem__(pmt_vector_int32 self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_int32___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_int32 self, PySliceObject * slice) -> pmt_vector_int32
__getitem__(pmt_vector_int32 self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
"""
return _pmt_swig.pmt_vector_int32___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_int32 self, PySliceObject * slice, pmt_vector_int32 v)
__setitem__(pmt_vector_int32 self, PySliceObject * slice)
__setitem__(pmt_vector_int32 self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int32___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_int32 self) -> std::vector< int >::value_type"""
return _pmt_swig.pmt_vector_int32_pop(self)
def append(self, x):
"""append(pmt_vector_int32 self, std::vector< int >::value_type const & x)"""
return _pmt_swig.pmt_vector_int32_append(self, x)
def empty(self):
"""empty(pmt_vector_int32 self) -> bool"""
return _pmt_swig.pmt_vector_int32_empty(self)
def size(self):
"""size(pmt_vector_int32 self) -> std::vector< int >::size_type"""
return _pmt_swig.pmt_vector_int32_size(self)
def swap(self, v):
"""swap(pmt_vector_int32 self, pmt_vector_int32 v)"""
return _pmt_swig.pmt_vector_int32_swap(self, v)
def begin(self):
"""begin(pmt_vector_int32 self) -> std::vector< int >::iterator"""
return _pmt_swig.pmt_vector_int32_begin(self)
def end(self):
"""end(pmt_vector_int32 self) -> std::vector< int >::iterator"""
return _pmt_swig.pmt_vector_int32_end(self)
def rbegin(self):
"""rbegin(pmt_vector_int32 self) -> std::vector< int >::reverse_iterator"""
return _pmt_swig.pmt_vector_int32_rbegin(self)
def rend(self):
"""rend(pmt_vector_int32 self) -> std::vector< int >::reverse_iterator"""
return _pmt_swig.pmt_vector_int32_rend(self)
def clear(self):
"""clear(pmt_vector_int32 self)"""
return _pmt_swig.pmt_vector_int32_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_int32 self) -> std::vector< int >::allocator_type"""
return _pmt_swig.pmt_vector_int32_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_int32 self)"""
return _pmt_swig.pmt_vector_int32_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_int32 self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
erase(pmt_vector_int32 self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
"""
return _pmt_swig.pmt_vector_int32_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(int32_t)> self) -> pmt_vector_int32
__init__(std::vector<(int32_t)> self, pmt_vector_int32 arg2) -> pmt_vector_int32
__init__(std::vector<(int32_t)> self, std::vector< int >::size_type size) -> pmt_vector_int32
__init__(std::vector<(int32_t)> self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> pmt_vector_int32
"""
this = _pmt_swig.new_pmt_vector_int32(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_int32 self, std::vector< int >::value_type const & x)"""
return _pmt_swig.pmt_vector_int32_push_back(self, x)
def front(self):
"""front(pmt_vector_int32 self) -> std::vector< int >::value_type const &"""
return _pmt_swig.pmt_vector_int32_front(self)
def back(self):
"""back(pmt_vector_int32 self) -> std::vector< int >::value_type const &"""
return _pmt_swig.pmt_vector_int32_back(self)
def assign(self, n, x):
"""assign(pmt_vector_int32 self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
return _pmt_swig.pmt_vector_int32_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_int32 self, std::vector< int >::size_type new_size)
resize(pmt_vector_int32 self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int32_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_int32 self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
insert(pmt_vector_int32 self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
"""
return _pmt_swig.pmt_vector_int32_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_int32 self, std::vector< int >::size_type n)"""
return _pmt_swig.pmt_vector_int32_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_int32 self) -> std::vector< int >::size_type"""
return _pmt_swig.pmt_vector_int32_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_int32
__del__ = lambda self: None
pmt_vector_int32_swigregister = _pmt_swig.pmt_vector_int32_swigregister
pmt_vector_int32_swigregister(pmt_vector_int32)
class pmt_vector_uint32(object):
"""Proxy of C++ std::vector<(uint32_t)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_uint32 self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_uint32_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_uint32 self) -> bool"""
return _pmt_swig.pmt_vector_uint32___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_uint32 self) -> bool"""
return _pmt_swig.pmt_vector_uint32___bool__(self)
def __len__(self):
"""__len__(pmt_vector_uint32 self) -> std::vector< unsigned int >::size_type"""
return _pmt_swig.pmt_vector_uint32___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j) -> pmt_vector_uint32"""
return _pmt_swig.pmt_vector_uint32___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j)
__setslice__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j, pmt_vector_uint32 v)
"""
return _pmt_swig.pmt_vector_uint32___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::difference_type j)"""
return _pmt_swig.pmt_vector_uint32___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i)
__delitem__(pmt_vector_uint32 self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_uint32___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_uint32 self, PySliceObject * slice) -> pmt_vector_uint32
__getitem__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i) -> std::vector< unsigned int >::value_type const &
"""
return _pmt_swig.pmt_vector_uint32___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_uint32 self, PySliceObject * slice, pmt_vector_uint32 v)
__setitem__(pmt_vector_uint32 self, PySliceObject * slice)
__setitem__(pmt_vector_uint32 self, std::vector< unsigned int >::difference_type i, std::vector< unsigned int >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint32___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_uint32 self) -> std::vector< unsigned int >::value_type"""
return _pmt_swig.pmt_vector_uint32_pop(self)
def append(self, x):
"""append(pmt_vector_uint32 self, std::vector< unsigned int >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint32_append(self, x)
def empty(self):
"""empty(pmt_vector_uint32 self) -> bool"""
return _pmt_swig.pmt_vector_uint32_empty(self)
def size(self):
"""size(pmt_vector_uint32 self) -> std::vector< unsigned int >::size_type"""
return _pmt_swig.pmt_vector_uint32_size(self)
def swap(self, v):
"""swap(pmt_vector_uint32 self, pmt_vector_uint32 v)"""
return _pmt_swig.pmt_vector_uint32_swap(self, v)
def begin(self):
"""begin(pmt_vector_uint32 self) -> std::vector< unsigned int >::iterator"""
return _pmt_swig.pmt_vector_uint32_begin(self)
def end(self):
"""end(pmt_vector_uint32 self) -> std::vector< unsigned int >::iterator"""
return _pmt_swig.pmt_vector_uint32_end(self)
def rbegin(self):
"""rbegin(pmt_vector_uint32 self) -> std::vector< unsigned int >::reverse_iterator"""
return _pmt_swig.pmt_vector_uint32_rbegin(self)
def rend(self):
"""rend(pmt_vector_uint32 self) -> std::vector< unsigned int >::reverse_iterator"""
return _pmt_swig.pmt_vector_uint32_rend(self)
def clear(self):
"""clear(pmt_vector_uint32 self)"""
return _pmt_swig.pmt_vector_uint32_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_uint32 self) -> std::vector< unsigned int >::allocator_type"""
return _pmt_swig.pmt_vector_uint32_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_uint32 self)"""
return _pmt_swig.pmt_vector_uint32_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_uint32 self, std::vector< unsigned int >::iterator pos) -> std::vector< unsigned int >::iterator
erase(pmt_vector_uint32 self, std::vector< unsigned int >::iterator first, std::vector< unsigned int >::iterator last) -> std::vector< unsigned int >::iterator
"""
return _pmt_swig.pmt_vector_uint32_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(uint32_t)> self) -> pmt_vector_uint32
__init__(std::vector<(uint32_t)> self, pmt_vector_uint32 arg2) -> pmt_vector_uint32
__init__(std::vector<(uint32_t)> self, std::vector< unsigned int >::size_type size) -> pmt_vector_uint32
__init__(std::vector<(uint32_t)> self, std::vector< unsigned int >::size_type size, std::vector< unsigned int >::value_type const & value) -> pmt_vector_uint32
"""
this = _pmt_swig.new_pmt_vector_uint32(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_uint32 self, std::vector< unsigned int >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint32_push_back(self, x)
def front(self):
"""front(pmt_vector_uint32 self) -> std::vector< unsigned int >::value_type const &"""
return _pmt_swig.pmt_vector_uint32_front(self)
def back(self):
"""back(pmt_vector_uint32 self) -> std::vector< unsigned int >::value_type const &"""
return _pmt_swig.pmt_vector_uint32_back(self)
def assign(self, n, x):
"""assign(pmt_vector_uint32 self, std::vector< unsigned int >::size_type n, std::vector< unsigned int >::value_type const & x)"""
return _pmt_swig.pmt_vector_uint32_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_uint32 self, std::vector< unsigned int >::size_type new_size)
resize(pmt_vector_uint32 self, std::vector< unsigned int >::size_type new_size, std::vector< unsigned int >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint32_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_uint32 self, std::vector< unsigned int >::iterator pos, std::vector< unsigned int >::value_type const & x) -> std::vector< unsigned int >::iterator
insert(pmt_vector_uint32 self, std::vector< unsigned int >::iterator pos, std::vector< unsigned int >::size_type n, std::vector< unsigned int >::value_type const & x)
"""
return _pmt_swig.pmt_vector_uint32_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_uint32 self, std::vector< unsigned int >::size_type n)"""
return _pmt_swig.pmt_vector_uint32_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_uint32 self) -> std::vector< unsigned int >::size_type"""
return _pmt_swig.pmt_vector_uint32_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_uint32
__del__ = lambda self: None
pmt_vector_uint32_swigregister = _pmt_swig.pmt_vector_uint32_swigregister
pmt_vector_uint32_swigregister(pmt_vector_uint32)
class pmt_vector_float(object):
"""Proxy of C++ std::vector<(float)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_float self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_float_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_float self) -> bool"""
return _pmt_swig.pmt_vector_float___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_float self) -> bool"""
return _pmt_swig.pmt_vector_float___bool__(self)
def __len__(self):
"""__len__(pmt_vector_float self) -> std::vector< float >::size_type"""
return _pmt_swig.pmt_vector_float___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_float self, std::vector< float >::difference_type i, std::vector< float >::difference_type j) -> pmt_vector_float"""
return _pmt_swig.pmt_vector_float___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_float self, std::vector< float >::difference_type i, std::vector< float >::difference_type j)
__setslice__(pmt_vector_float self, std::vector< float >::difference_type i, std::vector< float >::difference_type j, pmt_vector_float v)
"""
return _pmt_swig.pmt_vector_float___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_float self, std::vector< float >::difference_type i, std::vector< float >::difference_type j)"""
return _pmt_swig.pmt_vector_float___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_float self, std::vector< float >::difference_type i)
__delitem__(pmt_vector_float self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_float___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_float self, PySliceObject * slice) -> pmt_vector_float
__getitem__(pmt_vector_float self, std::vector< float >::difference_type i) -> std::vector< float >::value_type const &
"""
return _pmt_swig.pmt_vector_float___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_float self, PySliceObject * slice, pmt_vector_float v)
__setitem__(pmt_vector_float self, PySliceObject * slice)
__setitem__(pmt_vector_float self, std::vector< float >::difference_type i, std::vector< float >::value_type const & x)
"""
return _pmt_swig.pmt_vector_float___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_float self) -> std::vector< float >::value_type"""
return _pmt_swig.pmt_vector_float_pop(self)
def append(self, x):
"""append(pmt_vector_float self, std::vector< float >::value_type const & x)"""
return _pmt_swig.pmt_vector_float_append(self, x)
def empty(self):
"""empty(pmt_vector_float self) -> bool"""
return _pmt_swig.pmt_vector_float_empty(self)
def size(self):
"""size(pmt_vector_float self) -> std::vector< float >::size_type"""
return _pmt_swig.pmt_vector_float_size(self)
def swap(self, v):
"""swap(pmt_vector_float self, pmt_vector_float v)"""
return _pmt_swig.pmt_vector_float_swap(self, v)
def begin(self):
"""begin(pmt_vector_float self) -> std::vector< float >::iterator"""
return _pmt_swig.pmt_vector_float_begin(self)
def end(self):
"""end(pmt_vector_float self) -> std::vector< float >::iterator"""
return _pmt_swig.pmt_vector_float_end(self)
def rbegin(self):
"""rbegin(pmt_vector_float self) -> std::vector< float >::reverse_iterator"""
return _pmt_swig.pmt_vector_float_rbegin(self)
def rend(self):
"""rend(pmt_vector_float self) -> std::vector< float >::reverse_iterator"""
return _pmt_swig.pmt_vector_float_rend(self)
def clear(self):
"""clear(pmt_vector_float self)"""
return _pmt_swig.pmt_vector_float_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_float self) -> std::vector< float >::allocator_type"""
return _pmt_swig.pmt_vector_float_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_float self)"""
return _pmt_swig.pmt_vector_float_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_float self, std::vector< float >::iterator pos) -> std::vector< float >::iterator
erase(pmt_vector_float self, std::vector< float >::iterator first, std::vector< float >::iterator last) -> std::vector< float >::iterator
"""
return _pmt_swig.pmt_vector_float_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(float)> self) -> pmt_vector_float
__init__(std::vector<(float)> self, pmt_vector_float arg2) -> pmt_vector_float
__init__(std::vector<(float)> self, std::vector< float >::size_type size) -> pmt_vector_float
__init__(std::vector<(float)> self, std::vector< float >::size_type size, std::vector< float >::value_type const & value) -> pmt_vector_float
"""
this = _pmt_swig.new_pmt_vector_float(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_float self, std::vector< float >::value_type const & x)"""
return _pmt_swig.pmt_vector_float_push_back(self, x)
def front(self):
"""front(pmt_vector_float self) -> std::vector< float >::value_type const &"""
return _pmt_swig.pmt_vector_float_front(self)
def back(self):
"""back(pmt_vector_float self) -> std::vector< float >::value_type const &"""
return _pmt_swig.pmt_vector_float_back(self)
def assign(self, n, x):
"""assign(pmt_vector_float self, std::vector< float >::size_type n, std::vector< float >::value_type const & x)"""
return _pmt_swig.pmt_vector_float_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_float self, std::vector< float >::size_type new_size)
resize(pmt_vector_float self, std::vector< float >::size_type new_size, std::vector< float >::value_type const & x)
"""
return _pmt_swig.pmt_vector_float_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_float self, std::vector< float >::iterator pos, std::vector< float >::value_type const & x) -> std::vector< float >::iterator
insert(pmt_vector_float self, std::vector< float >::iterator pos, std::vector< float >::size_type n, std::vector< float >::value_type const & x)
"""
return _pmt_swig.pmt_vector_float_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_float self, std::vector< float >::size_type n)"""
return _pmt_swig.pmt_vector_float_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_float self) -> std::vector< float >::size_type"""
return _pmt_swig.pmt_vector_float_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_float
__del__ = lambda self: None
pmt_vector_float_swigregister = _pmt_swig.pmt_vector_float_swigregister
pmt_vector_float_swigregister(pmt_vector_float)
class pmt_vector_double(object):
"""Proxy of C++ std::vector<(double)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_double self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_double_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_double self) -> bool"""
return _pmt_swig.pmt_vector_double___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_double self) -> bool"""
return _pmt_swig.pmt_vector_double___bool__(self)
def __len__(self):
"""__len__(pmt_vector_double self) -> std::vector< double >::size_type"""
return _pmt_swig.pmt_vector_double___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_double self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> pmt_vector_double"""
return _pmt_swig.pmt_vector_double___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_double self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
__setslice__(pmt_vector_double self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, pmt_vector_double v)
"""
return _pmt_swig.pmt_vector_double___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_double self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"""
return _pmt_swig.pmt_vector_double___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_double self, std::vector< double >::difference_type i)
__delitem__(pmt_vector_double self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_double___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_double self, PySliceObject * slice) -> pmt_vector_double
__getitem__(pmt_vector_double self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &
"""
return _pmt_swig.pmt_vector_double___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_double self, PySliceObject * slice, pmt_vector_double v)
__setitem__(pmt_vector_double self, PySliceObject * slice)
__setitem__(pmt_vector_double self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)
"""
return _pmt_swig.pmt_vector_double___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_double self) -> std::vector< double >::value_type"""
return _pmt_swig.pmt_vector_double_pop(self)
def append(self, x):
"""append(pmt_vector_double self, std::vector< double >::value_type const & x)"""
return _pmt_swig.pmt_vector_double_append(self, x)
def empty(self):
"""empty(pmt_vector_double self) -> bool"""
return _pmt_swig.pmt_vector_double_empty(self)
def size(self):
"""size(pmt_vector_double self) -> std::vector< double >::size_type"""
return _pmt_swig.pmt_vector_double_size(self)
def swap(self, v):
"""swap(pmt_vector_double self, pmt_vector_double v)"""
return _pmt_swig.pmt_vector_double_swap(self, v)
def begin(self):
"""begin(pmt_vector_double self) -> std::vector< double >::iterator"""
return _pmt_swig.pmt_vector_double_begin(self)
def end(self):
"""end(pmt_vector_double self) -> std::vector< double >::iterator"""
return _pmt_swig.pmt_vector_double_end(self)
def rbegin(self):
"""rbegin(pmt_vector_double self) -> std::vector< double >::reverse_iterator"""
return _pmt_swig.pmt_vector_double_rbegin(self)
def rend(self):
"""rend(pmt_vector_double self) -> std::vector< double >::reverse_iterator"""
return _pmt_swig.pmt_vector_double_rend(self)
def clear(self):
"""clear(pmt_vector_double self)"""
return _pmt_swig.pmt_vector_double_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_double self) -> std::vector< double >::allocator_type"""
return _pmt_swig.pmt_vector_double_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_double self)"""
return _pmt_swig.pmt_vector_double_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_double self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
erase(pmt_vector_double self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator
"""
return _pmt_swig.pmt_vector_double_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(double)> self) -> pmt_vector_double
__init__(std::vector<(double)> self, pmt_vector_double arg2) -> pmt_vector_double
__init__(std::vector<(double)> self, std::vector< double >::size_type size) -> pmt_vector_double
__init__(std::vector<(double)> self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> pmt_vector_double
"""
this = _pmt_swig.new_pmt_vector_double(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_double self, std::vector< double >::value_type const & x)"""
return _pmt_swig.pmt_vector_double_push_back(self, x)
def front(self):
"""front(pmt_vector_double self) -> std::vector< double >::value_type const &"""
return _pmt_swig.pmt_vector_double_front(self)
def back(self):
"""back(pmt_vector_double self) -> std::vector< double >::value_type const &"""
return _pmt_swig.pmt_vector_double_back(self)
def assign(self, n, x):
"""assign(pmt_vector_double self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)"""
return _pmt_swig.pmt_vector_double_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_double self, std::vector< double >::size_type new_size)
resize(pmt_vector_double self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)
"""
return _pmt_swig.pmt_vector_double_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_double self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
insert(pmt_vector_double self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
"""
return _pmt_swig.pmt_vector_double_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_double self, std::vector< double >::size_type n)"""
return _pmt_swig.pmt_vector_double_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_double self) -> std::vector< double >::size_type"""
return _pmt_swig.pmt_vector_double_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_double
__del__ = lambda self: None
pmt_vector_double_swigregister = _pmt_swig.pmt_vector_double_swigregister
pmt_vector_double_swigregister(pmt_vector_double)
class pmt_vector_cfloat(object):
"""Proxy of C++ std::vector<(std::complex<(float)>)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_cfloat self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_cfloat_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_cfloat self) -> bool"""
return _pmt_swig.pmt_vector_cfloat___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_cfloat self) -> bool"""
return _pmt_swig.pmt_vector_cfloat___bool__(self)
def __len__(self):
"""__len__(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::size_type"""
return _pmt_swig.pmt_vector_cfloat___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i, std::vector< std::complex< float > >::difference_type j) -> pmt_vector_cfloat"""
return _pmt_swig.pmt_vector_cfloat___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i, std::vector< std::complex< float > >::difference_type j)
__setslice__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i, std::vector< std::complex< float > >::difference_type j, pmt_vector_cfloat v)
"""
return _pmt_swig.pmt_vector_cfloat___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i, std::vector< std::complex< float > >::difference_type j)"""
return _pmt_swig.pmt_vector_cfloat___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i)
__delitem__(pmt_vector_cfloat self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_cfloat___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_cfloat self, PySliceObject * slice) -> pmt_vector_cfloat
__getitem__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i) -> std::vector< std::complex< float > >::value_type const &
"""
return _pmt_swig.pmt_vector_cfloat___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_cfloat self, PySliceObject * slice, pmt_vector_cfloat v)
__setitem__(pmt_vector_cfloat self, PySliceObject * slice)
__setitem__(pmt_vector_cfloat self, std::vector< std::complex< float > >::difference_type i, std::vector< std::complex< float > >::value_type const & x)
"""
return _pmt_swig.pmt_vector_cfloat___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::value_type"""
return _pmt_swig.pmt_vector_cfloat_pop(self)
def append(self, x):
"""append(pmt_vector_cfloat self, std::vector< std::complex< float > >::value_type const & x)"""
return _pmt_swig.pmt_vector_cfloat_append(self, x)
def empty(self):
"""empty(pmt_vector_cfloat self) -> bool"""
return _pmt_swig.pmt_vector_cfloat_empty(self)
def size(self):
"""size(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::size_type"""
return _pmt_swig.pmt_vector_cfloat_size(self)
def swap(self, v):
"""swap(pmt_vector_cfloat self, pmt_vector_cfloat v)"""
return _pmt_swig.pmt_vector_cfloat_swap(self, v)
def begin(self):
"""begin(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::iterator"""
return _pmt_swig.pmt_vector_cfloat_begin(self)
def end(self):
"""end(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::iterator"""
return _pmt_swig.pmt_vector_cfloat_end(self)
def rbegin(self):
"""rbegin(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::reverse_iterator"""
return _pmt_swig.pmt_vector_cfloat_rbegin(self)
def rend(self):
"""rend(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::reverse_iterator"""
return _pmt_swig.pmt_vector_cfloat_rend(self)
def clear(self):
"""clear(pmt_vector_cfloat self)"""
return _pmt_swig.pmt_vector_cfloat_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::allocator_type"""
return _pmt_swig.pmt_vector_cfloat_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_cfloat self)"""
return _pmt_swig.pmt_vector_cfloat_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_cfloat self, std::vector< std::complex< float > >::iterator pos) -> std::vector< std::complex< float > >::iterator
erase(pmt_vector_cfloat self, std::vector< std::complex< float > >::iterator first, std::vector< std::complex< float > >::iterator last) -> std::vector< std::complex< float > >::iterator
"""
return _pmt_swig.pmt_vector_cfloat_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(std::complex<(float)>)> self) -> pmt_vector_cfloat
__init__(std::vector<(std::complex<(float)>)> self, pmt_vector_cfloat arg2) -> pmt_vector_cfloat
__init__(std::vector<(std::complex<(float)>)> self, std::vector< std::complex< float > >::size_type size) -> pmt_vector_cfloat
__init__(std::vector<(std::complex<(float)>)> self, std::vector< std::complex< float > >::size_type size, std::vector< std::complex< float > >::value_type const & value) -> pmt_vector_cfloat
"""
this = _pmt_swig.new_pmt_vector_cfloat(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_cfloat self, std::vector< std::complex< float > >::value_type const & x)"""
return _pmt_swig.pmt_vector_cfloat_push_back(self, x)
def front(self):
"""front(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::value_type const &"""
return _pmt_swig.pmt_vector_cfloat_front(self)
def back(self):
"""back(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::value_type const &"""
return _pmt_swig.pmt_vector_cfloat_back(self)
def assign(self, n, x):
"""assign(pmt_vector_cfloat self, std::vector< std::complex< float > >::size_type n, std::vector< std::complex< float > >::value_type const & x)"""
return _pmt_swig.pmt_vector_cfloat_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_cfloat self, std::vector< std::complex< float > >::size_type new_size)
resize(pmt_vector_cfloat self, std::vector< std::complex< float > >::size_type new_size, std::vector< std::complex< float > >::value_type const & x)
"""
return _pmt_swig.pmt_vector_cfloat_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_cfloat self, std::vector< std::complex< float > >::iterator pos, std::vector< std::complex< float > >::value_type const & x) -> std::vector< std::complex< float > >::iterator
insert(pmt_vector_cfloat self, std::vector< std::complex< float > >::iterator pos, std::vector< std::complex< float > >::size_type n, std::vector< std::complex< float > >::value_type const & x)
"""
return _pmt_swig.pmt_vector_cfloat_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_cfloat self, std::vector< std::complex< float > >::size_type n)"""
return _pmt_swig.pmt_vector_cfloat_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_cfloat self) -> std::vector< std::complex< float > >::size_type"""
return _pmt_swig.pmt_vector_cfloat_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_cfloat
__del__ = lambda self: None
pmt_vector_cfloat_swigregister = _pmt_swig.pmt_vector_cfloat_swigregister
pmt_vector_cfloat_swigregister(pmt_vector_cfloat)
class pmt_vector_cdouble(object):
"""Proxy of C++ std::vector<(std::complex<(double)>)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def iterator(self):
"""iterator(pmt_vector_cdouble self) -> SwigPyIterator"""
return _pmt_swig.pmt_vector_cdouble_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(pmt_vector_cdouble self) -> bool"""
return _pmt_swig.pmt_vector_cdouble___nonzero__(self)
def __bool__(self):
"""__bool__(pmt_vector_cdouble self) -> bool"""
return _pmt_swig.pmt_vector_cdouble___bool__(self)
def __len__(self):
"""__len__(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::size_type"""
return _pmt_swig.pmt_vector_cdouble___len__(self)
def __getslice__(self, i, j):
"""__getslice__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) -> pmt_vector_cdouble"""
return _pmt_swig.pmt_vector_cdouble___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)
__setslice__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, pmt_vector_cdouble v)
"""
return _pmt_swig.pmt_vector_cdouble___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)"""
return _pmt_swig.pmt_vector_cdouble___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i)
__delitem__(pmt_vector_cdouble self, PySliceObject * slice)
"""
return _pmt_swig.pmt_vector_cdouble___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(pmt_vector_cdouble self, PySliceObject * slice) -> pmt_vector_cdouble
__getitem__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i) -> std::vector< std::complex< double > >::value_type const &
"""
return _pmt_swig.pmt_vector_cdouble___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(pmt_vector_cdouble self, PySliceObject * slice, pmt_vector_cdouble v)
__setitem__(pmt_vector_cdouble self, PySliceObject * slice)
__setitem__(pmt_vector_cdouble self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::value_type const & x)
"""
return _pmt_swig.pmt_vector_cdouble___setitem__(self, *args)
def pop(self):
"""pop(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::value_type"""
return _pmt_swig.pmt_vector_cdouble_pop(self)
def append(self, x):
"""append(pmt_vector_cdouble self, std::vector< std::complex< double > >::value_type const & x)"""
return _pmt_swig.pmt_vector_cdouble_append(self, x)
def empty(self):
"""empty(pmt_vector_cdouble self) -> bool"""
return _pmt_swig.pmt_vector_cdouble_empty(self)
def size(self):
"""size(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::size_type"""
return _pmt_swig.pmt_vector_cdouble_size(self)
def swap(self, v):
"""swap(pmt_vector_cdouble self, pmt_vector_cdouble v)"""
return _pmt_swig.pmt_vector_cdouble_swap(self, v)
def begin(self):
"""begin(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::iterator"""
return _pmt_swig.pmt_vector_cdouble_begin(self)
def end(self):
"""end(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::iterator"""
return _pmt_swig.pmt_vector_cdouble_end(self)
def rbegin(self):
"""rbegin(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::reverse_iterator"""
return _pmt_swig.pmt_vector_cdouble_rbegin(self)
def rend(self):
"""rend(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::reverse_iterator"""
return _pmt_swig.pmt_vector_cdouble_rend(self)
def clear(self):
"""clear(pmt_vector_cdouble self)"""
return _pmt_swig.pmt_vector_cdouble_clear(self)
def get_allocator(self):
"""get_allocator(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::allocator_type"""
return _pmt_swig.pmt_vector_cdouble_get_allocator(self)
def pop_back(self):
"""pop_back(pmt_vector_cdouble self)"""
return _pmt_swig.pmt_vector_cdouble_pop_back(self)
def erase(self, *args):
"""
erase(pmt_vector_cdouble self, std::vector< std::complex< double > >::iterator pos) -> std::vector< std::complex< double > >::iterator
erase(pmt_vector_cdouble self, std::vector< std::complex< double > >::iterator first, std::vector< std::complex< double > >::iterator last) -> std::vector< std::complex< double > >::iterator
"""
return _pmt_swig.pmt_vector_cdouble_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(std::complex<(double)>)> self) -> pmt_vector_cdouble
__init__(std::vector<(std::complex<(double)>)> self, pmt_vector_cdouble arg2) -> pmt_vector_cdouble
__init__(std::vector<(std::complex<(double)>)> self, std::vector< std::complex< double > >::size_type size) -> pmt_vector_cdouble
__init__(std::vector<(std::complex<(double)>)> self, std::vector< std::complex< double > >::size_type size, std::vector< std::complex< double > >::value_type const & value) -> pmt_vector_cdouble
"""
this = _pmt_swig.new_pmt_vector_cdouble(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(pmt_vector_cdouble self, std::vector< std::complex< double > >::value_type const & x)"""
return _pmt_swig.pmt_vector_cdouble_push_back(self, x)
def front(self):
"""front(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::value_type const &"""
return _pmt_swig.pmt_vector_cdouble_front(self)
def back(self):
"""back(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::value_type const &"""
return _pmt_swig.pmt_vector_cdouble_back(self)
def assign(self, n, x):
"""assign(pmt_vector_cdouble self, std::vector< std::complex< double > >::size_type n, std::vector< std::complex< double > >::value_type const & x)"""
return _pmt_swig.pmt_vector_cdouble_assign(self, n, x)
def resize(self, *args):
"""
resize(pmt_vector_cdouble self, std::vector< std::complex< double > >::size_type new_size)
resize(pmt_vector_cdouble self, std::vector< std::complex< double > >::size_type new_size, std::vector< std::complex< double > >::value_type const & x)
"""
return _pmt_swig.pmt_vector_cdouble_resize(self, *args)
def insert(self, *args):
"""
insert(pmt_vector_cdouble self, std::vector< std::complex< double > >::iterator pos, std::vector< std::complex< double > >::value_type const & x) -> std::vector< std::complex< double > >::iterator
insert(pmt_vector_cdouble self, std::vector< std::complex< double > >::iterator pos, std::vector< std::complex< double > >::size_type n, std::vector< std::complex< double > >::value_type const & x)
"""
return _pmt_swig.pmt_vector_cdouble_insert(self, *args)
def reserve(self, n):
"""reserve(pmt_vector_cdouble self, std::vector< std::complex< double > >::size_type n)"""
return _pmt_swig.pmt_vector_cdouble_reserve(self, n)
def capacity(self):
"""capacity(pmt_vector_cdouble self) -> std::vector< std::complex< double > >::size_type"""
return _pmt_swig.pmt_vector_cdouble_capacity(self)
__swig_destroy__ = _pmt_swig.delete_pmt_vector_cdouble
__del__ = lambda self: None
pmt_vector_cdouble_swigregister = _pmt_swig.pmt_vector_cdouble_swigregister
pmt_vector_cdouble_swigregister(pmt_vector_cdouble)
class swig_int_ptr(object):
"""Proxy of C++ boost::intrusive_ptr<(pmt::pmt_base)> class."""
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self):
"""__init__(boost::intrusive_ptr<(pmt::pmt_base)> self) -> swig_int_ptr"""
this = _pmt_swig.new_swig_int_ptr()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _pmt_swig.delete_swig_int_ptr
__del__ = lambda self: None
swig_int_ptr_swigregister = _pmt_swig.swig_int_ptr_swigregister
swig_int_ptr_swigregister(swig_int_ptr)
swig_int_ptr.__repr__ = lambda self: write_string(self)
def get_PMT_NIL():
"""get_PMT_NIL() -> swig_int_ptr"""
return _pmt_swig.get_PMT_NIL()
def get_PMT_T():
"""get_PMT_T() -> swig_int_ptr"""
return _pmt_swig.get_PMT_T()
def get_PMT_F():
"""get_PMT_F() -> swig_int_ptr"""
return _pmt_swig.get_PMT_F()
def get_PMT_EOF():
"""get_PMT_EOF() -> swig_int_ptr"""
return _pmt_swig.get_PMT_EOF()
def is_bool(obj):
"""
is_bool(swig_int_ptr obj) -> bool
Return true if obj is #t or #f, else return false.
"""
return _pmt_swig.is_bool(obj)
def is_true(obj):
"""
is_true(swig_int_ptr obj) -> bool
Return false if obj is #f, else return true.
"""
return _pmt_swig.is_true(obj)
def is_false(obj):
"""
is_false(swig_int_ptr obj) -> bool
Return true if obj is #f, else return true.
"""
return _pmt_swig.is_false(obj)
def from_bool(val):
"""
from_bool(bool val) -> swig_int_ptr
Return #f is val is false, else return #t.
"""
return _pmt_swig.from_bool(val)
def to_bool(val):
"""
to_bool(swig_int_ptr val) -> bool
Return true if val is pmt::True, return false when val is pmt::PMT_F,.
"""
return _pmt_swig.to_bool(val)
def is_symbol(obj):
"""
is_symbol(swig_int_ptr obj) -> bool
Return true if obj is a symbol, else false.
"""
return _pmt_swig.is_symbol(obj)
def string_to_symbol(s):
"""
string_to_symbol(std::string const & s) -> swig_int_ptr
Return the symbol whose name is .
"""
return _pmt_swig.string_to_symbol(s)
def intern(s):
"""
intern(std::string const & s) -> swig_int_ptr
Alias for pmt_string_to_symbol.
"""
return _pmt_swig.intern(s)
def symbol_to_string(sym):
"""
symbol_to_string(swig_int_ptr sym) -> std::string const
If a symbol, return the name of the symbol as a string. Otherwise, raise the wrong_type exception.
"""
return _pmt_swig.symbol_to_string(sym)
def is_number(obj):
"""
is_number(swig_int_ptr obj) -> bool
Return true if obj is any kind of number, else false.
"""
return _pmt_swig.is_number(obj)
def is_integer(x):
"""
is_integer(swig_int_ptr x) -> bool
Return true if is an integer number, else false.
"""
return _pmt_swig.is_integer(x)
def from_long(x):
"""
from_long(long x) -> swig_int_ptr
Return the pmt value that represents the integer .
"""
return _pmt_swig.from_long(x)
def to_long(x):
"""
to_long(swig_int_ptr x) -> long
Convert pmt to long if possible.
When represents an exact integer that fits in a long, return that integer. Else raise an exception, either wrong_type when x is not an exact integer, or out_of_range when it doesn't fit.
"""
return _pmt_swig.to_long(x)
def is_uint64(x):
"""
is_uint64(swig_int_ptr x) -> bool
Return true if is an uint64 number, else false.
"""
return _pmt_swig.is_uint64(x)
def from_uint64(x):
"""
from_uint64(uint64_t x) -> swig_int_ptr
Return the pmt value that represents the uint64 .
"""
return _pmt_swig.from_uint64(x)
def to_uint64(x):
"""
to_uint64(swig_int_ptr x) -> uint64_t
Convert pmt to uint64 if possible.
When represents an exact integer that fits in a uint64, return that uint64. Else raise an exception, either wrong_type when x is not an exact uint64, or out_of_range when it doesn't fit.
"""
return _pmt_swig.to_uint64(x)
def is_real(obj):
"""is_real(swig_int_ptr obj) -> bool"""
return _pmt_swig.is_real(obj)
def from_double(x):
"""
from_double(double x) -> swig_int_ptr
Return the pmt value that represents double .
"""
return _pmt_swig.from_double(x)
def to_double(x):
"""
to_double(swig_int_ptr x) -> double
Convert pmt to double if possible.
Returns the number closest to that is representable as a double. The argument must be a real or integer, otherwise a wrong_type exception is raised.
"""
return _pmt_swig.to_double(x)
def from_float(x):
"""from_float(double x) -> swig_int_ptr"""
return _pmt_swig.from_float(x)
def to_float(x):
"""
to_float(swig_int_ptr x) -> double
Convert pmt to float if possible.
This basically is to_double() with a type-cast; the PMT stores the value as a double in any case. Use this when strict typing is required.
"""
return _pmt_swig.to_float(x)
def is_complex(obj):
"""
is_complex(swig_int_ptr obj) -> bool
return true if is a complex number, false otherwise.
"""
return _pmt_swig.is_complex(obj)
def make_rectangular(re, im):
"""
make_rectangular(double re, double im) -> swig_int_ptr
Return a complex number constructed of the given real and imaginary parts.
"""
return _pmt_swig.make_rectangular(re, im)
def from_complex(z):
"""
from_complex(std::complex< double > const & z) -> swig_int_ptr
Return a complex number constructed of the given real and imaginary parts.
"""
return _pmt_swig.from_complex(z)
def to_complex(z):
"""
to_complex(swig_int_ptr z) -> std::complex< double >
If is complex, real or integer, return the closest complex<double>. Otherwise, raise the wrong_type exception.
"""
return _pmt_swig.to_complex(z)
def is_null(x):
"""
is_null(swig_int_ptr x) -> bool
Return true if is the empty list, otherwise return false.
"""
return _pmt_swig.is_null(x)
def is_pair(obj):
"""
is_pair(swig_int_ptr obj) -> bool
Return true if is a pair, else false (warning: also returns true for a dict)
"""
return _pmt_swig.is_pair(obj)
def cons(x, y):
"""
cons(swig_int_ptr x, swig_int_ptr y) -> swig_int_ptr
Return a newly allocated pair whose car is and whose cdr is .
"""
return _pmt_swig.cons(x, y)
def car(pair):
"""
car(swig_int_ptr pair) -> swig_int_ptr
If is a pair, return the car of the , otherwise raise wrong_type.
"""
return _pmt_swig.car(pair)
def cdr(pair):
"""
cdr(swig_int_ptr pair) -> swig_int_ptr
If is a pair, return the cdr of the , otherwise raise wrong_type.
"""
return _pmt_swig.cdr(pair)
def set_car(pair, value):
"""
set_car(swig_int_ptr pair, swig_int_ptr value)
Stores in the car field of .
"""
return _pmt_swig.set_car(pair, value)
def set_cdr(pair, value):
"""
set_cdr(swig_int_ptr pair, swig_int_ptr value)
Stores in the cdr field of .
"""
return _pmt_swig.set_cdr(pair, value)
def caar(pair):
"""caar(swig_int_ptr pair) -> swig_int_ptr"""
return _pmt_swig.caar(pair)
def cadr(pair):
"""cadr(swig_int_ptr pair) -> swig_int_ptr"""
return _pmt_swig.cadr(pair)
def cdar(pair):
"""cdar(swig_int_ptr pair) -> swig_int_ptr"""
return _pmt_swig.cdar(pair)
def cddr(pair):
"""cddr(swig_int_ptr pair) -> swig_int_ptr"""
return _pmt_swig.cddr(pair)
def caddr(pair):
"""caddr(swig_int_ptr pair) -> swig_int_ptr"""
return _pmt_swig.caddr(pair)
def cadddr(pair):
"""cadddr(swig_int_ptr pair) -> swig_int_ptr"""
return _pmt_swig.cadddr(pair)
def is_tuple(x):
"""
is_tuple(swig_int_ptr x) -> bool
Return true if is a tuple, othewise false.
"""
return _pmt_swig.is_tuple(x)
def make_tuple(*args):
"""
make_tuple() -> swig_int_ptr
make_tuple(swig_int_ptr e0) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4, swig_int_ptr e5) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4, swig_int_ptr e5, swig_int_ptr e6) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4, swig_int_ptr e5, swig_int_ptr e6, swig_int_ptr e7) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4, swig_int_ptr e5, swig_int_ptr e6, swig_int_ptr e7, swig_int_ptr e8) -> swig_int_ptr
make_tuple(swig_int_ptr e0, swig_int_ptr e1, swig_int_ptr e2, swig_int_ptr e3, swig_int_ptr e4, swig_int_ptr e5, swig_int_ptr e6, swig_int_ptr e7, swig_int_ptr e8, swig_int_ptr e9) -> swig_int_ptr
"""
return _pmt_swig.make_tuple(*args)
def to_tuple(x):
"""
to_tuple(swig_int_ptr x) -> swig_int_ptr
If is a vector or proper list, return a tuple containing the elements of x
"""
return _pmt_swig.to_tuple(x)
def tuple_ref(tuple, k):
"""
tuple_ref(swig_int_ptr tuple, size_t k) -> swig_int_ptr
Return the contents of position of . must be a valid index of .
"""
return _pmt_swig.tuple_ref(tuple, k)
def is_vector(x):
"""
is_vector(swig_int_ptr x) -> bool
Return true if is a vector, othewise false.
"""
return _pmt_swig.is_vector(x)
def make_vector(k, fill):
"""
make_vector(size_t k, swig_int_ptr fill) -> swig_int_ptr
Make a vector of length , with initial values set to .
"""
return _pmt_swig.make_vector(k, fill)
def vector_ref(vector, k):
"""
vector_ref(swig_int_ptr vector, size_t k) -> swig_int_ptr
Return the contents of position of . must be a valid index of .
"""
return _pmt_swig.vector_ref(vector, k)
def vector_set(vector, k, obj):
"""
vector_set(swig_int_ptr vector, size_t k, swig_int_ptr obj)
Store in position .
"""
return _pmt_swig.vector_set(vector, k, obj)
def vector_fill(vector, fill):
"""
vector_fill(swig_int_ptr vector, swig_int_ptr fill)
Store in every position of .
"""
return _pmt_swig.vector_fill(vector, fill)
def is_blob(x):
"""
is_blob(swig_int_ptr x) -> bool
Return true if is a blob, othewise false.
"""
return _pmt_swig.is_blob(x)
def make_blob(buf, len):
"""
make_blob(void const * buf, size_t len) -> swig_int_ptr
Make a blob given a pointer and length in bytes.
The data is copied into the blob.
"""
return _pmt_swig.make_blob(buf, len)
def blob_data(blob):
"""
blob_data(swig_int_ptr blob) -> void const *
Return a pointer to the blob's data.
"""
return _pmt_swig.blob_data(blob)
def blob_length(blob):
"""
blob_length(swig_int_ptr blob) -> size_t
Return the blob's length in bytes.
"""
return _pmt_swig.blob_length(blob)
def is_uniform_vector(x):
"""
is_uniform_vector(swig_int_ptr x) -> bool
true if is any kind of uniform numeric vector
"""
return _pmt_swig.is_uniform_vector(x)
def is_u8vector(x):
"""is_u8vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_u8vector(x)
def is_s8vector(x):
"""is_s8vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_s8vector(x)
def is_u16vector(x):
"""is_u16vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_u16vector(x)
def is_s16vector(x):
"""is_s16vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_s16vector(x)
def is_u32vector(x):
"""is_u32vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_u32vector(x)
def is_s32vector(x):
"""is_s32vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_s32vector(x)
def is_u64vector(x):
"""is_u64vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_u64vector(x)
def is_s64vector(x):
"""is_s64vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_s64vector(x)
def is_f32vector(x):
"""is_f32vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_f32vector(x)
def is_f64vector(x):
"""is_f64vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_f64vector(x)
def is_c32vector(x):
"""is_c32vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_c32vector(x)
def is_c64vector(x):
"""is_c64vector(swig_int_ptr x) -> bool"""
return _pmt_swig.is_c64vector(x)
def uniform_vector_itemsize(x):
"""
uniform_vector_itemsize(swig_int_ptr x) -> size_t
item size in bytes if is any kind of uniform numeric vector
"""
return _pmt_swig.uniform_vector_itemsize(x)
def make_u8vector(k, fill):
"""make_u8vector(size_t k, uint8_t fill) -> swig_int_ptr"""
return _pmt_swig.make_u8vector(k, fill)
def make_s8vector(k, fill):
"""make_s8vector(size_t k, int8_t fill) -> swig_int_ptr"""
return _pmt_swig.make_s8vector(k, fill)
def make_u16vector(k, fill):
"""make_u16vector(size_t k, uint16_t fill) -> swig_int_ptr"""
return _pmt_swig.make_u16vector(k, fill)
def make_s16vector(k, fill):
"""make_s16vector(size_t k, int16_t fill) -> swig_int_ptr"""
return _pmt_swig.make_s16vector(k, fill)
def make_u32vector(k, fill):
"""make_u32vector(size_t k, uint32_t fill) -> swig_int_ptr"""
return _pmt_swig.make_u32vector(k, fill)
def make_s32vector(k, fill):
"""make_s32vector(size_t k, int32_t fill) -> swig_int_ptr"""
return _pmt_swig.make_s32vector(k, fill)
def make_u64vector(k, fill):
"""make_u64vector(size_t k, uint64_t fill) -> swig_int_ptr"""
return _pmt_swig.make_u64vector(k, fill)
def make_s64vector(k, fill):
"""make_s64vector(size_t k, int64_t fill) -> swig_int_ptr"""
return _pmt_swig.make_s64vector(k, fill)
def make_f32vector(k, fill):
"""make_f32vector(size_t k, float fill) -> swig_int_ptr"""
return _pmt_swig.make_f32vector(k, fill)
def make_f64vector(k, fill):
"""make_f64vector(size_t k, double fill) -> swig_int_ptr"""
return _pmt_swig.make_f64vector(k, fill)
def make_c32vector(k, fill):
"""make_c32vector(size_t k, std::complex< float > fill) -> swig_int_ptr"""
return _pmt_swig.make_c32vector(k, fill)
def make_c64vector(k, fill):
"""make_c64vector(size_t k, std::complex< double > fill) -> swig_int_ptr"""
return _pmt_swig.make_c64vector(k, fill)
def init_u8vector(k, data):
"""init_u8vector(size_t k, pmt_vector_uint8 data) -> swig_int_ptr"""
return _pmt_swig.init_u8vector(k, data)
def init_s8vector(k, data):
"""init_s8vector(size_t k, pmt_vector_int8 data) -> swig_int_ptr"""
return _pmt_swig.init_s8vector(k, data)
def init_u16vector(k, data):
"""init_u16vector(size_t k, pmt_vector_uint16 data) -> swig_int_ptr"""
return _pmt_swig.init_u16vector(k, data)
def init_s16vector(k, data):
"""init_s16vector(size_t k, pmt_vector_int16 data) -> swig_int_ptr"""
return _pmt_swig.init_s16vector(k, data)
def init_u32vector(k, data):
"""init_u32vector(size_t k, pmt_vector_uint32 data) -> swig_int_ptr"""
return _pmt_swig.init_u32vector(k, data)
def init_s32vector(k, data):
"""init_s32vector(size_t k, pmt_vector_int32 data) -> swig_int_ptr"""
return _pmt_swig.init_s32vector(k, data)
def init_f32vector(k, data):
"""init_f32vector(size_t k, pmt_vector_float data) -> swig_int_ptr"""
return _pmt_swig.init_f32vector(k, data)
def init_f64vector(k, data):
"""init_f64vector(size_t k, pmt_vector_double data) -> swig_int_ptr"""
return _pmt_swig.init_f64vector(k, data)
def init_c32vector(k, data):
"""init_c32vector(size_t k, pmt_vector_cfloat data) -> swig_int_ptr"""
return _pmt_swig.init_c32vector(k, data)
def init_c64vector(k, data):
"""init_c64vector(size_t k, pmt_vector_cdouble data) -> swig_int_ptr"""
return _pmt_swig.init_c64vector(k, data)
def u8vector_ref(v, k):
"""u8vector_ref(swig_int_ptr v, size_t k) -> uint8_t"""
return _pmt_swig.u8vector_ref(v, k)
def s8vector_ref(v, k):
"""s8vector_ref(swig_int_ptr v, size_t k) -> int8_t"""
return _pmt_swig.s8vector_ref(v, k)
def u16vector_ref(v, k):
"""u16vector_ref(swig_int_ptr v, size_t k) -> uint16_t"""
return _pmt_swig.u16vector_ref(v, k)
def s16vector_ref(v, k):
"""s16vector_ref(swig_int_ptr v, size_t k) -> int16_t"""
return _pmt_swig.s16vector_ref(v, k)
def u32vector_ref(v, k):
"""u32vector_ref(swig_int_ptr v, size_t k) -> uint32_t"""
return _pmt_swig.u32vector_ref(v, k)
def s32vector_ref(v, k):
"""s32vector_ref(swig_int_ptr v, size_t k) -> int32_t"""
return _pmt_swig.s32vector_ref(v, k)
def u64vector_ref(v, k):
"""u64vector_ref(swig_int_ptr v, size_t k) -> uint64_t"""
return _pmt_swig.u64vector_ref(v, k)
def s64vector_ref(v, k):
"""s64vector_ref(swig_int_ptr v, size_t k) -> int64_t"""
return _pmt_swig.s64vector_ref(v, k)
def f32vector_ref(v, k):
"""f32vector_ref(swig_int_ptr v, size_t k) -> float"""
return _pmt_swig.f32vector_ref(v, k)
def f64vector_ref(v, k):
"""f64vector_ref(swig_int_ptr v, size_t k) -> double"""
return _pmt_swig.f64vector_ref(v, k)
def c32vector_ref(v, k):
"""c32vector_ref(swig_int_ptr v, size_t k) -> std::complex< float >"""
return _pmt_swig.c32vector_ref(v, k)
def c64vector_ref(v, k):
"""c64vector_ref(swig_int_ptr v, size_t k) -> std::complex< double >"""
return _pmt_swig.c64vector_ref(v, k)
def u8vector_set(v, k, x):
"""u8vector_set(swig_int_ptr v, size_t k, uint8_t x)"""
return _pmt_swig.u8vector_set(v, k, x)
def s8vector_set(v, k, x):
"""s8vector_set(swig_int_ptr v, size_t k, int8_t x)"""
return _pmt_swig.s8vector_set(v, k, x)
def u16vector_set(v, k, x):
"""u16vector_set(swig_int_ptr v, size_t k, uint16_t x)"""
return _pmt_swig.u16vector_set(v, k, x)
def s16vector_set(v, k, x):
"""s16vector_set(swig_int_ptr v, size_t k, int16_t x)"""
return _pmt_swig.s16vector_set(v, k, x)
def u32vector_set(v, k, x):
"""u32vector_set(swig_int_ptr v, size_t k, uint32_t x)"""
return _pmt_swig.u32vector_set(v, k, x)
def s32vector_set(v, k, x):
"""s32vector_set(swig_int_ptr v, size_t k, int32_t x)"""
return _pmt_swig.s32vector_set(v, k, x)
def u64vector_set(v, k, x):
"""u64vector_set(swig_int_ptr v, size_t k, uint64_t x)"""
return _pmt_swig.u64vector_set(v, k, x)
def s64vector_set(v, k, x):
"""s64vector_set(swig_int_ptr v, size_t k, int64_t x)"""
return _pmt_swig.s64vector_set(v, k, x)
def f32vector_set(v, k, x):
"""f32vector_set(swig_int_ptr v, size_t k, float x)"""
return _pmt_swig.f32vector_set(v, k, x)
def f64vector_set(v, k, x):
"""f64vector_set(swig_int_ptr v, size_t k, double x)"""
return _pmt_swig.f64vector_set(v, k, x)
def c32vector_set(v, k, x):
"""c32vector_set(swig_int_ptr v, size_t k, std::complex< float > x)"""
return _pmt_swig.c32vector_set(v, k, x)
def c64vector_set(v, k, x):
"""c64vector_set(swig_int_ptr v, size_t k, std::complex< double > x)"""
return _pmt_swig.c64vector_set(v, k, x)
def uniform_vector_elements(v, len):
"""uniform_vector_elements(swig_int_ptr v, size_t & len) -> void const *"""
return _pmt_swig.uniform_vector_elements(v, len)
def u8vector_elements(v):
"""u8vector_elements(swig_int_ptr v) -> pmt_vector_uint8"""
return _pmt_swig.u8vector_elements(v)
def s8vector_elements(v):
"""s8vector_elements(swig_int_ptr v) -> pmt_vector_int8"""
return _pmt_swig.s8vector_elements(v)
def u16vector_elements(v):
"""u16vector_elements(swig_int_ptr v) -> pmt_vector_uint16"""
return _pmt_swig.u16vector_elements(v)
def s16vector_elements(v):
"""s16vector_elements(swig_int_ptr v) -> pmt_vector_int16"""
return _pmt_swig.s16vector_elements(v)
def u32vector_elements(v):
"""u32vector_elements(swig_int_ptr v) -> pmt_vector_uint32"""
return _pmt_swig.u32vector_elements(v)
def s32vector_elements(v):
"""s32vector_elements(swig_int_ptr v) -> pmt_vector_int32"""
return _pmt_swig.s32vector_elements(v)
def f32vector_elements(v):
"""f32vector_elements(swig_int_ptr v) -> pmt_vector_float"""
return _pmt_swig.f32vector_elements(v)
def f64vector_elements(v):
"""f64vector_elements(swig_int_ptr v) -> pmt_vector_double"""
return _pmt_swig.f64vector_elements(v)
def c32vector_elements(v):
"""c32vector_elements(swig_int_ptr v) -> pmt_vector_cfloat"""
return _pmt_swig.c32vector_elements(v)
def c64vector_elements(v):
"""c64vector_elements(swig_int_ptr v) -> pmt_vector_cdouble"""
return _pmt_swig.c64vector_elements(v)
def is_dict(obj):
"""
is_dict(swig_int_ptr obj) -> bool
Return true if is a dictionary (warning: also returns true for a pair)
"""
return _pmt_swig.is_dict(obj)
def make_dict():
"""
make_dict() -> swig_int_ptr
Make an empty dictionary.
"""
return _pmt_swig.make_dict()
def dict_add(dict, key, value):
"""
dict_add(swig_int_ptr dict, swig_int_ptr key, swig_int_ptr value) -> swig_int_ptr
Return a new dictionary with associated with .
"""
return _pmt_swig.dict_add(dict, key, value)
def dict_delete(dict, key):
"""
dict_delete(swig_int_ptr dict, swig_int_ptr key) -> swig_int_ptr
Return a new dictionary with removed.
"""
return _pmt_swig.dict_delete(dict, key)
def dict_has_key(dict, key):
"""
dict_has_key(swig_int_ptr dict, swig_int_ptr key) -> bool
Return true if exists in .
"""
return _pmt_swig.dict_has_key(dict, key)
def dict_ref(dict, key, not_found):
"""
dict_ref(swig_int_ptr dict, swig_int_ptr key, swig_int_ptr not_found) -> swig_int_ptr
If exists in , return associated value; otherwise return .
"""
return _pmt_swig.dict_ref(dict, key, not_found)
def dict_items(dict):
"""
dict_items(swig_int_ptr dict) -> swig_int_ptr
Return list of (key . value) pairs.
"""
return _pmt_swig.dict_items(dict)
def dict_keys(dict):
"""
dict_keys(swig_int_ptr dict) -> swig_int_ptr
Return list of keys.
"""
return _pmt_swig.dict_keys(dict)
def dict_update(dict1, dict2):
"""
dict_update(swig_int_ptr dict1, swig_int_ptr dict2) -> swig_int_ptr
Return a new dictionary with k=>v pairs from added.
"""
return _pmt_swig.dict_update(dict1, dict2)
def dict_values(dict):
"""
dict_values(swig_int_ptr dict) -> swig_int_ptr
Return list of values.
"""
return _pmt_swig.dict_values(dict)
def is_any(obj):
"""
is_any(swig_int_ptr obj) -> bool
Return true if is an any.
"""
return _pmt_swig.is_any(obj)
def make_any(any):
"""
make_any(boost::any const & any) -> swig_int_ptr
make an any
"""
return _pmt_swig.make_any(any)
def any_ref(obj):
"""
any_ref(swig_int_ptr obj) -> boost::any
Return underlying boost::any.
"""
return _pmt_swig.any_ref(obj)
def any_set(obj, any):
"""
any_set(swig_int_ptr obj, boost::any const & any)
Store in .
"""
return _pmt_swig.any_set(obj, any)
def is_msg_accepter(obj):
"""
is_msg_accepter(swig_int_ptr obj) -> bool
Return true if is a msg_accepter.
"""
return _pmt_swig.is_msg_accepter(obj)
def make_msg_accepter(ma):
"""
make_msg_accepter(boost::shared_ptr< gr::messages::msg_accepter > ma) -> swig_int_ptr
make a msg_accepter
"""
return _pmt_swig.make_msg_accepter(ma)
def msg_accepter_ref(obj):
"""
msg_accepter_ref(swig_int_ptr obj) -> boost::shared_ptr< gr::messages::msg_accepter >
Return underlying msg_accepter.
"""
return _pmt_swig.msg_accepter_ref(obj)
def eq(x, y):
"""
eq(swig_int_ptr x, swig_int_ptr y) -> bool
Return true if x and y are the same object; otherwise return false.
"""
return _pmt_swig.eq(x, y)
def eqv(x, y):
"""
eqv(swig_int_ptr x, swig_int_ptr y) -> bool
Return true if x and y should normally be regarded as the same object, else false.
"""
return _pmt_swig.eqv(x, y)
def equal(x, y):
"""
equal(swig_int_ptr x, swig_int_ptr y) -> bool
pmt::equal recursively compares the contents of pairs and vectors, applying pmt::eqv on other objects such as numbers and symbols. pmt::equal may fail to terminate if its arguments are circular data structures.
"""
return _pmt_swig.equal(x, y)
def length(v):
"""
length(swig_int_ptr v) -> size_t
Return the number of elements in v.
"""
return _pmt_swig.length(v)
def assq(obj, alist):
"""
assq(swig_int_ptr obj, swig_int_ptr alist) -> swig_int_ptr
Find the first pair in whose car field is and return that pair.
(for "association list") must be a list of pairs. If no pair in has as its car then #f is returned. Uses pmt::eq to compare with car fields of the pairs in .
"""
return _pmt_swig.assq(obj, alist)
def assv(obj, alist):
"""
assv(swig_int_ptr obj, swig_int_ptr alist) -> swig_int_ptr
Find the first pair in whose car field is and return that pair.
(for "association list") must be a list of pairs. If no pair in has as its car then #f is returned. Uses pmt::eqv to compare with car fields of the pairs in .
"""
return _pmt_swig.assv(obj, alist)
def assoc(obj, alist):
"""
assoc(swig_int_ptr obj, swig_int_ptr alist) -> swig_int_ptr
Find the first pair in whose car field is and return that pair.
(for "association list") must be a list of pairs. If no pair in has as its car then #f is returned. Uses pmt::equal to compare with car fields of the pairs in .
"""
return _pmt_swig.assoc(obj, alist)
def map(proc, list):
"""
map(pmt::pmt_t (*)(pmt::pmt_t const &) proc, swig_int_ptr list) -> swig_int_ptr
Apply element-wise to the elements of list and returns a list of the results, in order.
must be a list. The dynamic order in which is applied to the elements of is unspecified.
"""
return _pmt_swig.map(proc, list)
def reverse(list):
"""
reverse(swig_int_ptr list) -> swig_int_ptr
reverse .
must be a proper list.
"""
return _pmt_swig.reverse(list)
def reverse_x(list):
"""
reverse_x(swig_int_ptr list) -> swig_int_ptr
destructively reverse .
must be a proper list.
"""
return _pmt_swig.reverse_x(list)
def acons(x, y, a):
"""
acons(swig_int_ptr x, swig_int_ptr y, swig_int_ptr a) -> swig_int_ptr
(acons x y a) == (cons (cons x y) a)
"""
return _pmt_swig.acons(x, y, a)
def nth(n, list):
"""
nth(size_t n, swig_int_ptr list) -> swig_int_ptr
locates element of
list where the car is the 'zeroth' element.
"""
return _pmt_swig.nth(n, list)
def nthcdr(n, list):
"""
nthcdr(size_t n, swig_int_ptr list) -> swig_int_ptr
returns the tail of that would be obtained by calling cdr times in succession.
"""
return _pmt_swig.nthcdr(n, list)
def memq(obj, list):
"""
memq(swig_int_ptr obj, swig_int_ptr list) -> swig_int_ptr
Return the first sublist of whose car is . If does not occur in , then #f is returned. pmt::memq use pmt::eq to compare with the elements of .
"""
return _pmt_swig.memq(obj, list)
def memv(obj, list):
"""
memv(swig_int_ptr obj, swig_int_ptr list) -> swig_int_ptr
Return the first sublist of whose car is . If does not occur in , then #f is returned. pmt::memv use pmt::eqv to compare with the elements of .
"""
return _pmt_swig.memv(obj, list)
def member(obj, list):
"""
member(swig_int_ptr obj, swig_int_ptr list) -> swig_int_ptr
Return the first sublist of whose car is . If does not occur in , then #f is returned. pmt::member use pmt::equal to compare with the elements of .
"""
return _pmt_swig.member(obj, list)
def subsetp(list1, list2):
"""
subsetp(swig_int_ptr list1, swig_int_ptr list2) -> bool
Return true if every element of appears in , and false otherwise. Comparisons are done with pmt::eqv.
"""
return _pmt_swig.subsetp(list1, list2)
def list1(x1):
"""
list1(swig_int_ptr x1) -> swig_int_ptr
Return a list of length 1 containing .
"""
return _pmt_swig.list1(x1)
def list2(x1, x2):
"""
list2(swig_int_ptr x1, swig_int_ptr x2) -> swig_int_ptr
Return a list of length 2 containing , .
"""
return _pmt_swig.list2(x1, x2)
def list3(x1, x2, x3):
"""
list3(swig_int_ptr x1, swig_int_ptr x2, swig_int_ptr x3) -> swig_int_ptr
Return a list of length 3 containing , , .
"""
return _pmt_swig.list3(x1, x2, x3)
def list4(x1, x2, x3, x4):
"""
list4(swig_int_ptr x1, swig_int_ptr x2, swig_int_ptr x3, swig_int_ptr x4) -> swig_int_ptr
Return a list of length 4 containing , , , .
"""
return _pmt_swig.list4(x1, x2, x3, x4)
def list5(x1, x2, x3, x4, x5):
"""
list5(swig_int_ptr x1, swig_int_ptr x2, swig_int_ptr x3, swig_int_ptr x4, swig_int_ptr x5) -> swig_int_ptr
Return a list of length 5 containing , , , , .
"""
return _pmt_swig.list5(x1, x2, x3, x4, x5)
def list6(x1, x2, x3, x4, x5, x6):
"""
list6(swig_int_ptr x1, swig_int_ptr x2, swig_int_ptr x3, swig_int_ptr x4, swig_int_ptr x5, swig_int_ptr x6) -> swig_int_ptr
Return a list of length 6 containing , , , , , .
"""
return _pmt_swig.list6(x1, x2, x3, x4, x5, x6)
def list_add(list, item):
"""
list_add(swig_int_ptr list, swig_int_ptr item) -> swig_int_ptr
Return with added to it.
"""
return _pmt_swig.list_add(list, item)
def list_rm(list, item):
"""
list_rm(swig_int_ptr list, swig_int_ptr item) -> swig_int_ptr
Return with removed from it.
"""
return _pmt_swig.list_rm(list, item)
def list_has(list, item):
"""
list_has(swig_int_ptr list, swig_int_ptr item) -> bool
Return bool of contains .
"""
return _pmt_swig.list_has(list, item)
def is_eof_object(obj):
"""
is_eof_object(swig_int_ptr obj) -> bool
return true if obj is the EOF object, otherwise return false.
"""
return _pmt_swig.is_eof_object(obj)
def read(port):
"""
read(std::istream & port) -> swig_int_ptr
read converts external representations of pmt objects into the objects themselves. Read returns the next object parsable from the given input port, updating port to point to the first character past the end of the external representation of the object.
If an end of file is encountered in the input before any characters are found that can begin an object, then an end of file object is returned. The port remains open, and further attempts to read will also return an end of file object. If an end of file is encountered after the beginning of an object's external representation, but the external representation is incomplete and therefore not parsable, an error is signaled.
"""
return _pmt_swig.read(port)
def write(obj, port):
"""
write(swig_int_ptr obj, std::ostream & port)
Write a written representation of to the given .
"""
return _pmt_swig.write(obj, port)
def write_string(obj):
"""
write_string(swig_int_ptr obj) -> std::string
Return a string representation of . This is the same output as would be generated by pmt::write.
"""
return _pmt_swig.write_string(obj)
def serialize(obj, sink):
"""
serialize(swig_int_ptr obj, std::streambuf & sink) -> bool
Write portable byte-serial representation of to .
"""
return _pmt_swig.serialize(obj, sink)
def deserialize(source):
"""
deserialize(std::streambuf & source) -> swig_int_ptr
Create obj from portable byte-serial representation.
"""
return _pmt_swig.deserialize(source)
def dump_sizeof():
"""dump_sizeof()"""
return _pmt_swig.dump_sizeof()
def serialize_str(obj):
"""
serialize_str(swig_int_ptr obj) -> std::string
Provide a simple string generating interface to pmt's serialize function.
"""
return _pmt_swig.serialize_str(obj)
def deserialize_str(str):
"""
deserialize_str(std::string str) -> swig_int_ptr
Provide a simple string generating interface to pmt's deserialize function.
"""
return _pmt_swig.deserialize_str(str)
|