Changeset 8770 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Sep 7, 2006, 12:00:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r8769 r8770 1 %%% $Id: psLibSDRS.tex,v 1.42 7 2006-09-07 21:50:57jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.428 2006-09-07 22:00:34 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 3075 3075 3076 3076 \begin{prototype} 3077 psMetadata *psMetadataConfigParse(psMetadata *md, unsigned int *nFail, const char * filename, bool overwrite);3078 psMetadata *psMetadataConfig ParseStr(psMetadata *md, unsigned int *nFail, const char *str, bool overwrite);3077 psMetadata *psMetadataConfigParse(psMetadata *md, unsigned int *nFail, const char *str, bool overwrite); 3078 psMetadata *psMetadataConfigRead(psMetadata *md, unsigned int *nFail, const char *filename, bool overwrite); 3079 3079 \end{prototype} 3080 3080 3081 3081 Given a metadata container, \code{md}, and the name of a configuration 3082 file, \code{ filename}, \code{psMetadataConfigParse} shall parse the3083 configuration f ile, placing the contained key/type/value/comment quads3082 file, \code{str}, \code{psMetadataConfigParse} shall parse the 3083 configuration fstring, placing the contained key/type/value/comment quads 3084 3084 into the metadata, and returning a pointer to the metadata structure. 3085 3085 The number of lines that failed to parse is returned in \code{nFail}. … … 3088 3088 If the metadata container is \code{NULL}, it shall be allocated. 3089 3089 3090 \code{psMetadataConfig ParseStr} is identical in behavor as3091 \code{psMetadataConfigParse} except that it parses from a string (\code{str})3092 instead of from a file.3093 3094 On error, the functionshall return \code{NULL}.3090 \code{psMetadataConfigRead} is identical in behavor to 3091 \code{psMetadataConfigParse} except that it parses from a file 3092 (\code{filename}) instead of from a string. 3093 3094 On error, these functions shall return \code{NULL}. 3095 3095 3096 3096 It is also useful to be able to convert a \code{psMetadata} structure into the
Note:
See TracChangeset
for help on using the changeset viewer.
