IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2006, 1:43:03 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.49

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/src/ippdb.h

    r9307 r9423  
    11/*
    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
    423 *
    524 * Do NOT directly edit this file.
     
    2948    const char      *user,              ///< Database username
    3049    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
    3252);
    3353
     
    182202);
    183203
    184 /** Removes the last row from the database and returns it
    185  *
    186  * @return true on success
    187  */
    188 
    189 bool weatherPop(
    190     psDB            *dbh,               ///< Database handle
    191     psF32           *temp01,
    192     psF32           *humi01,
    193     psF32           *temp02,
    194     psF32           *humi02,
    195     psF32           *temp03,
    196     psF32           *humi03,
    197     psF32           *pressure
    198 );
    199 
    200204/** Insert a single weatherRow object into a table
    201205 *
     
    220224    psDB            *dbh,               ///< Database handle
    221225    psArray         *objects            ///< array of weatherRow objects
    222 );
    223 
    224 /** Removes the last row from the database and returns it
    225  *
    226  * @return A new weatherRow on success or NULL on failure.
    227  */
    228 
    229 weatherRow *weatherPopObject(
    230     psDB            *dbh                ///< Database handle
    231226);
    232227
     
    244239    psDB            *dbh,               ///< Database handle
    245240    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 as
    251  * the first extension.
    252  *
    253  * @return true on success
    254  */
    255 
    256 bool weatherPopFits(
    257     psDB            *dbh,               ///< Database handle
    258     psFits          *fits,              ///< psFits object
    259     unsigned long long limit            ///< Maximum number of elements to return
    260241);
    261242
     
    421402);
    422403
    423 /** Removes the last row from the database and returns it
    424  *
    425  * @return true on success
    426  */
    427 
    428 bool skyp_transparencyPop(
    429     psDB            *dbh,               ///< Database handle
    430     char            **filter,
    431     psF64           *trans,
    432     psS32           *nstars,
    433     psF64           *ra,
    434     psF64           *decl,
    435     psF32           *exptime,
    436     psF64           *sky_bright
    437 );
    438 
    439404/** Insert a single skyp_transparencyRow object into a table
    440405 *
     
    459424    psDB            *dbh,               ///< Database handle
    460425    psArray         *objects            ///< array of skyp_transparencyRow objects
    461 );
    462 
    463 /** Removes the last row from the database and returns it
    464  *
    465  * @return A new skyp_transparencyRow on success or NULL on failure.
    466  */
    467 
    468 skyp_transparencyRow *skyp_transparencyPopObject(
    469     psDB            *dbh                ///< Database handle
    470426);
    471427
     
    483439    psDB            *dbh,               ///< Database handle
    484440    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 as
    490  * the first extension.
    491  *
    492  * @return true on success
    493  */
    494 
    495 bool skyp_transparencyPopFits(
    496     psDB            *dbh,               ///< Database handle
    497     psFits          *fits,              ///< psFits object
    498     unsigned long long limit            ///< Maximum number of elements to return
    499441);
    500442
     
    666608);
    667609
    668 /** Removes the last row from the database and returns it
    669  *
    670  * @return true on success
    671  */
    672 
    673 bool skyp_absorptionPop(
    674     psDB            *dbh,               ///< Database handle
    675     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_bright
    684 );
    685 
    686610/** Insert a single skyp_absorptionRow object into a table
    687611 *
     
    706630    psDB            *dbh,               ///< Database handle
    707631    psArray         *objects            ///< array of skyp_absorptionRow objects
    708 );
    709 
    710 /** Removes the last row from the database and returns it
    711  *
    712  * @return A new skyp_absorptionRow on success or NULL on failure.
    713  */
    714 
    715 skyp_absorptionRow *skyp_absorptionPopObject(
    716     psDB            *dbh                ///< Database handle
    717632);
    718633
     
    730645    psDB            *dbh,               ///< Database handle
    731646    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 as
    737  * the first extension.
    738  *
    739  * @return true on success
    740  */
    741 
    742 bool skyp_absorptionPopFits(
    743     psDB            *dbh,               ///< Database handle
    744     psFits          *fits,              ///< psFits object
    745     unsigned long long limit            ///< Maximum number of elements to return
    746647);
    747648
     
    904805);
    905806
    906 /** Removes the last row from the database and returns it
    907  *
    908  * @return true on success
    909  */
    910 
    911 bool skyp_emissionPop(
    912     psDB            *dbh,               ///< Database handle
    913     char            **disperser_id,
    914     psF32           *atmcomp1,
    915     psF32           *atmcomp2,
    916     psF32           *atmcomp3,
    917     psF32           *continuum,
    918     psF32           *exptime
    919 );
    920 
    921807/** Insert a single skyp_emissionRow object into a table
    922808 *
     
    941827    psDB            *dbh,               ///< Database handle
    942828    psArray         *objects            ///< array of skyp_emissionRow objects
    943 );
    944 
    945 /** Removes the last row from the database and returns it
    946  *
    947  * @return A new skyp_emissionRow on success or NULL on failure.
    948  */
    949 
    950 skyp_emissionRow *skyp_emissionPopObject(
    951     psDB            *dbh                ///< Database handle
    952829);
    953830
     
    965842    psDB            *dbh,               ///< Database handle
    966843    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 as
    972  * the first extension.
    973  *
    974  * @return true on success
    975  */
    976 
    977 bool skyp_emissionPopFits(
    978     psDB            *dbh,               ///< Database handle
    979     psFits          *fits,              ///< psFits object
    980     unsigned long long limit            ///< Maximum number of elements to return
    981844);
    982845
     
    11421005);
    11431006
    1144 /** Removes the last row from the database and returns it
    1145  *
    1146  * @return true on success
    1147  */
    1148 
    1149 bool dimmPop(
    1150     psDB            *dbh,               ///< Database handle
    1151     psF32           *sigmax,
    1152     psF32           *sigmay,
    1153     psF32           *fwhm,
    1154     psF64           *ra,
    1155     psF64           *decl,
    1156     psF32           *expttime,
    1157     char            **telescope_id
    1158 );
    1159 
    11601007/** Insert a single dimmRow object into a table
    11611008 *
     
    11801027    psDB            *dbh,               ///< Database handle
    11811028    psArray         *objects            ///< array of dimmRow objects
    1182 );
    1183 
    1184 /** Removes the last row from the database and returns it
    1185  *
    1186  * @return A new dimmRow on success or NULL on failure.
    1187  */
    1188 
    1189 dimmRow *dimmPopObject(
    1190     psDB            *dbh                ///< Database handle
    11911029);
    11921030
     
    12041042    psDB            *dbh,               ///< Database handle
    12051043    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 as
    1211  * the first extension.
    1212  *
    1213  * @return true on success
    1214  */
    1215 
    1216 bool dimmPopFits(
    1217     psDB            *dbh,               ///< Database handle
    1218     psFits          *fits,              ///< psFits object
    1219     unsigned long long limit            ///< Maximum number of elements to return
    12201044);
    12211045
     
    13781202);
    13791203
    1380 /** Removes the last row from the database and returns it
    1381  *
    1382  * @return true on success
    1383  */
    1384 
    1385 bool skyp_irPop(
    1386     psDB            *dbh,               ///< Database handle
    1387     psF64           *sky_bright,
    1388     psF64           *sky_var,
    1389     psF64           *ra,
    1390     psF64           *decl,
    1391     psF32           *fov_x,
    1392     psF32           *fov_y
    1393 );
    1394 
    13951204/** Insert a single skyp_irRow object into a table
    13961205 *
     
    14151224    psDB            *dbh,               ///< Database handle
    14161225    psArray         *objects            ///< array of skyp_irRow objects
    1417 );
    1418 
    1419 /** Removes the last row from the database and returns it
    1420  *
    1421  * @return A new skyp_irRow on success or NULL on failure.
    1422  */
    1423 
    1424 skyp_irRow *skyp_irPopObject(
    1425     psDB            *dbh                ///< Database handle
    14261226);
    14271227
     
    14391239    psDB            *dbh,               ///< Database handle
    14401240    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 as
    1446  * the first extension.
    1447  *
    1448  * @return true on success
    1449  */
    1450 
    1451 bool skyp_irPopFits(
    1452     psDB            *dbh,               ///< Database handle
    1453     psFits          *fits,              ///< psFits object
    1454     unsigned long long limit            ///< Maximum number of elements to return
    14551241);
    14561242
     
    16071393);
    16081394
    1609 /** Removes the last row from the database and returns it
    1610  *
    1611  * @return true on success
    1612  */
    1613 
    1614 bool domePop(
    1615     psDB            *dbh,               ///< Database handle
    1616     psF32           *az,
    1617     bool            *open,
    1618     bool            *light,
    1619     bool            *track
    1620 );
    1621 
    16221395/** Insert a single domeRow object into a table
    16231396 *
     
    16421415    psDB            *dbh,               ///< Database handle
    16431416    psArray         *objects            ///< array of domeRow objects
    1644 );
    1645 
    1646 /** Removes the last row from the database and returns it
    1647  *
    1648  * @return A new domeRow on success or NULL on failure.
    1649  */
    1650 
    1651 domeRow *domePopObject(
    1652     psDB            *dbh                ///< Database handle
    16531417);
    16541418
     
    16661430    psDB            *dbh,               ///< Database handle
    16671431    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 as
    1673  * the first extension.
    1674  *
    1675  * @return true on success
    1676  */
    1677 
    1678 bool domePopFits(
    1679     psDB            *dbh,               ///< Database handle
    1680     psFits          *fits,              ///< psFits object
    1681     unsigned long long limit            ///< Maximum number of elements to return
    16821432);
    16831433
     
    18371587);
    18381588
    1839 /** Removes the last row from the database and returns it
    1840  *
    1841  * @return true on success
    1842  */
    1843 
    1844 bool telescopePop(
    1845     psDB            *dbh,               ///< Database handle
    1846     char            **guide,
    1847     psF32           *alt,
    1848     psF32           *az,
    1849     psF64           *ra,
    1850     psF64           *decl
    1851 );
    1852 
    18531589/** Insert a single telescopeRow object into a table
    18541590 *
     
    18731609    psDB            *dbh,               ///< Database handle
    18741610    psArray         *objects            ///< array of telescopeRow objects
    1875 );
    1876 
    1877 /** Removes the last row from the database and returns it
    1878  *
    1879  * @return A new telescopeRow on success or NULL on failure.
    1880  */
    1881 
    1882 telescopeRow *telescopePopObject(
    1883     psDB            *dbh                ///< Database handle
    18841611);
    18851612
     
    18971624    psDB            *dbh,               ///< Database handle
    18981625    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 as
    1904  * the first extension.
    1905  *
    1906  * @return true on success
    1907  */
    1908 
    1909 bool telescopePopFits(
    1910     psDB            *dbh,               ///< Database handle
    1911     psFits          *fits,              ///< psFits object
    1912     unsigned long long limit            ///< Maximum number of elements to return
    19131626);
    19141627
     
    20681781);
    20691782
    2070 /** Removes the last row from the database and returns it
    2071  *
    2072  * @return true on success
    2073  */
    2074 
    2075 bool summitExpPop(
    2076     psDB            *dbh,               ///< Database handle
    2077     char            **exp_id,
    2078     char            **camera,
    2079     char            **telescope,
    2080     char            **exp_type,
    2081     char            **uri
    2082 );
    2083 
    20841783/** Insert a single summitExpRow object into a table
    20851784 *
     
    21041803    psDB            *dbh,               ///< Database handle
    21051804    psArray         *objects            ///< array of summitExpRow objects
    2106 );
    2107 
    2108 /** Removes the last row from the database and returns it
    2109  *
    2110  * @return A new summitExpRow on success or NULL on failure.
    2111  */
    2112 
    2113 summitExpRow *summitExpPopObject(
    2114     psDB            *dbh                ///< Database handle
    21151805);
    21161806
     
    21281818    psDB            *dbh,               ///< Database handle
    21291819    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 as
    2135  * the first extension.
    2136  *
    2137  * @return true on success
    2138  */
    2139 
    2140 bool summitExpPopFits(
    2141     psDB            *dbh,               ///< Database handle
    2142     psFits          *fits,              ///< psFits object
    2143     unsigned long long limit            ///< Maximum number of elements to return
    21441820);
    21451821
     
    22991975);
    23001976
    2301 /** Removes the last row from the database and returns it
    2302  *
    2303  * @return true on success
    2304  */
    2305 
    2306 bool pzPendingExpPop(
    2307     psDB            *dbh,               ///< Database handle
    2308     char            **exp_id,
    2309     char            **camera,
    2310     char            **telescope,
    2311     char            **exp_type,
    2312     psS32           *imfiles
    2313 );
    2314 
    23151977/** Insert a single pzPendingExpRow object into a table
    23161978 *
     
    23351997    psDB            *dbh,               ///< Database handle
    23361998    psArray         *objects            ///< array of pzPendingExpRow objects
    2337 );
    2338 
    2339 /** Removes the last row from the database and returns it
    2340  *
    2341  * @return A new pzPendingExpRow on success or NULL on failure.
    2342  */
    2343 
    2344 pzPendingExpRow *pzPendingExpPopObject(
    2345     psDB            *dbh                ///< Database handle
    23461999);
    23472000
     
    23592012    psDB            *dbh,               ///< Database handle
    23602013    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 as
    2366  * the first extension.
    2367  *
    2368  * @return true on success
    2369  */
    2370 
    2371 bool pzPendingExpPopFits(
    2372     psDB            *dbh,               ///< Database handle
    2373     psFits          *fits,              ///< psFits object
    2374     unsigned long long limit            ///< Maximum number of elements to return
    23752014);
    23762015
     
    25392178);
    25402179
    2541 /** Removes the last row from the database and returns it
    2542  *
    2543  * @return true on success
    2544  */
    2545 
    2546 bool pzPendingImfilePop(
    2547     psDB            *dbh,               ///< Database handle
    2548     char            **exp_id,
    2549     char            **camera,
    2550     char            **telescope,
    2551     psS32           *bytes,
    2552     char            **md5sum,
    2553     char            **class,
    2554     char            **class_id,
    2555     char            **uri
    2556 );
    2557 
    25582180/** Insert a single pzPendingImfileRow object into a table
    25592181 *
     
    25782200    psDB            *dbh,               ///< Database handle
    25792201    psArray         *objects            ///< array of pzPendingImfileRow objects
    2580 );
    2581 
    2582 /** Removes the last row from the database and returns it
    2583  *
    2584  * @return A new pzPendingImfileRow on success or NULL on failure.
    2585  */
    2586 
    2587 pzPendingImfileRow *pzPendingImfilePopObject(
    2588     psDB            *dbh                ///< Database handle
    25892202);
    25902203
     
    26022215    psDB            *dbh,               ///< Database handle
    26032216    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 as
    2609  * the first extension.
    2610  *
    2611  * @return true on success
    2612  */
    2613 
    2614 bool pzPendingImfilePopFits(
    2615     psDB            *dbh,               ///< Database handle
    2616     psFits          *fits,              ///< psFits object
    2617     unsigned long long limit            ///< Maximum number of elements to return
    26182217);
    26192218
     
    27762375);
    27772376
    2778 /** Removes the last row from the database and returns it
    2779  *
    2780  * @return true on success
    2781  */
    2782 
    2783 bool newExpPop(
    2784     psDB            *dbh,               ///< Database handle
    2785     char            **exp_tag,
    2786     char            **exp_id,
    2787     char            **camera,
    2788     char            **telescope,
    2789     char            **exp_type,
    2790     psS32           *imfiles
    2791 );
    2792 
    27932377/** Insert a single newExpRow object into a table
    27942378 *
     
    28132397    psDB            *dbh,               ///< Database handle
    28142398    psArray         *objects            ///< array of newExpRow objects
    2815 );
    2816 
    2817 /** Removes the last row from the database and returns it
    2818  *
    2819  * @return A new newExpRow on success or NULL on failure.
    2820  */
    2821 
    2822 newExpRow *newExpPopObject(
    2823     psDB            *dbh                ///< Database handle
    28242399);
    28252400
     
    28372412    psDB            *dbh,               ///< Database handle
    28382413    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 as
    2844  * the first extension.
    2845  *
    2846  * @return true on success
    2847  */
    2848 
    2849 bool newExpPopFits(
    2850     psDB            *dbh,               ///< Database handle
    2851     psFits          *fits,              ///< psFits object
    2852     unsigned long long limit            ///< Maximum number of elements to return
    28532414);
    28542415
     
    30052566);
    30062567
    3007 /** Removes the last row from the database and returns it
    3008  *
    3009  * @return true on success
    3010  */
    3011 
    3012 bool newImfilePop(
    3013     psDB            *dbh,               ///< Database handle
    3014     char            **exp_tag,
    3015     char            **class,
    3016     char            **class_id,
    3017     char            **uri
    3018 );
    3019 
    30202568/** Insert a single newImfileRow object into a table
    30212569 *
     
    30402588    psDB            *dbh,               ///< Database handle
    30412589    psArray         *objects            ///< array of newImfileRow objects
    3042 );
    3043 
    3044 /** Removes the last row from the database and returns it
    3045  *
    3046  * @return A new newImfileRow on success or NULL on failure.
    3047  */
    3048 
    3049 newImfileRow *newImfilePopObject(
    3050     psDB            *dbh                ///< Database handle
    30512590);
    30522591
     
    30642603    psDB            *dbh,               ///< Database handle
    30652604    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 as
    3071  * the first extension.
    3072  *
    3073  * @return true on success
    3074  */
    3075 
    3076 bool newImfilePopFits(
    3077     psDB            *dbh,               ///< Database handle
    3078     psFits          *fits,              ///< psFits object
    3079     unsigned long long limit            ///< Maximum number of elements to return
    30802605);
    30812606
     
    32742799);
    32752800
    3276 /** Removes the last row from the database and returns it
    3277  *
    3278  * @return true on success
    3279  */
    3280 
    3281 bool rawDetrendExpPop(
    3282     psDB            *dbh,               ///< Database handle
    3283     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            **object
    3301 );
    3302 
    33032801/** Insert a single rawDetrendExpRow object into a table
    33042802 *
     
    33232821    psDB            *dbh,               ///< Database handle
    33242822    psArray         *objects            ///< array of rawDetrendExpRow objects
    3325 );
    3326 
    3327 /** Removes the last row from the database and returns it
    3328  *
    3329  * @return A new rawDetrendExpRow on success or NULL on failure.
    3330  */
    3331 
    3332 rawDetrendExpRow *rawDetrendExpPopObject(
    3333     psDB            *dbh                ///< Database handle
    33342823);
    33352824
     
    33472836    psDB            *dbh,               ///< Database handle
    33482837    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 as
    3354  * the first extension.
    3355  *
    3356  * @return true on success
    3357  */
    3358 
    3359 bool rawDetrendExpPopFits(
    3360     psDB            *dbh,               ///< Database handle
    3361     psFits          *fits,              ///< psFits object
    3362     unsigned long long limit            ///< Maximum number of elements to return
    33632838);
    33642839
     
    35573032);
    35583033
    3559 /** Removes the last row from the database and returns it
    3560  *
    3561  * @return true on success
    3562  */
    3563 
    3564 bool rawScienceExpPop(
    3565     psDB            *dbh,               ///< Database handle
    3566     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            **object
    3584 );
    3585 
    35863034/** Insert a single rawScienceExpRow object into a table
    35873035 *
     
    36063054    psDB            *dbh,               ///< Database handle
    36073055    psArray         *objects            ///< array of rawScienceExpRow objects
    3608 );
    3609 
    3610 /** Removes the last row from the database and returns it
    3611  *
    3612  * @return A new rawScienceExpRow on success or NULL on failure.
    3613  */
    3614 
    3615 rawScienceExpRow *rawScienceExpPopObject(
    3616     psDB            *dbh                ///< Database handle
    36173056);
    36183057
     
    36303069    psDB            *dbh,               ///< Database handle
    36313070    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 as
    3637  * the first extension.
    3638  *
    3639  * @return true on success
    3640  */
    3641 
    3642 bool rawScienceExpPopFits(
    3643     psDB            *dbh,               ///< Database handle
    3644     psFits          *fits,              ///< psFits object
    3645     unsigned long long limit            ///< Maximum number of elements to return
    36463071);
    36473072
     
    38403265);
    38413266
    3842 /** Removes the last row from the database and returns it
    3843  *
    3844  * @return true on success
    3845  */
    3846 
    3847 bool rawImfilePop(
    3848     psDB            *dbh,               ///< Database handle
    3849     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            **object
    3867 );
    3868 
    38693267/** Insert a single rawImfileRow object into a table
    38703268 *
     
    38893287    psDB            *dbh,               ///< Database handle
    38903288    psArray         *objects            ///< array of rawImfileRow objects
    3891 );
    3892 
    3893 /** Removes the last row from the database and returns it
    3894  *
    3895  * @return A new rawImfileRow on success or NULL on failure.
    3896  */
    3897 
    3898 rawImfileRow *rawImfilePopObject(
    3899     psDB            *dbh                ///< Database handle
    39003289);
    39013290
     
    39133302    psDB            *dbh,               ///< Database handle
    39143303    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 as
    3920  * the first extension.
    3921  *
    3922  * @return true on success
    3923  */
    3924 
    3925 bool rawImfilePopFits(
    3926     psDB            *dbh,               ///< Database handle
    3927     psFits          *fits,              ///< psFits object
    3928     unsigned long long limit            ///< Maximum number of elements to return
    39293304);
    39303305
     
    40783453);
    40793454
    4080 /** Removes the last row from the database and returns it
    4081  *
    4082  * @return true on success
    4083  */
    4084 
    4085 bool p1PendingExpPop(
    4086     psDB            *dbh,               ///< Database handle
    4087     char            **exp_tag,
    4088     char            **recipe,
    4089     psS32           *p1_version
    4090 );
    4091 
    40923455/** Insert a single p1PendingExpRow object into a table
    40933456 *
     
    41123475    psDB            *dbh,               ///< Database handle
    41133476    psArray         *objects            ///< array of p1PendingExpRow objects
    4114 );
    4115 
    4116 /** Removes the last row from the database and returns it
    4117  *
    4118  * @return A new p1PendingExpRow on success or NULL on failure.
    4119  */
    4120 
    4121 p1PendingExpRow *p1PendingExpPopObject(
    4122     psDB            *dbh                ///< Database handle
    41233477);
    41243478
     
    41363490    psDB            *dbh,               ///< Database handle
    41373491    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 as
    4143  * the first extension.
    4144  *
    4145  * @return true on success
    4146  */
    4147 
    4148 bool p1PendingExpPopFits(
    4149     psDB            *dbh,               ///< Database handle
    4150     psFits          *fits,              ///< psFits object
    4151     unsigned long long limit            ///< Maximum number of elements to return
    41523492);
    41533493
     
    43043644);
    43053645
    4306 /** Removes the last row from the database and returns it
    4307  *
    4308  * @return true on success
    4309  */
    4310 
    4311 bool p2PendingExpPop(
    4312     psDB            *dbh,               ///< Database handle
    4313     char            **exp_tag,
    4314     char            **recipe,
    4315     psS32           *p1_version,
    4316     psS32           *p2_version
    4317 );
    4318 
    43193646/** Insert a single p2PendingExpRow object into a table
    43203647 *
     
    43393666    psDB            *dbh,               ///< Database handle
    43403667    psArray         *objects            ///< array of p2PendingExpRow objects
    4341 );
    4342 
    4343 /** Removes the last row from the database and returns it
    4344  *
    4345  * @return A new p2PendingExpRow on success or NULL on failure.
    4346  */
    4347 
    4348 p2PendingExpRow *p2PendingExpPopObject(
    4349     psDB            *dbh                ///< Database handle
    43503668);
    43513669
     
    43633681    psDB            *dbh,               ///< Database handle
    43643682    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 as
    4370  * the first extension.
    4371  *
    4372  * @return true on success
    4373  */
    4374 
    4375 bool p2PendingExpPopFits(
    4376     psDB            *dbh,               ///< Database handle
    4377     psFits          *fits,              ///< psFits object
    4378     unsigned long long limit            ///< Maximum number of elements to return
    43793683);
    43803684
     
    45373841);
    45383842
    4539 /** Removes the last row from the database and returns it
    4540  *
    4541  * @return true on success
    4542  */
    4543 
    4544 bool p2PendingImfilePop(
    4545     psDB            *dbh,               ///< Database handle
    4546     char            **exp_tag,
    4547     char            **class_id,
    4548     char            **uri,
    4549     char            **recipe,
    4550     psS32           *p1_version,
    4551     psS32           *p2_version
    4552 );
    4553 
    45543843/** Insert a single p2PendingImfileRow object into a table
    45553844 *
     
    45743863    psDB            *dbh,               ///< Database handle
    45753864    psArray         *objects            ///< array of p2PendingImfileRow objects
    4576 );
    4577 
    4578 /** Removes the last row from the database and returns it
    4579  *
    4580  * @return A new p2PendingImfileRow on success or NULL on failure.
    4581  */
    4582 
    4583 p2PendingImfileRow *p2PendingImfilePopObject(
    4584     psDB            *dbh                ///< Database handle
    45853865);
    45863866
     
    45983878    psDB            *dbh,               ///< Database handle
    45993879    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 as
    4605  * the first extension.
    4606  *
    4607  * @return true on success
    4608  */
    4609 
    4610 bool p2PendingImfilePopFits(
    4611     psDB            *dbh,               ///< Database handle
    4612     psFits          *fits,              ///< psFits object
    4613     unsigned long long limit            ///< Maximum number of elements to return
    46143880);
    46153881
     
    47634029);
    47644030
    4765 /** Removes the last row from the database and returns it
    4766  *
    4767  * @return true on success
    4768  */
    4769 
    4770 bool p2ProcessedExpPop(
    4771     psDB            *dbh,               ///< Database handle
    4772     char            **exp_tag,
    4773     psS32           *p1_version,
    4774     psS32           *p2_version
    4775 );
    4776 
    47774031/** Insert a single p2ProcessedExpRow object into a table
    47784032 *
     
    47974051    psDB            *dbh,               ///< Database handle
    47984052    psArray         *objects            ///< array of p2ProcessedExpRow objects
    4799 );
    4800 
    4801 /** Removes the last row from the database and returns it
    4802  *
    4803  * @return A new p2ProcessedExpRow on success or NULL on failure.
    4804  */
    4805 
    4806 p2ProcessedExpRow *p2ProcessedExpPopObject(
    4807     psDB            *dbh                ///< Database handle
    48084053);
    48094054
     
    48214066    psDB            *dbh,               ///< Database handle
    48224067    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 as
    4828  * the first extension.
    4829  *
    4830  * @return true on success
    4831  */
    4832 
    4833 bool p2ProcessedExpPopFits(
    4834     psDB            *dbh,               ///< Database handle
    4835     psFits          *fits,              ///< psFits object
    4836     unsigned long long limit            ///< Maximum number of elements to return
    48374068);
    48384069
     
    50104241);
    50114242
    5012 /** Removes the last row from the database and returns it
    5013  *
    5014  * @return true on success
    5015  */
    5016 
    5017 bool p2ProcessedImfilePop(
    5018     psDB            *dbh,               ///< Database handle
    5019     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_version
    5030 );
    5031 
    50324243/** Insert a single p2ProcessedImfileRow object into a table
    50334244 *
     
    50524263    psDB            *dbh,               ///< Database handle
    50534264    psArray         *objects            ///< array of p2ProcessedImfileRow objects
    5054 );
    5055 
    5056 /** Removes the last row from the database and returns it
    5057  *
    5058  * @return A new p2ProcessedImfileRow on success or NULL on failure.
    5059  */
    5060 
    5061 p2ProcessedImfileRow *p2ProcessedImfilePopObject(
    5062     psDB            *dbh                ///< Database handle
    50634265);
    50644266
     
    50764278    psDB            *dbh,               ///< Database handle
    50774279    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 as
    5083  * the first extension.
    5084  *
    5085  * @return true on success
    5086  */
    5087 
    5088 bool p2ProcessedImfilePopFits(
    5089     psDB            *dbh,               ///< Database handle
    5090     psFits          *fits,              ///< psFits object
    5091     unsigned long long limit            ///< Maximum number of elements to return
    50924280);
    50934281
     
    52414429);
    52424430
    5243 /** Removes the last row from the database and returns it
    5244  *
    5245  * @return true on success
    5246  */
    5247 
    5248 bool p3PendingExpPop(
    5249     psDB            *dbh,               ///< Database handle
    5250     char            **exp_tag,
    5251     psS32           *p2_version,
    5252     psS32           *p3_version
    5253 );
    5254 
    52554431/** Insert a single p3PendingExpRow object into a table
    52564432 *
     
    52754451    psDB            *dbh,               ///< Database handle
    52764452    psArray         *objects            ///< array of p3PendingExpRow objects
    5277 );
    5278 
    5279 /** Removes the last row from the database and returns it
    5280  *
    5281  * @return A new p3PendingExpRow on success or NULL on failure.
    5282  */
    5283 
    5284 p3PendingExpRow *p3PendingExpPopObject(
    5285     psDB            *dbh                ///< Database handle
    52864453);
    52874454
     
    52994466    psDB            *dbh,               ///< Database handle
    53004467    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 as
    5306  * the first extension.
    5307  *
    5308  * @return true on success
    5309  */
    5310 
    5311 bool p3PendingExpPopFits(
    5312     psDB            *dbh,               ///< Database handle
    5313     psFits          *fits,              ///< psFits object
    5314     unsigned long long limit            ///< Maximum number of elements to return
    53154468);
    53164469
     
    55004653);
    55014654
    5502 /** Removes the last row from the database and returns it
    5503  *
    5504  * @return true on success
    5505  */
    5506 
    5507 bool p3ProcessedExpPop(
    5508     psDB            *dbh,               ///< Database handle
    5509     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_version
    5524 );
    5525 
    55264655/** Insert a single p3ProcessedExpRow object into a table
    55274656 *
     
    55464675    psDB            *dbh,               ///< Database handle
    55474676    psArray         *objects            ///< array of p3ProcessedExpRow objects
    5548 );
    5549 
    5550 /** Removes the last row from the database and returns it
    5551  *
    5552  * @return A new p3ProcessedExpRow on success or NULL on failure.
    5553  */
    5554 
    5555 p3ProcessedExpRow *p3ProcessedExpPopObject(
    5556     psDB            *dbh                ///< Database handle
    55574677);
    55584678
     
    55724692);
    55734693
    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 as
    5577  * the first extension.
    5578  *
    5579  * @return true on success
    5580  */
    5581 
    5582 bool p3ProcessedExpPopFits(
    5583     psDB            *dbh,               ///< Database handle
    5584     psFits          *fits,              ///< psFits object
    5585     unsigned long long limit            ///< Maximum number of elements to return
    5586 );
    5587 
    55884694/** Selects up to limit from the database and returns them in a binary FITS table
    55894695 *
     
    56764782
    56774783typedef struct {
     4784    psS32           det_id;
    56784785    psS32           iteration;
    56794786    char            *det_type;
     
    56874794
    56884795detRunRow *detRunRowAlloc(
     4796    psS32           det_id,
    56894797    psS32           iteration,
    56904798    const char      *det_type,
     
    57194827bool detRunInsert(
    57204828    psDB            *dbh,               ///< Database handle
     4829    psS32           det_id,
    57214830    psS32           iteration,
    57224831    const char      *det_type,
     
    57354844);
    57364845
    5737 /** Removes the last row from the database and returns it
    5738  *
    5739  * @return true on success
    5740  */
    5741 
    5742 bool detRunPop(
    5743     psDB            *dbh,               ///< Database handle
    5744     psS32           *iteration,
    5745     char            **det_type,
    5746     char            **state
    5747 );
    5748 
    57494846/** Insert a single detRunRow object into a table
    57504847 *
     
    57694866    psDB            *dbh,               ///< Database handle
    57704867    psArray         *objects            ///< array of detRunRow objects
    5771 );
    5772 
    5773 /** Removes the last row from the database and returns it
    5774  *
    5775  * @return A new detRunRow on success or NULL on failure.
    5776  */
    5777 
    5778 detRunRow *detRunPopObject(
    5779     psDB            *dbh                ///< Database handle
    57804868);
    57814869
     
    57934881    psDB            *dbh,               ///< Database handle
    57944882    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 as
    5800  * the first extension.
    5801  *
    5802  * @return true on success
    5803  */
    5804 
    5805 bool detRunPopFits(
    5806     psDB            *dbh,               ///< Database handle
    5807     psFits          *fits,              ///< psFits object
    5808     unsigned long long limit            ///< Maximum number of elements to return
    58094883);
    58104884
     
    59615035);
    59625036
    5963 /** Removes the last row from the database and returns it
    5964  *
    5965  * @return true on success
    5966  */
    5967 
    5968 bool detInputExpPop(
    5969     psDB            *dbh,               ///< Database handle
    5970     psS32           *det_id,
    5971     psS32           *iteration,
    5972     char            **exp_tag,
    5973     bool            *include
    5974 );
    5975 
    59765037/** Insert a single detInputExpRow object into a table
    59775038 *
     
    59965057    psDB            *dbh,               ///< Database handle
    59975058    psArray         *objects            ///< array of detInputExpRow objects
    5998 );
    5999 
    6000 /** Removes the last row from the database and returns it
    6001  *
    6002  * @return A new detInputExpRow on success or NULL on failure.
    6003  */
    6004 
    6005 detInputExpRow *detInputExpPopObject(
    6006     psDB            *dbh                ///< Database handle
    60075059);
    60085060
     
    60205072    psDB            *dbh,               ///< Database handle
    60215073    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 as
    6027  * the first extension.
    6028  *
    6029  * @return true on success
    6030  */
    6031 
    6032 bool detInputExpPopFits(
    6033     psDB            *dbh,               ///< Database handle
    6034     psFits          *fits,              ///< psFits object
    6035     unsigned long long limit            ///< Maximum number of elements to return
    60365074);
    60375075
     
    62065244);
    62075245
    6208 /** Removes the last row from the database and returns it
    6209  *
    6210  * @return true on success
    6211  */
    6212 
    6213 bool detProcessedImfilePop(
    6214     psDB            *dbh,               ///< Database handle
    6215     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_uri
    6225 );
    6226 
    62275246/** Insert a single detProcessedImfileRow object into a table
    62285247 *
     
    62475266    psDB            *dbh,               ///< Database handle
    62485267    psArray         *objects            ///< array of detProcessedImfileRow objects
    6249 );
    6250 
    6251 /** Removes the last row from the database and returns it
    6252  *
    6253  * @return A new detProcessedImfileRow on success or NULL on failure.
    6254  */
    6255 
    6256 detProcessedImfileRow *detProcessedImfilePopObject(
    6257     psDB            *dbh                ///< Database handle
    62585268);
    62595269
     
    62715281    psDB            *dbh,               ///< Database handle
    62725282    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 as
    6278  * the first extension.
    6279  *
    6280  * @return true on success
    6281  */
    6282 
    6283 bool detProcessedImfilePopFits(
    6284     psDB            *dbh,               ///< Database handle
    6285     psFits          *fits,              ///< psFits object
    6286     unsigned long long limit            ///< Maximum number of elements to return
    62875283);
    62885284
     
    64515447);
    64525448
    6453 /** Removes the last row from the database and returns it
    6454  *
    6455  * @return true on success
    6456  */
    6457 
    6458 bool detProcessedExpPop(
    6459     psDB            *dbh,               ///< Database handle
    6460     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_uri
    6468 );
    6469 
    64705449/** Insert a single detProcessedExpRow object into a table
    64715450 *
     
    64905469    psDB            *dbh,               ///< Database handle
    64915470    psArray         *objects            ///< array of detProcessedExpRow objects
    6492 );
    6493 
    6494 /** Removes the last row from the database and returns it
    6495  *
    6496  * @return A new detProcessedExpRow on success or NULL on failure.
    6497  */
    6498 
    6499 detProcessedExpRow *detProcessedExpPopObject(
    6500     psDB            *dbh                ///< Database handle
    65015471);
    65025472
     
    65145484    psDB            *dbh,               ///< Database handle
    65155485    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 as
    6521  * the first extension.
    6522  *
    6523  * @return true on success
    6524  */
    6525 
    6526 bool detProcessedExpPopFits(
    6527     psDB            *dbh,               ///< Database handle
    6528     psFits          *fits,              ///< psFits object
    6529     unsigned long long limit            ///< Maximum number of elements to return
    65305486);
    65315487
     
    66945650);
    66955651
    6696 /** Removes the last row from the database and returns it
    6697  *
    6698  * @return true on success
    6699  */
    6700 
    6701 bool detStackedImfilePop(
    6702     psDB            *dbh,               ///< Database handle
    6703     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_stdev
    6711 );
    6712 
    67135652/** Insert a single detStackedImfileRow object into a table
    67145653 *
     
    67335672    psDB            *dbh,               ///< Database handle
    67345673    psArray         *objects            ///< array of detStackedImfileRow objects
    6735 );
    6736 
    6737 /** Removes the last row from the database and returns it
    6738  *
    6739  * @return A new detStackedImfileRow on success or NULL on failure.
    6740  */
    6741 
    6742 detStackedImfileRow *detStackedImfilePopObject(
    6743     psDB            *dbh                ///< Database handle
    67445674);
    67455675
     
    67575687    psDB            *dbh,               ///< Database handle
    67585688    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 as
    6764  * the first extension.
    6765  *
    6766  * @return true on success
    6767  */
    6768 
    6769 bool detStackedImfilePopFits(
    6770     psDB            *dbh,               ///< Database handle
    6771     psFits          *fits,              ///< psFits object
    6772     unsigned long long limit            ///< Maximum number of elements to return
    67735689);
    67745690
     
    69255841);
    69265842
    6927 /** Removes the last row from the database and returns it
    6928  *
    6929  * @return true on success
    6930  */
    6931 
    6932 bool detNormalizedStatImfilePop(
    6933     psDB            *dbh,               ///< Database handle
    6934     psS32           *det_id,
    6935     psS32           *iteration,
    6936     char            **class_id,
    6937     psF32           *norm
    6938 );
    6939 
    69405843/** Insert a single detNormalizedStatImfileRow object into a table
    69415844 *
     
    69605863    psDB            *dbh,               ///< Database handle
    69615864    psArray         *objects            ///< array of detNormalizedStatImfileRow objects
    6962 );
    6963 
    6964 /** Removes the last row from the database and returns it
    6965  *
    6966  * @return A new detNormalizedStatImfileRow on success or NULL on failure.
    6967  */
    6968 
    6969 detNormalizedStatImfileRow *detNormalizedStatImfilePopObject(
    6970     psDB            *dbh                ///< Database handle
    69715865);
    69725866
     
    69845878    psDB            *dbh,               ///< Database handle
    69855879    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 as
    6991  * the first extension.
    6992  *
    6993  * @return true on success
    6994  */
    6995 
    6996 bool detNormalizedStatImfilePopFits(
    6997     psDB            *dbh,               ///< Database handle
    6998     psFits          *fits,              ///< psFits object
    6999     unsigned long long limit            ///< Maximum number of elements to return
    70005880);
    70015881
     
    71676047);
    71686048
    7169 /** Removes the last row from the database and returns it
    7170  *
    7171  * @return true on success
    7172  */
    7173 
    7174 bool detNormalizedImfilePop(
    7175     psDB            *dbh,               ///< Database handle
    7176     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_uri
    7185 );
    7186 
    71876049/** Insert a single detNormalizedImfileRow object into a table
    71886050 *
     
    72076069    psDB            *dbh,               ///< Database handle
    72086070    psArray         *objects            ///< array of detNormalizedImfileRow objects
    7209 );
    7210 
    7211 /** Removes the last row from the database and returns it
    7212  *
    7213  * @return A new detNormalizedImfileRow on success or NULL on failure.
    7214  */
    7215 
    7216 detNormalizedImfileRow *detNormalizedImfilePopObject(
    7217     psDB            *dbh                ///< Database handle
    72186071);
    72196072
     
    72316084    psDB            *dbh,               ///< Database handle
    72326085    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 as
    7238  * the first extension.
    7239  *
    7240  * @return true on success
    7241  */
    7242 
    7243 bool detNormalizedImfilePopFits(
    7244     psDB            *dbh,               ///< Database handle
    7245     psFits          *fits,              ///< psFits object
    7246     unsigned long long limit            ///< Maximum number of elements to return
    72476086);
    72486087
     
    74116250);
    74126251
    7413 /** Removes the last row from the database and returns it
    7414  *
    7415  * @return true on success
    7416  */
    7417 
    7418 bool detNormalizedExpPop(
    7419     psDB            *dbh,               ///< Database handle
    7420     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_uri
    7428 );
    7429 
    74306252/** Insert a single detNormalizedExpRow object into a table
    74316253 *
     
    74506272    psDB            *dbh,               ///< Database handle
    74516273    psArray         *objects            ///< array of detNormalizedExpRow objects
    7452 );
    7453 
    7454 /** Removes the last row from the database and returns it
    7455  *
    7456  * @return A new detNormalizedExpRow on success or NULL on failure.
    7457  */
    7458 
    7459 detNormalizedExpRow *detNormalizedExpPopObject(
    7460     psDB            *dbh                ///< Database handle
    74616274);
    74626275
     
    74746287    psDB            *dbh,               ///< Database handle
    74756288    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 as
    7481  * the first extension.
    7482  *
    7483  * @return true on success
    7484  */
    7485 
    7486 bool detNormalizedExpPopFits(
    7487     psDB            *dbh,               ///< Database handle
    7488     psFits          *fits,              ///< psFits object
    7489     unsigned long long limit            ///< Maximum number of elements to return
    74906289);
    74916290
     
    76396438);
    76406439
    7641 /** Removes the last row from the database and returns it
    7642  *
    7643  * @return true on success
    7644  */
    7645 
    7646 bool detMasterFramePop(
    7647     psDB            *dbh,               ///< Database handle
    7648     psS32           *det_id,
    7649     psS32           *iteration,
    7650     char            **comment
    7651 );
    7652 
    76536440/** Insert a single detMasterFrameRow object into a table
    76546441 *
     
    76736460    psDB            *dbh,               ///< Database handle
    76746461    psArray         *objects            ///< array of detMasterFrameRow objects
    7675 );
    7676 
    7677 /** Removes the last row from the database and returns it
    7678  *
    7679  * @return A new detMasterFrameRow on success or NULL on failure.
    7680  */
    7681 
    7682 detMasterFrameRow *detMasterFramePopObject(
    7683     psDB            *dbh                ///< Database handle
    76846462);
    76856463
     
    76976475    psDB            *dbh,               ///< Database handle
    76986476    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 as
    7704  * the first extension.
    7705  *
    7706  * @return true on success
    7707  */
    7708 
    7709 bool detMasterFramePopFits(
    7710     psDB            *dbh,               ///< Database handle
    7711     psFits          *fits,              ///< psFits object
    7712     unsigned long long limit            ///< Maximum number of elements to return
    77136477);
    77146478
     
    78656629);
    78666630
    7867 /** Removes the last row from the database and returns it
    7868  *
    7869  * @return true on success
    7870  */
    7871 
    7872 bool detMasterImfilePop(
    7873     psDB            *dbh,               ///< Database handle
    7874     psS32           *det_id,
    7875     char            **class_id,
    7876     char            **uri,
    7877     char            **recipe
    7878 );
    7879 
    78806631/** Insert a single detMasterImfileRow object into a table
    78816632 *
     
    79006651    psDB            *dbh,               ///< Database handle
    79016652    psArray         *objects            ///< array of detMasterImfileRow objects
    7902 );
    7903 
    7904 /** Removes the last row from the database and returns it
    7905  *
    7906  * @return A new detMasterImfileRow on success or NULL on failure.
    7907  */
    7908 
    7909 detMasterImfileRow *detMasterImfilePopObject(
    7910     psDB            *dbh                ///< Database handle
    79116653);
    79126654
     
    79246666    psDB            *dbh,               ///< Database handle
    79256667    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 as
    7931  * the first extension.
    7932  *
    7933  * @return true on success
    7934  */
    7935 
    7936 bool detMasterImfilePopFits(
    7937     psDB            *dbh,               ///< Database handle
    7938     psFits          *fits,              ///< psFits object
    7939     unsigned long long limit            ///< Maximum number of elements to return
    79406668);
    79416669
     
    81136841);
    81146842
    8115 /** Removes the last row from the database and returns it
    8116  *
    8117  * @return true on success
    8118  */
    8119 
    8120 bool detResidImfilePop(
    8121     psDB            *dbh,               ///< Database handle
    8122     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_uri
    8133 );
    8134 
    81356843/** Insert a single detResidImfileRow object into a table
    81366844 *
     
    81556863    psDB            *dbh,               ///< Database handle
    81566864    psArray         *objects            ///< array of detResidImfileRow objects
    8157 );
    8158 
    8159 /** Removes the last row from the database and returns it
    8160  *
    8161  * @return A new detResidImfileRow on success or NULL on failure.
    8162  */
    8163 
    8164 detResidImfileRow *detResidImfilePopObject(
    8165     psDB            *dbh                ///< Database handle
    81666865);
    81676866
     
    81796878    psDB            *dbh,               ///< Database handle
    81806879    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 as
    8186  * the first extension.
    8187  *
    8188  * @return true on success
    8189  */
    8190 
    8191 bool detResidImfilePopFits(
    8192     psDB            *dbh,               ///< Database handle
    8193     psFits          *fits,              ///< psFits object
    8194     unsigned long long limit            ///< Maximum number of elements to return
    81956880);
    81966881
     
    83657050);
    83667051
    8367 /** Removes the last row from the database and returns it
    8368  *
    8369  * @return true on success
    8370  */
    8371 
    8372 bool detResidExpPop(
    8373     psDB            *dbh,               ///< Database handle
    8374     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            *accept
    8384 );
    8385 
    83867052/** Insert a single detResidExpRow object into a table
    83877053 *
     
    84067072    psDB            *dbh,               ///< Database handle
    84077073    psArray         *objects            ///< array of detResidExpRow objects
    8408 );
    8409 
    8410 /** Removes the last row from the database and returns it
    8411  *
    8412  * @return A new detResidExpRow on success or NULL on failure.
    8413  */
    8414 
    8415 detResidExpRow *detResidExpPopObject(
    8416     psDB            *dbh                ///< Database handle
    84177074);
    84187075
     
    84307087    psDB            *dbh,               ///< Database handle
    84317088    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 as
    8437  * the first extension.
    8438  *
    8439  * @return true on success
    8440  */
    8441 
    8442 bool detResidExpPopFits(
    8443     psDB            *dbh,               ///< Database handle
    8444     psFits          *fits,              ///< psFits object
    8445     unsigned long long limit            ///< Maximum number of elements to return
    84467089);
    84477090
     
    86047247);
    86057248
    8606 /** Removes the last row from the database and returns it
    8607  *
    8608  * @return true on success
    8609  */
    8610 
    8611 bool detRunSummaryPop(
    8612     psDB            *dbh,               ///< Database handle
    8613     psS32           *det_id,
    8614     psS32           *iteration,
    8615     psF64           *bg,
    8616     psF64           *bg_stdev,
    8617     psF64           *bg_mean_stdev,
    8618     bool            *accept
    8619 );
    8620 
    86217249/** Insert a single detRunSummaryRow object into a table
    86227250 *
     
    86417269    psDB            *dbh,               ///< Database handle
    86427270    psArray         *objects            ///< array of detRunSummaryRow objects
    8643 );
    8644 
    8645 /** Removes the last row from the database and returns it
    8646  *
    8647  * @return A new detRunSummaryRow on success or NULL on failure.
    8648  */
    8649 
    8650 detRunSummaryRow *detRunSummaryPopObject(
    8651     psDB            *dbh                ///< Database handle
    86527271);
    86537272
     
    86677286);
    86687287
    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 as
    8672  * the first extension.
    8673  *
    8674  * @return true on success
    8675  */
    8676 
    8677 bool detRunSummaryPopFits(
    8678     psDB            *dbh,               ///< Database handle
    8679     psFits          *fits,              ///< psFits object
    8680     unsigned long long limit            ///< Maximum number of elements to return
    8681 );
    8682 
    86837288/** Selects up to limit from the database and returns them in a binary FITS table
    86847289 *
Note: See TracChangeset for help on using the changeset viewer.