Changeset 1970 for trunk/psLib/src/astronomy/psMetadata.h
- Timestamp:
- Oct 5, 2004, 3:06:27 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psMetadata.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psMetadata.h
r1844 r1970 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2004- 09-21 23:27:55$13 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-06 01:06:27 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 21 21 #include <stdarg.h> 22 22 #include <stdio.h> 23 #include <fitsio.h>24 23 25 24 #include "psHash.h" … … 40 39 PS_META_F64, ///< Double-precision float data. 41 40 PS_META_STR, ///< String data (Stored in as void *). 41 PS_META_VEC, ///< Vector data (Stored in as void *). 42 42 PS_META_IMG, ///< Image data (Stored in as void *). 43 43 PS_META_JPEG, ///< JPEG data (Stored in as void *). … … 84 84 psMetadata; 85 85 86 /*****************************************************************************/87 88 /* FUNCTION PROTOTYPES */89 90 /*****************************************************************************/91 92 86 /** Create a metadata item. 93 87 * … … 248 242 ); 249 243 250 /** Print metadata item to file.251 *252 * Metadata items may be printed to an open file descriptor based on a253 * provided format. The format is a sprintf format statement with exactly254 * one % formatting command. If the metadata item type is a numeric type,255 * this formatting command must also be numeric, and the type conversion256 * performed to the value to match the format type. If the metadata type is257 * a string, the fromatting command must also be for a string. If the258 * metadata type is any other data type, printing is not allowed.259 *260 * @return psMetadataItem* : Pointer metadata item.261 */262 void psMetadataItemPrint(263 FILE * fd, ///< Pointer to file to write metadata item.264 const char *format, ///< Format to print metadata item.265 const psMetadataItem* restrict metadataItem ///< Metadata item to print.266 );267 268 /** Read metadata header.269 *270 * Read a metadata header from file. If the file is not found, an error is271 * reported. This file is currently unimplemented.272 *273 * @return psMetadata* : Pointer metadata.274 */275 psMetadata* psMetadataReadHeader(276 psMetadata* output, ///< Resulting metadata from read.277 char *extName, ///< File name extension string.278 int extNum, ///< File name extension number. Starts at 1.279 char *fileName ///< Name of file to read.280 );281 244 282 245 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
