Changeset 4244
- Timestamp:
- Jun 13, 2005, 5:07:19 PM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4242 r4244 1 %%% $Id: ChangeLogSDRS.tex,v 1.13 7 2005-06-14 02:19:36price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.138 2005-06-14 03:07:19 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 706 706 include most psLib structures. \code{PS_META_MULTI} changed to 707 707 \code{PS_DATA_METADATA_MULTI}. 708 \end{itemize} 708 \item Changed some \code{char *} to \code{psString}, as appropriate. 709 Noted that metadata functions must copy strings in to a 710 \code{psMetadataItem}. 711 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4242 r4244 1 %%% $Id: psLibSDRS.tex,v 1.27 6 2005-06-14 02:19:36price Exp $1 %%% $Id: psLibSDRS.tex,v 1.277 2005-06-14 03:07:19 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 2024 2024 psBitSet *psBitSetNot(psBitSet *outBitSet, const psBitSet *inBitSet); 2025 2025 bool psBitSetTest(const psBitSet *bitSet, long bit); 2026 char *psBitSetToString(const psBitSet* bitSet);2026 psString psBitSetToString(const psBitSet* bitSet); 2027 2027 \end{prototype} 2028 2028 … … 2168 2168 typedef struct { 2169 2169 const psS32 id; ///< unique ID for this item 2170 char *name;///< Name of item2170 psString name; ///< Name of item 2171 2171 psDataType type; ///< type of this item 2172 2172 const union { … … 2178 2178 psPtr V; ///< other type 2179 2179 } data; ///< value of metadata 2180 char *comment;///< optional comment ("", not NULL)2180 psString comment; ///< optional comment ("", not NULL) 2181 2181 } psMetadataItem; 2182 2182 \end{datatype} … … 2192 2192 type of the data being represented, given by the enumerated type 2193 2193 \code{psDataType}. 2194 2195 Note that the \code{name} and \code{comment} must be allocated by the 2196 constructor using, e.g., \code{psStringCopy}. 2194 2197 2195 2198 A collection of metadata is represented by the \code{psMetadata} structure: … … 2508 2511 2509 2512 \begin{prototype} 2510 char *psMetadataConfigFormat(psMetadata *md);2513 psString psMetadataConfigFormat(psMetadata *md); 2511 2514 bool psMetadataConfigWrite(psMetadata *md, const char *filename); 2512 2515 \end{prototype} … … 3183 3186 psRegion psRegionSet(float x0, float x1, float y0, float y1); 3184 3187 psRegion psRegionFromString(const char *region); 3185 char *psRegionToString(const psRegion region);3188 psString psRegionToString(const psRegion region); 3186 3189 \end{prototype} 3187 3190 … … 3544 3547 3545 3548 \begin{prototype} 3546 char *psFitsGetExtName(const psFits* fits);3549 psString psFitsGetExtName(const psFits* fits); 3547 3550 bool psFitsSetExtName(psFits* fits, const char* name); 3548 3551 \end{prototype} … … 5510 5513 double psTimeToJD(const psTime *time); 5511 5514 double psTimeToMJD(const psTime *time); 5512 char *psTimeToISO(const psTime *time);5515 psString psTimeToISO(const psTime *time); 5513 5516 timeval *psTimeToTimeval(const psTime *time); 5514 5517 \end{prototype}
Note:
See TracChangeset
for help on using the changeset viewer.
