Changeset 9423 for trunk/ippdb/src/ippdb.h
- Timestamp:
- Oct 9, 2006, 1:43:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/src/ippdb.h (modified) (113 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/src/ippdb.h
r9307 r9423 1 1 /* 2 * 3 * This file was generated by glueforge 0.25 2 * header.c 3 * 4 * Copyright (C) 2006 Joshua Hoblitt 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the Free 8 * Software Foundation; version 2 of the License. 9 * 10 * This program is distributed in the hope that it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 * 15 * You should have received a copy of the GNU General Public License along with 16 * program; see the file COPYING. If not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 */ 19 20 /* 21 * 22 * This file was generated by glueforge 0.29 4 23 * 5 24 * Do NOT directly edit this file. … … 29 48 const char *user, ///< Database username 30 49 const char *passwd, ///< Database password 31 const char *dbname ///< Database table.namespace 50 const char *dbname, ///< Database table.namespace 51 unsigned int port ///< Database port 32 52 ); 33 53 … … 182 202 ); 183 203 184 /** Removes the last row from the database and returns it185 *186 * @return true on success187 */188 189 bool weatherPop(190 psDB *dbh, ///< Database handle191 psF32 *temp01,192 psF32 *humi01,193 psF32 *temp02,194 psF32 *humi02,195 psF32 *temp03,196 psF32 *humi03,197 psF32 *pressure198 );199 200 204 /** Insert a single weatherRow object into a table 201 205 * … … 220 224 psDB *dbh, ///< Database handle 221 225 psArray *objects ///< array of weatherRow objects 222 );223 224 /** Removes the last row from the database and returns it225 *226 * @return A new weatherRow on success or NULL on failure.227 */228 229 weatherRow *weatherPopObject(230 psDB *dbh ///< Database handle231 226 ); 232 227 … … 244 239 psDB *dbh, ///< Database handle 245 240 const psFits *fits ///< psFits object 246 );247 248 /** Removes the last limit row from the database and returns them in a binary FITS table.249 *250 * This function assumes an empty psFits object and will create a FITS table as251 * the first extension.252 *253 * @return true on success254 */255 256 bool weatherPopFits(257 psDB *dbh, ///< Database handle258 psFits *fits, ///< psFits object259 unsigned long long limit ///< Maximum number of elements to return260 241 ); 261 242 … … 421 402 ); 422 403 423 /** Removes the last row from the database and returns it424 *425 * @return true on success426 */427 428 bool skyp_transparencyPop(429 psDB *dbh, ///< Database handle430 char **filter,431 psF64 *trans,432 psS32 *nstars,433 psF64 *ra,434 psF64 *decl,435 psF32 *exptime,436 psF64 *sky_bright437 );438 439 404 /** Insert a single skyp_transparencyRow object into a table 440 405 * … … 459 424 psDB *dbh, ///< Database handle 460 425 psArray *objects ///< array of skyp_transparencyRow objects 461 );462 463 /** Removes the last row from the database and returns it464 *465 * @return A new skyp_transparencyRow on success or NULL on failure.466 */467 468 skyp_transparencyRow *skyp_transparencyPopObject(469 psDB *dbh ///< Database handle470 426 ); 471 427 … … 483 439 psDB *dbh, ///< Database handle 484 440 const psFits *fits ///< psFits object 485 );486 487 /** Removes the last limit row from the database and returns them in a binary FITS table.488 *489 * This function assumes an empty psFits object and will create a FITS table as490 * the first extension.491 *492 * @return true on success493 */494 495 bool skyp_transparencyPopFits(496 psDB *dbh, ///< Database handle497 psFits *fits, ///< psFits object498 unsigned long long limit ///< Maximum number of elements to return499 441 ); 500 442 … … 666 608 ); 667 609 668 /** Removes the last row from the database and returns it669 *670 * @return true on success671 */672 673 bool skyp_absorptionPop(674 psDB *dbh, ///< Database handle675 char **disperser_id,676 psF32 *atmcomp1,677 psF32 *atmcomp2,678 psF32 *atmcomp3,679 psS32 *nstars,680 psF64 *ra,681 psF64 *decl,682 psF32 *exptime,683 psF64 *sky_bright684 );685 686 610 /** Insert a single skyp_absorptionRow object into a table 687 611 * … … 706 630 psDB *dbh, ///< Database handle 707 631 psArray *objects ///< array of skyp_absorptionRow objects 708 );709 710 /** Removes the last row from the database and returns it711 *712 * @return A new skyp_absorptionRow on success or NULL on failure.713 */714 715 skyp_absorptionRow *skyp_absorptionPopObject(716 psDB *dbh ///< Database handle717 632 ); 718 633 … … 730 645 psDB *dbh, ///< Database handle 731 646 const psFits *fits ///< psFits object 732 );733 734 /** Removes the last limit row from the database and returns them in a binary FITS table.735 *736 * This function assumes an empty psFits object and will create a FITS table as737 * the first extension.738 *739 * @return true on success740 */741 742 bool skyp_absorptionPopFits(743 psDB *dbh, ///< Database handle744 psFits *fits, ///< psFits object745 unsigned long long limit ///< Maximum number of elements to return746 647 ); 747 648 … … 904 805 ); 905 806 906 /** Removes the last row from the database and returns it907 *908 * @return true on success909 */910 911 bool skyp_emissionPop(912 psDB *dbh, ///< Database handle913 char **disperser_id,914 psF32 *atmcomp1,915 psF32 *atmcomp2,916 psF32 *atmcomp3,917 psF32 *continuum,918 psF32 *exptime919 );920 921 807 /** Insert a single skyp_emissionRow object into a table 922 808 * … … 941 827 psDB *dbh, ///< Database handle 942 828 psArray *objects ///< array of skyp_emissionRow objects 943 );944 945 /** Removes the last row from the database and returns it946 *947 * @return A new skyp_emissionRow on success or NULL on failure.948 */949 950 skyp_emissionRow *skyp_emissionPopObject(951 psDB *dbh ///< Database handle952 829 ); 953 830 … … 965 842 psDB *dbh, ///< Database handle 966 843 const psFits *fits ///< psFits object 967 );968 969 /** Removes the last limit row from the database and returns them in a binary FITS table.970 *971 * This function assumes an empty psFits object and will create a FITS table as972 * the first extension.973 *974 * @return true on success975 */976 977 bool skyp_emissionPopFits(978 psDB *dbh, ///< Database handle979 psFits *fits, ///< psFits object980 unsigned long long limit ///< Maximum number of elements to return981 844 ); 982 845 … … 1142 1005 ); 1143 1006 1144 /** Removes the last row from the database and returns it1145 *1146 * @return true on success1147 */1148 1149 bool dimmPop(1150 psDB *dbh, ///< Database handle1151 psF32 *sigmax,1152 psF32 *sigmay,1153 psF32 *fwhm,1154 psF64 *ra,1155 psF64 *decl,1156 psF32 *expttime,1157 char **telescope_id1158 );1159 1160 1007 /** Insert a single dimmRow object into a table 1161 1008 * … … 1180 1027 psDB *dbh, ///< Database handle 1181 1028 psArray *objects ///< array of dimmRow objects 1182 );1183 1184 /** Removes the last row from the database and returns it1185 *1186 * @return A new dimmRow on success or NULL on failure.1187 */1188 1189 dimmRow *dimmPopObject(1190 psDB *dbh ///< Database handle1191 1029 ); 1192 1030 … … 1204 1042 psDB *dbh, ///< Database handle 1205 1043 const psFits *fits ///< psFits object 1206 );1207 1208 /** Removes the last limit row from the database and returns them in a binary FITS table.1209 *1210 * This function assumes an empty psFits object and will create a FITS table as1211 * the first extension.1212 *1213 * @return true on success1214 */1215 1216 bool dimmPopFits(1217 psDB *dbh, ///< Database handle1218 psFits *fits, ///< psFits object1219 unsigned long long limit ///< Maximum number of elements to return1220 1044 ); 1221 1045 … … 1378 1202 ); 1379 1203 1380 /** Removes the last row from the database and returns it1381 *1382 * @return true on success1383 */1384 1385 bool skyp_irPop(1386 psDB *dbh, ///< Database handle1387 psF64 *sky_bright,1388 psF64 *sky_var,1389 psF64 *ra,1390 psF64 *decl,1391 psF32 *fov_x,1392 psF32 *fov_y1393 );1394 1395 1204 /** Insert a single skyp_irRow object into a table 1396 1205 * … … 1415 1224 psDB *dbh, ///< Database handle 1416 1225 psArray *objects ///< array of skyp_irRow objects 1417 );1418 1419 /** Removes the last row from the database and returns it1420 *1421 * @return A new skyp_irRow on success or NULL on failure.1422 */1423 1424 skyp_irRow *skyp_irPopObject(1425 psDB *dbh ///< Database handle1426 1226 ); 1427 1227 … … 1439 1239 psDB *dbh, ///< Database handle 1440 1240 const psFits *fits ///< psFits object 1441 );1442 1443 /** Removes the last limit row from the database and returns them in a binary FITS table.1444 *1445 * This function assumes an empty psFits object and will create a FITS table as1446 * the first extension.1447 *1448 * @return true on success1449 */1450 1451 bool skyp_irPopFits(1452 psDB *dbh, ///< Database handle1453 psFits *fits, ///< psFits object1454 unsigned long long limit ///< Maximum number of elements to return1455 1241 ); 1456 1242 … … 1607 1393 ); 1608 1394 1609 /** Removes the last row from the database and returns it1610 *1611 * @return true on success1612 */1613 1614 bool domePop(1615 psDB *dbh, ///< Database handle1616 psF32 *az,1617 bool *open,1618 bool *light,1619 bool *track1620 );1621 1622 1395 /** Insert a single domeRow object into a table 1623 1396 * … … 1642 1415 psDB *dbh, ///< Database handle 1643 1416 psArray *objects ///< array of domeRow objects 1644 );1645 1646 /** Removes the last row from the database and returns it1647 *1648 * @return A new domeRow on success or NULL on failure.1649 */1650 1651 domeRow *domePopObject(1652 psDB *dbh ///< Database handle1653 1417 ); 1654 1418 … … 1666 1430 psDB *dbh, ///< Database handle 1667 1431 const psFits *fits ///< psFits object 1668 );1669 1670 /** Removes the last limit row from the database and returns them in a binary FITS table.1671 *1672 * This function assumes an empty psFits object and will create a FITS table as1673 * the first extension.1674 *1675 * @return true on success1676 */1677 1678 bool domePopFits(1679 psDB *dbh, ///< Database handle1680 psFits *fits, ///< psFits object1681 unsigned long long limit ///< Maximum number of elements to return1682 1432 ); 1683 1433 … … 1837 1587 ); 1838 1588 1839 /** Removes the last row from the database and returns it1840 *1841 * @return true on success1842 */1843 1844 bool telescopePop(1845 psDB *dbh, ///< Database handle1846 char **guide,1847 psF32 *alt,1848 psF32 *az,1849 psF64 *ra,1850 psF64 *decl1851 );1852 1853 1589 /** Insert a single telescopeRow object into a table 1854 1590 * … … 1873 1609 psDB *dbh, ///< Database handle 1874 1610 psArray *objects ///< array of telescopeRow objects 1875 );1876 1877 /** Removes the last row from the database and returns it1878 *1879 * @return A new telescopeRow on success or NULL on failure.1880 */1881 1882 telescopeRow *telescopePopObject(1883 psDB *dbh ///< Database handle1884 1611 ); 1885 1612 … … 1897 1624 psDB *dbh, ///< Database handle 1898 1625 const psFits *fits ///< psFits object 1899 );1900 1901 /** Removes the last limit row from the database and returns them in a binary FITS table.1902 *1903 * This function assumes an empty psFits object and will create a FITS table as1904 * the first extension.1905 *1906 * @return true on success1907 */1908 1909 bool telescopePopFits(1910 psDB *dbh, ///< Database handle1911 psFits *fits, ///< psFits object1912 unsigned long long limit ///< Maximum number of elements to return1913 1626 ); 1914 1627 … … 2068 1781 ); 2069 1782 2070 /** Removes the last row from the database and returns it2071 *2072 * @return true on success2073 */2074 2075 bool summitExpPop(2076 psDB *dbh, ///< Database handle2077 char **exp_id,2078 char **camera,2079 char **telescope,2080 char **exp_type,2081 char **uri2082 );2083 2084 1783 /** Insert a single summitExpRow object into a table 2085 1784 * … … 2104 1803 psDB *dbh, ///< Database handle 2105 1804 psArray *objects ///< array of summitExpRow objects 2106 );2107 2108 /** Removes the last row from the database and returns it2109 *2110 * @return A new summitExpRow on success or NULL on failure.2111 */2112 2113 summitExpRow *summitExpPopObject(2114 psDB *dbh ///< Database handle2115 1805 ); 2116 1806 … … 2128 1818 psDB *dbh, ///< Database handle 2129 1819 const psFits *fits ///< psFits object 2130 );2131 2132 /** Removes the last limit row from the database and returns them in a binary FITS table.2133 *2134 * This function assumes an empty psFits object and will create a FITS table as2135 * the first extension.2136 *2137 * @return true on success2138 */2139 2140 bool summitExpPopFits(2141 psDB *dbh, ///< Database handle2142 psFits *fits, ///< psFits object2143 unsigned long long limit ///< Maximum number of elements to return2144 1820 ); 2145 1821 … … 2299 1975 ); 2300 1976 2301 /** Removes the last row from the database and returns it2302 *2303 * @return true on success2304 */2305 2306 bool pzPendingExpPop(2307 psDB *dbh, ///< Database handle2308 char **exp_id,2309 char **camera,2310 char **telescope,2311 char **exp_type,2312 psS32 *imfiles2313 );2314 2315 1977 /** Insert a single pzPendingExpRow object into a table 2316 1978 * … … 2335 1997 psDB *dbh, ///< Database handle 2336 1998 psArray *objects ///< array of pzPendingExpRow objects 2337 );2338 2339 /** Removes the last row from the database and returns it2340 *2341 * @return A new pzPendingExpRow on success or NULL on failure.2342 */2343 2344 pzPendingExpRow *pzPendingExpPopObject(2345 psDB *dbh ///< Database handle2346 1999 ); 2347 2000 … … 2359 2012 psDB *dbh, ///< Database handle 2360 2013 const psFits *fits ///< psFits object 2361 );2362 2363 /** Removes the last limit row from the database and returns them in a binary FITS table.2364 *2365 * This function assumes an empty psFits object and will create a FITS table as2366 * the first extension.2367 *2368 * @return true on success2369 */2370 2371 bool pzPendingExpPopFits(2372 psDB *dbh, ///< Database handle2373 psFits *fits, ///< psFits object2374 unsigned long long limit ///< Maximum number of elements to return2375 2014 ); 2376 2015 … … 2539 2178 ); 2540 2179 2541 /** Removes the last row from the database and returns it2542 *2543 * @return true on success2544 */2545 2546 bool pzPendingImfilePop(2547 psDB *dbh, ///< Database handle2548 char **exp_id,2549 char **camera,2550 char **telescope,2551 psS32 *bytes,2552 char **md5sum,2553 char **class,2554 char **class_id,2555 char **uri2556 );2557 2558 2180 /** Insert a single pzPendingImfileRow object into a table 2559 2181 * … … 2578 2200 psDB *dbh, ///< Database handle 2579 2201 psArray *objects ///< array of pzPendingImfileRow objects 2580 );2581 2582 /** Removes the last row from the database and returns it2583 *2584 * @return A new pzPendingImfileRow on success or NULL on failure.2585 */2586 2587 pzPendingImfileRow *pzPendingImfilePopObject(2588 psDB *dbh ///< Database handle2589 2202 ); 2590 2203 … … 2602 2215 psDB *dbh, ///< Database handle 2603 2216 const psFits *fits ///< psFits object 2604 );2605 2606 /** Removes the last limit row from the database and returns them in a binary FITS table.2607 *2608 * This function assumes an empty psFits object and will create a FITS table as2609 * the first extension.2610 *2611 * @return true on success2612 */2613 2614 bool pzPendingImfilePopFits(2615 psDB *dbh, ///< Database handle2616 psFits *fits, ///< psFits object2617 unsigned long long limit ///< Maximum number of elements to return2618 2217 ); 2619 2218 … … 2776 2375 ); 2777 2376 2778 /** Removes the last row from the database and returns it2779 *2780 * @return true on success2781 */2782 2783 bool newExpPop(2784 psDB *dbh, ///< Database handle2785 char **exp_tag,2786 char **exp_id,2787 char **camera,2788 char **telescope,2789 char **exp_type,2790 psS32 *imfiles2791 );2792 2793 2377 /** Insert a single newExpRow object into a table 2794 2378 * … … 2813 2397 psDB *dbh, ///< Database handle 2814 2398 psArray *objects ///< array of newExpRow objects 2815 );2816 2817 /** Removes the last row from the database and returns it2818 *2819 * @return A new newExpRow on success or NULL on failure.2820 */2821 2822 newExpRow *newExpPopObject(2823 psDB *dbh ///< Database handle2824 2399 ); 2825 2400 … … 2837 2412 psDB *dbh, ///< Database handle 2838 2413 const psFits *fits ///< psFits object 2839 );2840 2841 /** Removes the last limit row from the database and returns them in a binary FITS table.2842 *2843 * This function assumes an empty psFits object and will create a FITS table as2844 * the first extension.2845 *2846 * @return true on success2847 */2848 2849 bool newExpPopFits(2850 psDB *dbh, ///< Database handle2851 psFits *fits, ///< psFits object2852 unsigned long long limit ///< Maximum number of elements to return2853 2414 ); 2854 2415 … … 3005 2566 ); 3006 2567 3007 /** Removes the last row from the database and returns it3008 *3009 * @return true on success3010 */3011 3012 bool newImfilePop(3013 psDB *dbh, ///< Database handle3014 char **exp_tag,3015 char **class,3016 char **class_id,3017 char **uri3018 );3019 3020 2568 /** Insert a single newImfileRow object into a table 3021 2569 * … … 3040 2588 psDB *dbh, ///< Database handle 3041 2589 psArray *objects ///< array of newImfileRow objects 3042 );3043 3044 /** Removes the last row from the database and returns it3045 *3046 * @return A new newImfileRow on success or NULL on failure.3047 */3048 3049 newImfileRow *newImfilePopObject(3050 psDB *dbh ///< Database handle3051 2590 ); 3052 2591 … … 3064 2603 psDB *dbh, ///< Database handle 3065 2604 const psFits *fits ///< psFits object 3066 );3067 3068 /** Removes the last limit row from the database and returns them in a binary FITS table.3069 *3070 * This function assumes an empty psFits object and will create a FITS table as3071 * the first extension.3072 *3073 * @return true on success3074 */3075 3076 bool newImfilePopFits(3077 psDB *dbh, ///< Database handle3078 psFits *fits, ///< psFits object3079 unsigned long long limit ///< Maximum number of elements to return3080 2605 ); 3081 2606 … … 3274 2799 ); 3275 2800 3276 /** Removes the last row from the database and returns it3277 *3278 * @return true on success3279 */3280 3281 bool rawDetrendExpPop(3282 psDB *dbh, ///< Database handle3283 char **exp_tag,3284 char **camera,3285 char **telescope,3286 char **exp_type,3287 psS32 *imfiles,3288 char **filter,3289 psF32 *airmass,3290 psF64 *ra,3291 psF64 *decl,3292 psF32 *exp_time,3293 psF64 *bg,3294 psF64 *bg_stdev,3295 psF64 *bg_mean_stdev,3296 psF64 *alt,3297 psF64 *az,3298 psF32 *ccd_temp,3299 psF64 *posang,3300 char **object3301 );3302 3303 2801 /** Insert a single rawDetrendExpRow object into a table 3304 2802 * … … 3323 2821 psDB *dbh, ///< Database handle 3324 2822 psArray *objects ///< array of rawDetrendExpRow objects 3325 );3326 3327 /** Removes the last row from the database and returns it3328 *3329 * @return A new rawDetrendExpRow on success or NULL on failure.3330 */3331 3332 rawDetrendExpRow *rawDetrendExpPopObject(3333 psDB *dbh ///< Database handle3334 2823 ); 3335 2824 … … 3347 2836 psDB *dbh, ///< Database handle 3348 2837 const psFits *fits ///< psFits object 3349 );3350 3351 /** Removes the last limit row from the database and returns them in a binary FITS table.3352 *3353 * This function assumes an empty psFits object and will create a FITS table as3354 * the first extension.3355 *3356 * @return true on success3357 */3358 3359 bool rawDetrendExpPopFits(3360 psDB *dbh, ///< Database handle3361 psFits *fits, ///< psFits object3362 unsigned long long limit ///< Maximum number of elements to return3363 2838 ); 3364 2839 … … 3557 3032 ); 3558 3033 3559 /** Removes the last row from the database and returns it3560 *3561 * @return true on success3562 */3563 3564 bool rawScienceExpPop(3565 psDB *dbh, ///< Database handle3566 char **exp_tag,3567 char **camera,3568 char **telescope,3569 char **exp_type,3570 psS32 *imfiles,3571 char **filter,3572 psF32 *airmass,3573 psF64 *ra,3574 psF64 *decl,3575 psF32 *exp_time,3576 psF64 *bg,3577 psF64 *bg_stdev,3578 psF64 *bg_mean_stdev,3579 psF64 *alt,3580 psF64 *az,3581 psF32 *ccd_temp,3582 psF64 *posang,3583 char **object3584 );3585 3586 3034 /** Insert a single rawScienceExpRow object into a table 3587 3035 * … … 3606 3054 psDB *dbh, ///< Database handle 3607 3055 psArray *objects ///< array of rawScienceExpRow objects 3608 );3609 3610 /** Removes the last row from the database and returns it3611 *3612 * @return A new rawScienceExpRow on success or NULL on failure.3613 */3614 3615 rawScienceExpRow *rawScienceExpPopObject(3616 psDB *dbh ///< Database handle3617 3056 ); 3618 3057 … … 3630 3069 psDB *dbh, ///< Database handle 3631 3070 const psFits *fits ///< psFits object 3632 );3633 3634 /** Removes the last limit row from the database and returns them in a binary FITS table.3635 *3636 * This function assumes an empty psFits object and will create a FITS table as3637 * the first extension.3638 *3639 * @return true on success3640 */3641 3642 bool rawScienceExpPopFits(3643 psDB *dbh, ///< Database handle3644 psFits *fits, ///< psFits object3645 unsigned long long limit ///< Maximum number of elements to return3646 3071 ); 3647 3072 … … 3840 3265 ); 3841 3266 3842 /** Removes the last row from the database and returns it3843 *3844 * @return true on success3845 */3846 3847 bool rawImfilePop(3848 psDB *dbh, ///< Database handle3849 char **exp_tag,3850 char **class,3851 char **class_id,3852 char **uri,3853 char **exp_type,3854 char **filter,3855 psF32 *airmass,3856 psF64 *ra,3857 psF64 *decl,3858 psF32 *exp_time,3859 psF64 *bg,3860 psF64 *bg_stdev,3861 psF64 *bg_mean_stdev,3862 psF64 *alt,3863 psF64 *az,3864 psF32 *ccd_temp,3865 psF64 *posang,3866 char **object3867 );3868 3869 3267 /** Insert a single rawImfileRow object into a table 3870 3268 * … … 3889 3287 psDB *dbh, ///< Database handle 3890 3288 psArray *objects ///< array of rawImfileRow objects 3891 );3892 3893 /** Removes the last row from the database and returns it3894 *3895 * @return A new rawImfileRow on success or NULL on failure.3896 */3897 3898 rawImfileRow *rawImfilePopObject(3899 psDB *dbh ///< Database handle3900 3289 ); 3901 3290 … … 3913 3302 psDB *dbh, ///< Database handle 3914 3303 const psFits *fits ///< psFits object 3915 );3916 3917 /** Removes the last limit row from the database and returns them in a binary FITS table.3918 *3919 * This function assumes an empty psFits object and will create a FITS table as3920 * the first extension.3921 *3922 * @return true on success3923 */3924 3925 bool rawImfilePopFits(3926 psDB *dbh, ///< Database handle3927 psFits *fits, ///< psFits object3928 unsigned long long limit ///< Maximum number of elements to return3929 3304 ); 3930 3305 … … 4078 3453 ); 4079 3454 4080 /** Removes the last row from the database and returns it4081 *4082 * @return true on success4083 */4084 4085 bool p1PendingExpPop(4086 psDB *dbh, ///< Database handle4087 char **exp_tag,4088 char **recipe,4089 psS32 *p1_version4090 );4091 4092 3455 /** Insert a single p1PendingExpRow object into a table 4093 3456 * … … 4112 3475 psDB *dbh, ///< Database handle 4113 3476 psArray *objects ///< array of p1PendingExpRow objects 4114 );4115 4116 /** Removes the last row from the database and returns it4117 *4118 * @return A new p1PendingExpRow on success or NULL on failure.4119 */4120 4121 p1PendingExpRow *p1PendingExpPopObject(4122 psDB *dbh ///< Database handle4123 3477 ); 4124 3478 … … 4136 3490 psDB *dbh, ///< Database handle 4137 3491 const psFits *fits ///< psFits object 4138 );4139 4140 /** Removes the last limit row from the database and returns them in a binary FITS table.4141 *4142 * This function assumes an empty psFits object and will create a FITS table as4143 * the first extension.4144 *4145 * @return true on success4146 */4147 4148 bool p1PendingExpPopFits(4149 psDB *dbh, ///< Database handle4150 psFits *fits, ///< psFits object4151 unsigned long long limit ///< Maximum number of elements to return4152 3492 ); 4153 3493 … … 4304 3644 ); 4305 3645 4306 /** Removes the last row from the database and returns it4307 *4308 * @return true on success4309 */4310 4311 bool p2PendingExpPop(4312 psDB *dbh, ///< Database handle4313 char **exp_tag,4314 char **recipe,4315 psS32 *p1_version,4316 psS32 *p2_version4317 );4318 4319 3646 /** Insert a single p2PendingExpRow object into a table 4320 3647 * … … 4339 3666 psDB *dbh, ///< Database handle 4340 3667 psArray *objects ///< array of p2PendingExpRow objects 4341 );4342 4343 /** Removes the last row from the database and returns it4344 *4345 * @return A new p2PendingExpRow on success or NULL on failure.4346 */4347 4348 p2PendingExpRow *p2PendingExpPopObject(4349 psDB *dbh ///< Database handle4350 3668 ); 4351 3669 … … 4363 3681 psDB *dbh, ///< Database handle 4364 3682 const psFits *fits ///< psFits object 4365 );4366 4367 /** Removes the last limit row from the database and returns them in a binary FITS table.4368 *4369 * This function assumes an empty psFits object and will create a FITS table as4370 * the first extension.4371 *4372 * @return true on success4373 */4374 4375 bool p2PendingExpPopFits(4376 psDB *dbh, ///< Database handle4377 psFits *fits, ///< psFits object4378 unsigned long long limit ///< Maximum number of elements to return4379 3683 ); 4380 3684 … … 4537 3841 ); 4538 3842 4539 /** Removes the last row from the database and returns it4540 *4541 * @return true on success4542 */4543 4544 bool p2PendingImfilePop(4545 psDB *dbh, ///< Database handle4546 char **exp_tag,4547 char **class_id,4548 char **uri,4549 char **recipe,4550 psS32 *p1_version,4551 psS32 *p2_version4552 );4553 4554 3843 /** Insert a single p2PendingImfileRow object into a table 4555 3844 * … … 4574 3863 psDB *dbh, ///< Database handle 4575 3864 psArray *objects ///< array of p2PendingImfileRow objects 4576 );4577 4578 /** Removes the last row from the database and returns it4579 *4580 * @return A new p2PendingImfileRow on success or NULL on failure.4581 */4582 4583 p2PendingImfileRow *p2PendingImfilePopObject(4584 psDB *dbh ///< Database handle4585 3865 ); 4586 3866 … … 4598 3878 psDB *dbh, ///< Database handle 4599 3879 const psFits *fits ///< psFits object 4600 );4601 4602 /** Removes the last limit row from the database and returns them in a binary FITS table.4603 *4604 * This function assumes an empty psFits object and will create a FITS table as4605 * the first extension.4606 *4607 * @return true on success4608 */4609 4610 bool p2PendingImfilePopFits(4611 psDB *dbh, ///< Database handle4612 psFits *fits, ///< psFits object4613 unsigned long long limit ///< Maximum number of elements to return4614 3880 ); 4615 3881 … … 4763 4029 ); 4764 4030 4765 /** Removes the last row from the database and returns it4766 *4767 * @return true on success4768 */4769 4770 bool p2ProcessedExpPop(4771 psDB *dbh, ///< Database handle4772 char **exp_tag,4773 psS32 *p1_version,4774 psS32 *p2_version4775 );4776 4777 4031 /** Insert a single p2ProcessedExpRow object into a table 4778 4032 * … … 4797 4051 psDB *dbh, ///< Database handle 4798 4052 psArray *objects ///< array of p2ProcessedExpRow objects 4799 );4800 4801 /** Removes the last row from the database and returns it4802 *4803 * @return A new p2ProcessedExpRow on success or NULL on failure.4804 */4805 4806 p2ProcessedExpRow *p2ProcessedExpPopObject(4807 psDB *dbh ///< Database handle4808 4053 ); 4809 4054 … … 4821 4066 psDB *dbh, ///< Database handle 4822 4067 const psFits *fits ///< psFits object 4823 );4824 4825 /** Removes the last limit row from the database and returns them in a binary FITS table.4826 *4827 * This function assumes an empty psFits object and will create a FITS table as4828 * the first extension.4829 *4830 * @return true on success4831 */4832 4833 bool p2ProcessedExpPopFits(4834 psDB *dbh, ///< Database handle4835 psFits *fits, ///< psFits object4836 unsigned long long limit ///< Maximum number of elements to return4837 4068 ); 4838 4069 … … 5010 4241 ); 5011 4242 5012 /** Removes the last row from the database and returns it5013 *5014 * @return true on success5015 */5016 5017 bool p2ProcessedImfilePop(5018 psDB *dbh, ///< Database handle5019 char **exp_tag,5020 char **class_id,5021 char **uri,5022 char **recipe,5023 psF64 *bg,5024 psF64 *bg_stdev,5025 psF64 *bg_mean_stdev,5026 char **b1_uri,5027 char **b2_uri,5028 psS32 *p1_version,5029 psS32 *p2_version5030 );5031 5032 4243 /** Insert a single p2ProcessedImfileRow object into a table 5033 4244 * … … 5052 4263 psDB *dbh, ///< Database handle 5053 4264 psArray *objects ///< array of p2ProcessedImfileRow objects 5054 );5055 5056 /** Removes the last row from the database and returns it5057 *5058 * @return A new p2ProcessedImfileRow on success or NULL on failure.5059 */5060 5061 p2ProcessedImfileRow *p2ProcessedImfilePopObject(5062 psDB *dbh ///< Database handle5063 4265 ); 5064 4266 … … 5076 4278 psDB *dbh, ///< Database handle 5077 4279 const psFits *fits ///< psFits object 5078 );5079 5080 /** Removes the last limit row from the database and returns them in a binary FITS table.5081 *5082 * This function assumes an empty psFits object and will create a FITS table as5083 * the first extension.5084 *5085 * @return true on success5086 */5087 5088 bool p2ProcessedImfilePopFits(5089 psDB *dbh, ///< Database handle5090 psFits *fits, ///< psFits object5091 unsigned long long limit ///< Maximum number of elements to return5092 4280 ); 5093 4281 … … 5241 4429 ); 5242 4430 5243 /** Removes the last row from the database and returns it5244 *5245 * @return true on success5246 */5247 5248 bool p3PendingExpPop(5249 psDB *dbh, ///< Database handle5250 char **exp_tag,5251 psS32 *p2_version,5252 psS32 *p3_version5253 );5254 5255 4431 /** Insert a single p3PendingExpRow object into a table 5256 4432 * … … 5275 4451 psDB *dbh, ///< Database handle 5276 4452 psArray *objects ///< array of p3PendingExpRow objects 5277 );5278 5279 /** Removes the last row from the database and returns it5280 *5281 * @return A new p3PendingExpRow on success or NULL on failure.5282 */5283 5284 p3PendingExpRow *p3PendingExpPopObject(5285 psDB *dbh ///< Database handle5286 4453 ); 5287 4454 … … 5299 4466 psDB *dbh, ///< Database handle 5300 4467 const psFits *fits ///< psFits object 5301 );5302 5303 /** Removes the last limit row from the database and returns them in a binary FITS table.5304 *5305 * This function assumes an empty psFits object and will create a FITS table as5306 * the first extension.5307 *5308 * @return true on success5309 */5310 5311 bool p3PendingExpPopFits(5312 psDB *dbh, ///< Database handle5313 psFits *fits, ///< psFits object5314 unsigned long long limit ///< Maximum number of elements to return5315 4468 ); 5316 4469 … … 5500 4653 ); 5501 4654 5502 /** Removes the last row from the database and returns it5503 *5504 * @return true on success5505 */5506 5507 bool p3ProcessedExpPop(5508 psDB *dbh, ///< Database handle5509 char **exp_tag,5510 char **uri,5511 char **recipe,5512 psF64 *bg,5513 psF64 *bg_stdev,5514 psF64 *bg_mean_stdev,5515 psF32 *sigma_ra,5516 psF32 *sigma_dec,5517 psS32 *nastro,5518 char **b1_uri,5519 char **b2_uri,5520 psF32 *zp_mean,5521 psF32 *zp_stdev,5522 psS32 *p2_version,5523 psS32 *p3_version5524 );5525 5526 4655 /** Insert a single p3ProcessedExpRow object into a table 5527 4656 * … … 5546 4675 psDB *dbh, ///< Database handle 5547 4676 psArray *objects ///< array of p3ProcessedExpRow objects 5548 );5549 5550 /** Removes the last row from the database and returns it5551 *5552 * @return A new p3ProcessedExpRow on success or NULL on failure.5553 */5554 5555 p3ProcessedExpRow *p3ProcessedExpPopObject(5556 psDB *dbh ///< Database handle5557 4677 ); 5558 4678 … … 5572 4692 ); 5573 4693 5574 /** Removes the last limit row from the database and returns them in a binary FITS table.5575 *5576 * This function assumes an empty psFits object and will create a FITS table as5577 * the first extension.5578 *5579 * @return true on success5580 */5581 5582 bool p3ProcessedExpPopFits(5583 psDB *dbh, ///< Database handle5584 psFits *fits, ///< psFits object5585 unsigned long long limit ///< Maximum number of elements to return5586 );5587 5588 4694 /** Selects up to limit from the database and returns them in a binary FITS table 5589 4695 * … … 5676 4782 5677 4783 typedef struct { 4784 psS32 det_id; 5678 4785 psS32 iteration; 5679 4786 char *det_type; … … 5687 4794 5688 4795 detRunRow *detRunRowAlloc( 4796 psS32 det_id, 5689 4797 psS32 iteration, 5690 4798 const char *det_type, … … 5719 4827 bool detRunInsert( 5720 4828 psDB *dbh, ///< Database handle 4829 psS32 det_id, 5721 4830 psS32 iteration, 5722 4831 const char *det_type, … … 5735 4844 ); 5736 4845 5737 /** Removes the last row from the database and returns it5738 *5739 * @return true on success5740 */5741 5742 bool detRunPop(5743 psDB *dbh, ///< Database handle5744 psS32 *iteration,5745 char **det_type,5746 char **state5747 );5748 5749 4846 /** Insert a single detRunRow object into a table 5750 4847 * … … 5769 4866 psDB *dbh, ///< Database handle 5770 4867 psArray *objects ///< array of detRunRow objects 5771 );5772 5773 /** Removes the last row from the database and returns it5774 *5775 * @return A new detRunRow on success or NULL on failure.5776 */5777 5778 detRunRow *detRunPopObject(5779 psDB *dbh ///< Database handle5780 4868 ); 5781 4869 … … 5793 4881 psDB *dbh, ///< Database handle 5794 4882 const psFits *fits ///< psFits object 5795 );5796 5797 /** Removes the last limit row from the database and returns them in a binary FITS table.5798 *5799 * This function assumes an empty psFits object and will create a FITS table as5800 * the first extension.5801 *5802 * @return true on success5803 */5804 5805 bool detRunPopFits(5806 psDB *dbh, ///< Database handle5807 psFits *fits, ///< psFits object5808 unsigned long long limit ///< Maximum number of elements to return5809 4883 ); 5810 4884 … … 5961 5035 ); 5962 5036 5963 /** Removes the last row from the database and returns it5964 *5965 * @return true on success5966 */5967 5968 bool detInputExpPop(5969 psDB *dbh, ///< Database handle5970 psS32 *det_id,5971 psS32 *iteration,5972 char **exp_tag,5973 bool *include5974 );5975 5976 5037 /** Insert a single detInputExpRow object into a table 5977 5038 * … … 5996 5057 psDB *dbh, ///< Database handle 5997 5058 psArray *objects ///< array of detInputExpRow objects 5998 );5999 6000 /** Removes the last row from the database and returns it6001 *6002 * @return A new detInputExpRow on success or NULL on failure.6003 */6004 6005 detInputExpRow *detInputExpPopObject(6006 psDB *dbh ///< Database handle6007 5059 ); 6008 5060 … … 6020 5072 psDB *dbh, ///< Database handle 6021 5073 const psFits *fits ///< psFits object 6022 );6023 6024 /** Removes the last limit row from the database and returns them in a binary FITS table.6025 *6026 * This function assumes an empty psFits object and will create a FITS table as6027 * the first extension.6028 *6029 * @return true on success6030 */6031 6032 bool detInputExpPopFits(6033 psDB *dbh, ///< Database handle6034 psFits *fits, ///< psFits object6035 unsigned long long limit ///< Maximum number of elements to return6036 5074 ); 6037 5075 … … 6206 5244 ); 6207 5245 6208 /** Removes the last row from the database and returns it6209 *6210 * @return true on success6211 */6212 6213 bool detProcessedImfilePop(6214 psDB *dbh, ///< Database handle6215 psS32 *det_id,6216 char **exp_tag,6217 char **class_id,6218 char **uri,6219 char **recipe,6220 psF64 *bg,6221 psF64 *bg_stdev,6222 psF64 *bg_mean_stdev,6223 char **b1_uri,6224 char **b2_uri6225 );6226 6227 5246 /** Insert a single detProcessedImfileRow object into a table 6228 5247 * … … 6247 5266 psDB *dbh, ///< Database handle 6248 5267 psArray *objects ///< array of detProcessedImfileRow objects 6249 );6250 6251 /** Removes the last row from the database and returns it6252 *6253 * @return A new detProcessedImfileRow on success or NULL on failure.6254 */6255 6256 detProcessedImfileRow *detProcessedImfilePopObject(6257 psDB *dbh ///< Database handle6258 5268 ); 6259 5269 … … 6271 5281 psDB *dbh, ///< Database handle 6272 5282 const psFits *fits ///< psFits object 6273 );6274 6275 /** Removes the last limit row from the database and returns them in a binary FITS table.6276 *6277 * This function assumes an empty psFits object and will create a FITS table as6278 * the first extension.6279 *6280 * @return true on success6281 */6282 6283 bool detProcessedImfilePopFits(6284 psDB *dbh, ///< Database handle6285 psFits *fits, ///< psFits object6286 unsigned long long limit ///< Maximum number of elements to return6287 5283 ); 6288 5284 … … 6451 5447 ); 6452 5448 6453 /** Removes the last row from the database and returns it6454 *6455 * @return true on success6456 */6457 6458 bool detProcessedExpPop(6459 psDB *dbh, ///< Database handle6460 psS32 *det_id,6461 char **exp_tag,6462 char **recipe,6463 psF64 *bg,6464 psF64 *bg_stdev,6465 psF64 *bg_mean_stdev,6466 char **b1_uri,6467 char **b2_uri6468 );6469 6470 5449 /** Insert a single detProcessedExpRow object into a table 6471 5450 * … … 6490 5469 psDB *dbh, ///< Database handle 6491 5470 psArray *objects ///< array of detProcessedExpRow objects 6492 );6493 6494 /** Removes the last row from the database and returns it6495 *6496 * @return A new detProcessedExpRow on success or NULL on failure.6497 */6498 6499 detProcessedExpRow *detProcessedExpPopObject(6500 psDB *dbh ///< Database handle6501 5471 ); 6502 5472 … … 6514 5484 psDB *dbh, ///< Database handle 6515 5485 const psFits *fits ///< psFits object 6516 );6517 6518 /** Removes the last limit row from the database and returns them in a binary FITS table.6519 *6520 * This function assumes an empty psFits object and will create a FITS table as6521 * the first extension.6522 *6523 * @return true on success6524 */6525 6526 bool detProcessedExpPopFits(6527 psDB *dbh, ///< Database handle6528 psFits *fits, ///< psFits object6529 unsigned long long limit ///< Maximum number of elements to return6530 5486 ); 6531 5487 … … 6694 5650 ); 6695 5651 6696 /** Removes the last row from the database and returns it6697 *6698 * @return true on success6699 */6700 6701 bool detStackedImfilePop(6702 psDB *dbh, ///< Database handle6703 psS32 *det_id,6704 psS32 *iteration,6705 char **class_id,6706 char **uri,6707 char **recipe,6708 psF64 *bg,6709 psF64 *bg_stdev,6710 psF64 *bg_mean_stdev6711 );6712 6713 5652 /** Insert a single detStackedImfileRow object into a table 6714 5653 * … … 6733 5672 psDB *dbh, ///< Database handle 6734 5673 psArray *objects ///< array of detStackedImfileRow objects 6735 );6736 6737 /** Removes the last row from the database and returns it6738 *6739 * @return A new detStackedImfileRow on success or NULL on failure.6740 */6741 6742 detStackedImfileRow *detStackedImfilePopObject(6743 psDB *dbh ///< Database handle6744 5674 ); 6745 5675 … … 6757 5687 psDB *dbh, ///< Database handle 6758 5688 const psFits *fits ///< psFits object 6759 );6760 6761 /** Removes the last limit row from the database and returns them in a binary FITS table.6762 *6763 * This function assumes an empty psFits object and will create a FITS table as6764 * the first extension.6765 *6766 * @return true on success6767 */6768 6769 bool detStackedImfilePopFits(6770 psDB *dbh, ///< Database handle6771 psFits *fits, ///< psFits object6772 unsigned long long limit ///< Maximum number of elements to return6773 5689 ); 6774 5690 … … 6925 5841 ); 6926 5842 6927 /** Removes the last row from the database and returns it6928 *6929 * @return true on success6930 */6931 6932 bool detNormalizedStatImfilePop(6933 psDB *dbh, ///< Database handle6934 psS32 *det_id,6935 psS32 *iteration,6936 char **class_id,6937 psF32 *norm6938 );6939 6940 5843 /** Insert a single detNormalizedStatImfileRow object into a table 6941 5844 * … … 6960 5863 psDB *dbh, ///< Database handle 6961 5864 psArray *objects ///< array of detNormalizedStatImfileRow objects 6962 );6963 6964 /** Removes the last row from the database and returns it6965 *6966 * @return A new detNormalizedStatImfileRow on success or NULL on failure.6967 */6968 6969 detNormalizedStatImfileRow *detNormalizedStatImfilePopObject(6970 psDB *dbh ///< Database handle6971 5865 ); 6972 5866 … … 6984 5878 psDB *dbh, ///< Database handle 6985 5879 const psFits *fits ///< psFits object 6986 );6987 6988 /** Removes the last limit row from the database and returns them in a binary FITS table.6989 *6990 * This function assumes an empty psFits object and will create a FITS table as6991 * the first extension.6992 *6993 * @return true on success6994 */6995 6996 bool detNormalizedStatImfilePopFits(6997 psDB *dbh, ///< Database handle6998 psFits *fits, ///< psFits object6999 unsigned long long limit ///< Maximum number of elements to return7000 5880 ); 7001 5881 … … 7167 6047 ); 7168 6048 7169 /** Removes the last row from the database and returns it7170 *7171 * @return true on success7172 */7173 7174 bool detNormalizedImfilePop(7175 psDB *dbh, ///< Database handle7176 psS32 *det_id,7177 psS32 *iteration,7178 char **class_id,7179 char **uri,7180 psF64 *bg,7181 psF64 *bg_stdev,7182 psF64 *bg_mean_stdev,7183 char **b1_uri,7184 char **b2_uri7185 );7186 7187 6049 /** Insert a single detNormalizedImfileRow object into a table 7188 6050 * … … 7207 6069 psDB *dbh, ///< Database handle 7208 6070 psArray *objects ///< array of detNormalizedImfileRow objects 7209 );7210 7211 /** Removes the last row from the database and returns it7212 *7213 * @return A new detNormalizedImfileRow on success or NULL on failure.7214 */7215 7216 detNormalizedImfileRow *detNormalizedImfilePopObject(7217 psDB *dbh ///< Database handle7218 6071 ); 7219 6072 … … 7231 6084 psDB *dbh, ///< Database handle 7232 6085 const psFits *fits ///< psFits object 7233 );7234 7235 /** Removes the last limit row from the database and returns them in a binary FITS table.7236 *7237 * This function assumes an empty psFits object and will create a FITS table as7238 * the first extension.7239 *7240 * @return true on success7241 */7242 7243 bool detNormalizedImfilePopFits(7244 psDB *dbh, ///< Database handle7245 psFits *fits, ///< psFits object7246 unsigned long long limit ///< Maximum number of elements to return7247 6086 ); 7248 6087 … … 7411 6250 ); 7412 6251 7413 /** Removes the last row from the database and returns it7414 *7415 * @return true on success7416 */7417 7418 bool detNormalizedExpPop(7419 psDB *dbh, ///< Database handle7420 psS32 *det_id,7421 psS32 *iteration,7422 char **recipe,7423 psF64 *bg,7424 psF64 *bg_stdev,7425 psF64 *bg_mean_stdev,7426 char **b1_uri,7427 char **b2_uri7428 );7429 7430 6252 /** Insert a single detNormalizedExpRow object into a table 7431 6253 * … … 7450 6272 psDB *dbh, ///< Database handle 7451 6273 psArray *objects ///< array of detNormalizedExpRow objects 7452 );7453 7454 /** Removes the last row from the database and returns it7455 *7456 * @return A new detNormalizedExpRow on success or NULL on failure.7457 */7458 7459 detNormalizedExpRow *detNormalizedExpPopObject(7460 psDB *dbh ///< Database handle7461 6274 ); 7462 6275 … … 7474 6287 psDB *dbh, ///< Database handle 7475 6288 const psFits *fits ///< psFits object 7476 );7477 7478 /** Removes the last limit row from the database and returns them in a binary FITS table.7479 *7480 * This function assumes an empty psFits object and will create a FITS table as7481 * the first extension.7482 *7483 * @return true on success7484 */7485 7486 bool detNormalizedExpPopFits(7487 psDB *dbh, ///< Database handle7488 psFits *fits, ///< psFits object7489 unsigned long long limit ///< Maximum number of elements to return7490 6289 ); 7491 6290 … … 7639 6438 ); 7640 6439 7641 /** Removes the last row from the database and returns it7642 *7643 * @return true on success7644 */7645 7646 bool detMasterFramePop(7647 psDB *dbh, ///< Database handle7648 psS32 *det_id,7649 psS32 *iteration,7650 char **comment7651 );7652 7653 6440 /** Insert a single detMasterFrameRow object into a table 7654 6441 * … … 7673 6460 psDB *dbh, ///< Database handle 7674 6461 psArray *objects ///< array of detMasterFrameRow objects 7675 );7676 7677 /** Removes the last row from the database and returns it7678 *7679 * @return A new detMasterFrameRow on success or NULL on failure.7680 */7681 7682 detMasterFrameRow *detMasterFramePopObject(7683 psDB *dbh ///< Database handle7684 6462 ); 7685 6463 … … 7697 6475 psDB *dbh, ///< Database handle 7698 6476 const psFits *fits ///< psFits object 7699 );7700 7701 /** Removes the last limit row from the database and returns them in a binary FITS table.7702 *7703 * This function assumes an empty psFits object and will create a FITS table as7704 * the first extension.7705 *7706 * @return true on success7707 */7708 7709 bool detMasterFramePopFits(7710 psDB *dbh, ///< Database handle7711 psFits *fits, ///< psFits object7712 unsigned long long limit ///< Maximum number of elements to return7713 6477 ); 7714 6478 … … 7865 6629 ); 7866 6630 7867 /** Removes the last row from the database and returns it7868 *7869 * @return true on success7870 */7871 7872 bool detMasterImfilePop(7873 psDB *dbh, ///< Database handle7874 psS32 *det_id,7875 char **class_id,7876 char **uri,7877 char **recipe7878 );7879 7880 6631 /** Insert a single detMasterImfileRow object into a table 7881 6632 * … … 7900 6651 psDB *dbh, ///< Database handle 7901 6652 psArray *objects ///< array of detMasterImfileRow objects 7902 );7903 7904 /** Removes the last row from the database and returns it7905 *7906 * @return A new detMasterImfileRow on success or NULL on failure.7907 */7908 7909 detMasterImfileRow *detMasterImfilePopObject(7910 psDB *dbh ///< Database handle7911 6653 ); 7912 6654 … … 7924 6666 psDB *dbh, ///< Database handle 7925 6667 const psFits *fits ///< psFits object 7926 );7927 7928 /** Removes the last limit row from the database and returns them in a binary FITS table.7929 *7930 * This function assumes an empty psFits object and will create a FITS table as7931 * the first extension.7932 *7933 * @return true on success7934 */7935 7936 bool detMasterImfilePopFits(7937 psDB *dbh, ///< Database handle7938 psFits *fits, ///< psFits object7939 unsigned long long limit ///< Maximum number of elements to return7940 6668 ); 7941 6669 … … 8113 6841 ); 8114 6842 8115 /** Removes the last row from the database and returns it8116 *8117 * @return true on success8118 */8119 8120 bool detResidImfilePop(8121 psDB *dbh, ///< Database handle8122 psS32 *det_id,8123 psS32 *iteration,8124 char **exp_tag,8125 char **class_id,8126 char **uri,8127 char **recipe,8128 psF64 *bg,8129 psF64 *bg_stdev,8130 psF64 *bg_mean_stdev,8131 char **b1_uri,8132 char **b2_uri8133 );8134 8135 6843 /** Insert a single detResidImfileRow object into a table 8136 6844 * … … 8155 6863 psDB *dbh, ///< Database handle 8156 6864 psArray *objects ///< array of detResidImfileRow objects 8157 );8158 8159 /** Removes the last row from the database and returns it8160 *8161 * @return A new detResidImfileRow on success or NULL on failure.8162 */8163 8164 detResidImfileRow *detResidImfilePopObject(8165 psDB *dbh ///< Database handle8166 6865 ); 8167 6866 … … 8179 6878 psDB *dbh, ///< Database handle 8180 6879 const psFits *fits ///< psFits object 8181 );8182 8183 /** Removes the last limit row from the database and returns them in a binary FITS table.8184 *8185 * This function assumes an empty psFits object and will create a FITS table as8186 * the first extension.8187 *8188 * @return true on success8189 */8190 8191 bool detResidImfilePopFits(8192 psDB *dbh, ///< Database handle8193 psFits *fits, ///< psFits object8194 unsigned long long limit ///< Maximum number of elements to return8195 6880 ); 8196 6881 … … 8365 7050 ); 8366 7051 8367 /** Removes the last row from the database and returns it8368 *8369 * @return true on success8370 */8371 8372 bool detResidExpPop(8373 psDB *dbh, ///< Database handle8374 psS32 *det_id,8375 psS32 *iteration,8376 char **exp_tag,8377 char **recipe,8378 psF64 *bg,8379 psF64 *bg_stdev,8380 psF64 *bg_mean_stdev,8381 char **b1_uri,8382 char **b2_uri,8383 bool *accept8384 );8385 8386 7052 /** Insert a single detResidExpRow object into a table 8387 7053 * … … 8406 7072 psDB *dbh, ///< Database handle 8407 7073 psArray *objects ///< array of detResidExpRow objects 8408 );8409 8410 /** Removes the last row from the database and returns it8411 *8412 * @return A new detResidExpRow on success or NULL on failure.8413 */8414 8415 detResidExpRow *detResidExpPopObject(8416 psDB *dbh ///< Database handle8417 7074 ); 8418 7075 … … 8430 7087 psDB *dbh, ///< Database handle 8431 7088 const psFits *fits ///< psFits object 8432 );8433 8434 /** Removes the last limit row from the database and returns them in a binary FITS table.8435 *8436 * This function assumes an empty psFits object and will create a FITS table as8437 * the first extension.8438 *8439 * @return true on success8440 */8441 8442 bool detResidExpPopFits(8443 psDB *dbh, ///< Database handle8444 psFits *fits, ///< psFits object8445 unsigned long long limit ///< Maximum number of elements to return8446 7089 ); 8447 7090 … … 8604 7247 ); 8605 7248 8606 /** Removes the last row from the database and returns it8607 *8608 * @return true on success8609 */8610 8611 bool detRunSummaryPop(8612 psDB *dbh, ///< Database handle8613 psS32 *det_id,8614 psS32 *iteration,8615 psF64 *bg,8616 psF64 *bg_stdev,8617 psF64 *bg_mean_stdev,8618 bool *accept8619 );8620 8621 7249 /** Insert a single detRunSummaryRow object into a table 8622 7250 * … … 8641 7269 psDB *dbh, ///< Database handle 8642 7270 psArray *objects ///< array of detRunSummaryRow objects 8643 );8644 8645 /** Removes the last row from the database and returns it8646 *8647 * @return A new detRunSummaryRow on success or NULL on failure.8648 */8649 8650 detRunSummaryRow *detRunSummaryPopObject(8651 psDB *dbh ///< Database handle8652 7271 ); 8653 7272 … … 8667 7286 ); 8668 7287 8669 /** Removes the last limit row from the database and returns them in a binary FITS table.8670 *8671 * This function assumes an empty psFits object and will create a FITS table as8672 * the first extension.8673 *8674 * @return true on success8675 */8676 8677 bool detRunSummaryPopFits(8678 psDB *dbh, ///< Database handle8679 psFits *fits, ///< psFits object8680 unsigned long long limit ///< Maximum number of elements to return8681 );8682 8683 7288 /** Selects up to limit from the database and returns them in a binary FITS table 8684 7289 *
Note:
See TracChangeset
for help on using the changeset viewer.
