Changeset 10753 for trunk/ippdb/src/ippdb.h
- Timestamp:
- Dec 15, 2006, 12:38:13 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/src/ippdb.h (modified) (47 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/src/ippdb.h
r10748 r10753 7652 7652 bool mdcf ///< format as mdconfig or simple 7653 7653 ); 7654 /** p4 PStackedImfileRow data structure7655 * 7656 * Structure for representing a single row of p4 PStackedImfile table data.7654 /** p4StackedImfileRow data structure 7655 * 7656 * Structure for representing a single row of p4StackedImfile table data. 7657 7657 */ 7658 7658 … … 7663 7663 char *b1_uri; 7664 7664 char *b2_uri; 7665 } p4 PStackedImfileRow;7666 7667 /** Creates a new p4 PStackedImfileRow object7668 * 7669 * @return A new p4 PStackedImfileRow object or NULL on failure.7670 */ 7671 7672 p4 PStackedImfileRow *p4PStackedImfileRowAlloc(7665 } p4StackedImfileRow; 7666 7667 /** Creates a new p4StackedImfileRow object 7668 * 7669 * @return A new p4StackedImfileRow object or NULL on failure. 7670 */ 7671 7672 p4StackedImfileRow *p4StackedImfileRowAlloc( 7673 7673 psS32 p4_id, 7674 7674 const char *class_id, … … 7678 7678 ); 7679 7679 7680 /** Creates a new p4 PStackedImfile table7681 * 7682 * @return true on success 7683 */ 7684 7685 bool p4 PStackedImfileCreateTable(7680 /** Creates a new p4StackedImfile table 7681 * 7682 * @return true on success 7683 */ 7684 7685 bool p4StackedImfileCreateTable( 7686 7686 psDB *dbh ///< Database handle 7687 7687 ); 7688 7688 7689 /** Deletes a p4 PStackedImfile table7690 * 7691 * @return true on success 7692 */ 7693 7694 bool p4 PStackedImfileDropTable(7689 /** Deletes a p4StackedImfile table 7690 * 7691 * @return true on success 7692 */ 7693 7694 bool p4StackedImfileDropTable( 7695 7695 psDB *dbh ///< Database handle 7696 7696 ); … … 7703 7703 */ 7704 7704 7705 bool p4 PStackedImfileInsert(7705 bool p4StackedImfileInsert( 7706 7706 psDB *dbh, ///< Database handle 7707 7707 psS32 p4_id, … … 7717 7717 */ 7718 7718 7719 long long p4 PStackedImfileDelete(7719 long long p4StackedImfileDelete( 7720 7720 psDB *dbh, ///< Database handle 7721 7721 const psMetadata *where, ///< Row match criteria … … 7723 7723 ); 7724 7724 7725 /** Insert a single p4 PStackedImfileRow object into a table7725 /** Insert a single p4StackedImfileRow object into a table 7726 7726 * 7727 7727 * This function constructs and inserts a single row based on it's parameters. … … 7730 7730 */ 7731 7731 7732 bool p4 PStackedImfileInsertObject(7733 psDB *dbh, ///< Database handle 7734 p4 PStackedImfileRow *object ///< p4PStackedImfileRow object7735 ); 7736 7737 /** Insert an array of p4 PStackedImfileRow object into a table7732 bool p4StackedImfileInsertObject( 7733 psDB *dbh, ///< Database handle 7734 p4StackedImfileRow *object ///< p4StackedImfileRow object 7735 ); 7736 7737 /** Insert an array of p4StackedImfileRow object into a table 7738 7738 * 7739 7739 * This function constructs and inserts multiple rows based on it's parameters. … … 7742 7742 */ 7743 7743 7744 bool p4 PStackedImfileInsertObjects(7745 psDB *dbh, ///< Database handle 7746 psArray *objects ///< array of p4 PStackedImfileRow objects7747 ); 7748 7749 /** Insert data from a binary FITS table p4 PStackedImfileRow into the database7744 bool p4StackedImfileInsertObjects( 7745 psDB *dbh, ///< Database handle 7746 psArray *objects ///< array of p4StackedImfileRow objects 7747 ); 7748 7749 /** Insert data from a binary FITS table p4StackedImfileRow into the database 7750 7750 * 7751 7751 * This function expects a psFits object with a FITS table as the first … … 7757 7757 */ 7758 7758 7759 bool p4 PStackedImfileInsertFits(7759 bool p4StackedImfileInsertFits( 7760 7760 psDB *dbh, ///< Database handle 7761 7761 const psFits *fits ///< psFits object … … 7772 7772 */ 7773 7773 7774 bool p4 PStackedImfileSelectRowsFits(7774 bool p4StackedImfileSelectRowsFits( 7775 7775 psDB *dbh, ///< Database handle 7776 7776 psFits *fits, ///< psFits object … … 7779 7779 ); 7780 7780 7781 /** Convert a p4 PStackedImfileRow into an equivalent psMetadata7781 /** Convert a p4StackedImfileRow into an equivalent psMetadata 7782 7782 * 7783 7783 * @return A psMetadata pointer or NULL on error 7784 7784 */ 7785 7785 7786 psMetadata *p4 PStackedImfileMetadataFromObject(7787 const p4 PStackedImfileRow *object ///< fooRow to convert into a psMetadata7786 psMetadata *p4StackedImfileMetadataFromObject( 7787 const p4StackedImfileRow *object ///< fooRow to convert into a psMetadata 7788 7788 ); 7789 7789 7790 7790 /** Convert a psMetadata into an equivalent fooRow 7791 7791 * 7792 * @return A p4 PStackedImfileRow pointer or NULL on error7793 */ 7794 7795 p4 PStackedImfileRow *p4PStackedImfileObjectFromMetadata(7792 * @return A p4StackedImfileRow pointer or NULL on error 7793 */ 7794 7795 p4StackedImfileRow *p4StackedImfileObjectFromMetadata( 7796 7796 psMetadata *md ///< psMetadata to convert into a fooRow 7797 7797 ); 7798 /** Selects up to limit rows from the database and returns as p4 PStackedImfileRow objects in a psArray7798 /** Selects up to limit rows from the database and returns as p4StackedImfileRow objects in a psArray 7799 7799 * 7800 7800 * See psDBSelectRows() for documentation on the format of where. … … 7803 7803 */ 7804 7804 7805 psArray *p4 PStackedImfileSelectRowObjects(7805 psArray *p4StackedImfileSelectRowObjects( 7806 7806 psDB *dbh, ///< Database handle 7807 7807 const psMetadata *where, ///< Row match criteria 7808 7808 unsigned long long limit ///< Maximum number of elements to return 7809 7809 ); 7810 /** Deletes a row from the database coresponding to an p4 PStackedImfile7810 /** Deletes a row from the database coresponding to an p4StackedImfile 7811 7811 * 7812 7812 * Note that a 'where' search psMetadata is constructed from each object and … … 7816 7816 */ 7817 7817 7818 bool p4 PStackedImfileDeleteObject(7819 psDB *dbh, ///< Database handle 7820 const p4 PStackedImfileRow *object ///< Object to delete7818 bool p4StackedImfileDeleteObject( 7819 psDB *dbh, ///< Database handle 7820 const p4StackedImfileRow *object ///< Object to delete 7821 7821 ); 7822 7822 /** Deletes up to limit rows from the database and returns the number of rows actually deleted. … … 7828 7828 */ 7829 7829 7830 long long p4 PStackedImfileDeleteRowObjects(7830 long long p4StackedImfileDeleteRowObjects( 7831 7831 psDB *dbh, ///< Database handle 7832 7832 const psArray *objects, ///< Array of objects to delete 7833 7833 unsigned long long limit ///< Maximum number of elements to delete 7834 7834 ); 7835 /** Formats and prints an array of p4 PStackedImfileRow objects7835 /** Formats and prints an array of p4StackedImfileRow objects 7836 7836 * 7837 7837 * When mdcf is set the formated output is in psMetadataConfig … … 7841 7841 */ 7842 7842 7843 bool p4 PStackedImfilePrintObjects(7843 bool p4StackedImfilePrintObjects( 7844 7844 FILE *stream, ///< a stream 7845 psArray *objects, ///< An array of p4 PStackedImfileRow objects7845 psArray *objects, ///< An array of p4StackedImfileRow objects 7846 7846 bool mdcf ///< format as mdconfig or simple 7847 7847 ); 7848 /** Formats and prints an p4 PStackedImfileRow object7848 /** Formats and prints an p4StackedImfileRow object 7849 7849 * 7850 7850 * When mdcf is set the formated output is in psMetadataConfig … … 7854 7854 */ 7855 7855 7856 bool p4 PStackedImfilePrintObject(7856 bool p4StackedImfilePrintObject( 7857 7857 FILE *stream, ///< a stream 7858 p4 PStackedImfileRow *object, ///< an p4PStackedImfileRow object7858 p4StackedImfileRow *object, ///< an p4StackedImfileRow object 7859 7859 bool mdcf ///< format as mdconfig or simple 7860 7860 ); 7861 /** p4 PDiffImfileRow data structure7862 * 7863 * Structure for representing a single row of p4 PDiffImfile table data.7861 /** p4DiffImfileRow data structure 7862 * 7863 * Structure for representing a single row of p4DiffImfile table data. 7864 7864 */ 7865 7865 … … 7872 7872 char *b1_uri; 7873 7873 char *b2_uri; 7874 } p4 PDiffImfileRow;7875 7876 /** Creates a new p4 PDiffImfileRow object7877 * 7878 * @return A new p4 PDiffImfileRow object or NULL on failure.7879 */ 7880 7881 p4 PDiffImfileRow *p4PDiffImfileRowAlloc(7874 } p4DiffImfileRow; 7875 7876 /** Creates a new p4DiffImfileRow object 7877 * 7878 * @return A new p4DiffImfileRow object or NULL on failure. 7879 */ 7880 7881 p4DiffImfileRow *p4DiffImfileRowAlloc( 7882 7882 psS32 p4_id, 7883 7883 const char *exp_tag, … … 7889 7889 ); 7890 7890 7891 /** Creates a new p4 PDiffImfile table7892 * 7893 * @return true on success 7894 */ 7895 7896 bool p4 PDiffImfileCreateTable(7891 /** Creates a new p4DiffImfile table 7892 * 7893 * @return true on success 7894 */ 7895 7896 bool p4DiffImfileCreateTable( 7897 7897 psDB *dbh ///< Database handle 7898 7898 ); 7899 7899 7900 /** Deletes a p4 PDiffImfile table7901 * 7902 * @return true on success 7903 */ 7904 7905 bool p4 PDiffImfileDropTable(7900 /** Deletes a p4DiffImfile table 7901 * 7902 * @return true on success 7903 */ 7904 7905 bool p4DiffImfileDropTable( 7906 7906 psDB *dbh ///< Database handle 7907 7907 ); … … 7914 7914 */ 7915 7915 7916 bool p4 PDiffImfileInsert(7916 bool p4DiffImfileInsert( 7917 7917 psDB *dbh, ///< Database handle 7918 7918 psS32 p4_id, … … 7930 7930 */ 7931 7931 7932 long long p4 PDiffImfileDelete(7932 long long p4DiffImfileDelete( 7933 7933 psDB *dbh, ///< Database handle 7934 7934 const psMetadata *where, ///< Row match criteria … … 7936 7936 ); 7937 7937 7938 /** Insert a single p4 PDiffImfileRow object into a table7938 /** Insert a single p4DiffImfileRow object into a table 7939 7939 * 7940 7940 * This function constructs and inserts a single row based on it's parameters. … … 7943 7943 */ 7944 7944 7945 bool p4 PDiffImfileInsertObject(7946 psDB *dbh, ///< Database handle 7947 p4 PDiffImfileRow *object ///< p4PDiffImfileRow object7948 ); 7949 7950 /** Insert an array of p4 PDiffImfileRow object into a table7945 bool p4DiffImfileInsertObject( 7946 psDB *dbh, ///< Database handle 7947 p4DiffImfileRow *object ///< p4DiffImfileRow object 7948 ); 7949 7950 /** Insert an array of p4DiffImfileRow object into a table 7951 7951 * 7952 7952 * This function constructs and inserts multiple rows based on it's parameters. … … 7955 7955 */ 7956 7956 7957 bool p4 PDiffImfileInsertObjects(7958 psDB *dbh, ///< Database handle 7959 psArray *objects ///< array of p4 PDiffImfileRow objects7960 ); 7961 7962 /** Insert data from a binary FITS table p4 PDiffImfileRow into the database7957 bool p4DiffImfileInsertObjects( 7958 psDB *dbh, ///< Database handle 7959 psArray *objects ///< array of p4DiffImfileRow objects 7960 ); 7961 7962 /** Insert data from a binary FITS table p4DiffImfileRow into the database 7963 7963 * 7964 7964 * This function expects a psFits object with a FITS table as the first … … 7970 7970 */ 7971 7971 7972 bool p4 PDiffImfileInsertFits(7972 bool p4DiffImfileInsertFits( 7973 7973 psDB *dbh, ///< Database handle 7974 7974 const psFits *fits ///< psFits object … … 7985 7985 */ 7986 7986 7987 bool p4 PDiffImfileSelectRowsFits(7987 bool p4DiffImfileSelectRowsFits( 7988 7988 psDB *dbh, ///< Database handle 7989 7989 psFits *fits, ///< psFits object … … 7992 7992 ); 7993 7993 7994 /** Convert a p4 PDiffImfileRow into an equivalent psMetadata7994 /** Convert a p4DiffImfileRow into an equivalent psMetadata 7995 7995 * 7996 7996 * @return A psMetadata pointer or NULL on error 7997 7997 */ 7998 7998 7999 psMetadata *p4 PDiffImfileMetadataFromObject(8000 const p4 PDiffImfileRow *object ///< fooRow to convert into a psMetadata7999 psMetadata *p4DiffImfileMetadataFromObject( 8000 const p4DiffImfileRow *object ///< fooRow to convert into a psMetadata 8001 8001 ); 8002 8002 8003 8003 /** Convert a psMetadata into an equivalent fooRow 8004 8004 * 8005 * @return A p4 PDiffImfileRow pointer or NULL on error8006 */ 8007 8008 p4 PDiffImfileRow *p4PDiffImfileObjectFromMetadata(8005 * @return A p4DiffImfileRow pointer or NULL on error 8006 */ 8007 8008 p4DiffImfileRow *p4DiffImfileObjectFromMetadata( 8009 8009 psMetadata *md ///< psMetadata to convert into a fooRow 8010 8010 ); 8011 /** Selects up to limit rows from the database and returns as p4 PDiffImfileRow objects in a psArray8011 /** Selects up to limit rows from the database and returns as p4DiffImfileRow objects in a psArray 8012 8012 * 8013 8013 * See psDBSelectRows() for documentation on the format of where. … … 8016 8016 */ 8017 8017 8018 psArray *p4 PDiffImfileSelectRowObjects(8018 psArray *p4DiffImfileSelectRowObjects( 8019 8019 psDB *dbh, ///< Database handle 8020 8020 const psMetadata *where, ///< Row match criteria 8021 8021 unsigned long long limit ///< Maximum number of elements to return 8022 8022 ); 8023 /** Deletes a row from the database coresponding to an p4 PDiffImfile8023 /** Deletes a row from the database coresponding to an p4DiffImfile 8024 8024 * 8025 8025 * Note that a 'where' search psMetadata is constructed from each object and … … 8029 8029 */ 8030 8030 8031 bool p4 PDiffImfileDeleteObject(8032 psDB *dbh, ///< Database handle 8033 const p4 PDiffImfileRow *object ///< Object to delete8031 bool p4DiffImfileDeleteObject( 8032 psDB *dbh, ///< Database handle 8033 const p4DiffImfileRow *object ///< Object to delete 8034 8034 ); 8035 8035 /** Deletes up to limit rows from the database and returns the number of rows actually deleted. … … 8041 8041 */ 8042 8042 8043 long long p4 PDiffImfileDeleteRowObjects(8043 long long p4DiffImfileDeleteRowObjects( 8044 8044 psDB *dbh, ///< Database handle 8045 8045 const psArray *objects, ///< Array of objects to delete 8046 8046 unsigned long long limit ///< Maximum number of elements to delete 8047 8047 ); 8048 /** Formats and prints an array of p4 PDiffImfileRow objects8048 /** Formats and prints an array of p4DiffImfileRow objects 8049 8049 * 8050 8050 * When mdcf is set the formated output is in psMetadataConfig … … 8054 8054 */ 8055 8055 8056 bool p4 PDiffImfilePrintObjects(8056 bool p4DiffImfilePrintObjects( 8057 8057 FILE *stream, ///< a stream 8058 psArray *objects, ///< An array of p4 PDiffImfileRow objects8058 psArray *objects, ///< An array of p4DiffImfileRow objects 8059 8059 bool mdcf ///< format as mdconfig or simple 8060 8060 ); 8061 /** Formats and prints an p4 PDiffImfileRow object8061 /** Formats and prints an p4DiffImfileRow object 8062 8062 * 8063 8063 * When mdcf is set the formated output is in psMetadataConfig … … 8067 8067 */ 8068 8068 8069 bool p4 PDiffImfilePrintObject(8069 bool p4DiffImfilePrintObject( 8070 8070 FILE *stream, ///< a stream 8071 p4 PDiffImfileRow *object, ///< an p4PDiffImfileRow object8071 p4DiffImfileRow *object, ///< an p4DiffImfileRow object 8072 8072 bool mdcf ///< format as mdconfig or simple 8073 8073 ); 8074 /** p4 PMagicMaskImfileRow data structure8075 * 8076 * Structure for representing a single row of p4 PMagicMaskImfile table data.8074 /** p4MagicMaskImfileRow data structure 8075 * 8076 * Structure for representing a single row of p4MagicMaskImfile table data. 8077 8077 */ 8078 8078 … … 8083 8083 char *class_id; 8084 8084 char *uri; 8085 } p4 PMagicMaskImfileRow;8086 8087 /** Creates a new p4 PMagicMaskImfileRow object8088 * 8089 * @return A new p4 PMagicMaskImfileRow object or NULL on failure.8090 */ 8091 8092 p4 PMagicMaskImfileRow *p4PMagicMaskImfileRowAlloc(8085 } p4MagicMaskImfileRow; 8086 8087 /** Creates a new p4MagicMaskImfileRow object 8088 * 8089 * @return A new p4MagicMaskImfileRow object or NULL on failure. 8090 */ 8091 8092 p4MagicMaskImfileRow *p4MagicMaskImfileRowAlloc( 8093 8093 psS32 p4_id, 8094 8094 const char *exp_tag, … … 8098 8098 ); 8099 8099 8100 /** Creates a new p4 PMagicMaskImfile table8101 * 8102 * @return true on success 8103 */ 8104 8105 bool p4 PMagicMaskImfileCreateTable(8100 /** Creates a new p4MagicMaskImfile table 8101 * 8102 * @return true on success 8103 */ 8104 8105 bool p4MagicMaskImfileCreateTable( 8106 8106 psDB *dbh ///< Database handle 8107 8107 ); 8108 8108 8109 /** Deletes a p4 PMagicMaskImfile table8110 * 8111 * @return true on success 8112 */ 8113 8114 bool p4 PMagicMaskImfileDropTable(8109 /** Deletes a p4MagicMaskImfile table 8110 * 8111 * @return true on success 8112 */ 8113 8114 bool p4MagicMaskImfileDropTable( 8115 8115 psDB *dbh ///< Database handle 8116 8116 ); … … 8123 8123 */ 8124 8124 8125 bool p4 PMagicMaskImfileInsert(8125 bool p4MagicMaskImfileInsert( 8126 8126 psDB *dbh, ///< Database handle 8127 8127 psS32 p4_id, … … 8137 8137 */ 8138 8138 8139 long long p4 PMagicMaskImfileDelete(8139 long long p4MagicMaskImfileDelete( 8140 8140 psDB *dbh, ///< Database handle 8141 8141 const psMetadata *where, ///< Row match criteria … … 8143 8143 ); 8144 8144 8145 /** Insert a single p4 PMagicMaskImfileRow object into a table8145 /** Insert a single p4MagicMaskImfileRow object into a table 8146 8146 * 8147 8147 * This function constructs and inserts a single row based on it's parameters. … … 8150 8150 */ 8151 8151 8152 bool p4 PMagicMaskImfileInsertObject(8153 psDB *dbh, ///< Database handle 8154 p4 PMagicMaskImfileRow *object ///< p4PMagicMaskImfileRow object8155 ); 8156 8157 /** Insert an array of p4 PMagicMaskImfileRow object into a table8152 bool p4MagicMaskImfileInsertObject( 8153 psDB *dbh, ///< Database handle 8154 p4MagicMaskImfileRow *object ///< p4MagicMaskImfileRow object 8155 ); 8156 8157 /** Insert an array of p4MagicMaskImfileRow object into a table 8158 8158 * 8159 8159 * This function constructs and inserts multiple rows based on it's parameters. … … 8162 8162 */ 8163 8163 8164 bool p4 PMagicMaskImfileInsertObjects(8165 psDB *dbh, ///< Database handle 8166 psArray *objects ///< array of p4 PMagicMaskImfileRow objects8167 ); 8168 8169 /** Insert data from a binary FITS table p4 PMagicMaskImfileRow into the database8164 bool p4MagicMaskImfileInsertObjects( 8165 psDB *dbh, ///< Database handle 8166 psArray *objects ///< array of p4MagicMaskImfileRow objects 8167 ); 8168 8169 /** Insert data from a binary FITS table p4MagicMaskImfileRow into the database 8170 8170 * 8171 8171 * This function expects a psFits object with a FITS table as the first … … 8177 8177 */ 8178 8178 8179 bool p4 PMagicMaskImfileInsertFits(8179 bool p4MagicMaskImfileInsertFits( 8180 8180 psDB *dbh, ///< Database handle 8181 8181 const psFits *fits ///< psFits object … … 8192 8192 */ 8193 8193 8194 bool p4 PMagicMaskImfileSelectRowsFits(8194 bool p4MagicMaskImfileSelectRowsFits( 8195 8195 psDB *dbh, ///< Database handle 8196 8196 psFits *fits, ///< psFits object … … 8199 8199 ); 8200 8200 8201 /** Convert a p4 PMagicMaskImfileRow into an equivalent psMetadata8201 /** Convert a p4MagicMaskImfileRow into an equivalent psMetadata 8202 8202 * 8203 8203 * @return A psMetadata pointer or NULL on error 8204 8204 */ 8205 8205 8206 psMetadata *p4 PMagicMaskImfileMetadataFromObject(8207 const p4 PMagicMaskImfileRow *object ///< fooRow to convert into a psMetadata8206 psMetadata *p4MagicMaskImfileMetadataFromObject( 8207 const p4MagicMaskImfileRow *object ///< fooRow to convert into a psMetadata 8208 8208 ); 8209 8209 8210 8210 /** Convert a psMetadata into an equivalent fooRow 8211 8211 * 8212 * @return A p4 PMagicMaskImfileRow pointer or NULL on error8213 */ 8214 8215 p4 PMagicMaskImfileRow *p4PMagicMaskImfileObjectFromMetadata(8212 * @return A p4MagicMaskImfileRow pointer or NULL on error 8213 */ 8214 8215 p4MagicMaskImfileRow *p4MagicMaskImfileObjectFromMetadata( 8216 8216 psMetadata *md ///< psMetadata to convert into a fooRow 8217 8217 ); 8218 /** Selects up to limit rows from the database and returns as p4 PMagicMaskImfileRow objects in a psArray8218 /** Selects up to limit rows from the database and returns as p4MagicMaskImfileRow objects in a psArray 8219 8219 * 8220 8220 * See psDBSelectRows() for documentation on the format of where. … … 8223 8223 */ 8224 8224 8225 psArray *p4 PMagicMaskImfileSelectRowObjects(8225 psArray *p4MagicMaskImfileSelectRowObjects( 8226 8226 psDB *dbh, ///< Database handle 8227 8227 const psMetadata *where, ///< Row match criteria 8228 8228 unsigned long long limit ///< Maximum number of elements to return 8229 8229 ); 8230 /** Deletes a row from the database coresponding to an p4 PMagicMaskImfile8230 /** Deletes a row from the database coresponding to an p4MagicMaskImfile 8231 8231 * 8232 8232 * Note that a 'where' search psMetadata is constructed from each object and … … 8236 8236 */ 8237 8237 8238 bool p4 PMagicMaskImfileDeleteObject(8239 psDB *dbh, ///< Database handle 8240 const p4 PMagicMaskImfileRow *object ///< Object to delete8238 bool p4MagicMaskImfileDeleteObject( 8239 psDB *dbh, ///< Database handle 8240 const p4MagicMaskImfileRow *object ///< Object to delete 8241 8241 ); 8242 8242 /** Deletes up to limit rows from the database and returns the number of rows actually deleted. … … 8248 8248 */ 8249 8249 8250 long long p4 PMagicMaskImfileDeleteRowObjects(8250 long long p4MagicMaskImfileDeleteRowObjects( 8251 8251 psDB *dbh, ///< Database handle 8252 8252 const psArray *objects, ///< Array of objects to delete 8253 8253 unsigned long long limit ///< Maximum number of elements to delete 8254 8254 ); 8255 /** Formats and prints an array of p4 PMagicMaskImfileRow objects8255 /** Formats and prints an array of p4MagicMaskImfileRow objects 8256 8256 * 8257 8257 * When mdcf is set the formated output is in psMetadataConfig … … 8261 8261 */ 8262 8262 8263 bool p4 PMagicMaskImfilePrintObjects(8263 bool p4MagicMaskImfilePrintObjects( 8264 8264 FILE *stream, ///< a stream 8265 psArray *objects, ///< An array of p4 PMagicMaskImfileRow objects8265 psArray *objects, ///< An array of p4MagicMaskImfileRow objects 8266 8266 bool mdcf ///< format as mdconfig or simple 8267 8267 ); 8268 /** Formats and prints an p4 PMagicMaskImfileRow object8268 /** Formats and prints an p4MagicMaskImfileRow object 8269 8269 * 8270 8270 * When mdcf is set the formated output is in psMetadataConfig … … 8274 8274 */ 8275 8275 8276 bool p4 PMagicMaskImfilePrintObject(8276 bool p4MagicMaskImfilePrintObject( 8277 8277 FILE *stream, ///< a stream 8278 p4 PMagicMaskImfileRow *object, ///< an p4PMagicMaskImfileRow object8278 p4MagicMaskImfileRow *object, ///< an p4MagicMaskImfileRow object 8279 8279 bool mdcf ///< format as mdconfig or simple 8280 8280 ); … … 8286 8286 #endif 8287 8287 8288 #endif // P4 PMAGICMASKIMFILE_DB_H8288 #endif // P4MAGICMASKIMFILE_DB_H
Note:
See TracChangeset
for help on using the changeset viewer.
