IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2005, 5:07:19 PM (21 years ago)
Author:
Paul Price
Message:

Changed some char* to psString to follow policy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r4242 r4244  
    1 %%% $Id: psLibSDRS.tex,v 1.276 2005-06-14 02:19:36 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.277 2005-06-14 03:07:19 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    20242024psBitSet *psBitSetNot(psBitSet *outBitSet, const psBitSet *inBitSet);
    20252025bool psBitSetTest(const psBitSet *bitSet, long bit);
    2026 char *psBitSetToString(const psBitSet* bitSet);
     2026psString psBitSetToString(const psBitSet* bitSet);
    20272027\end{prototype}
    20282028
     
    21682168typedef struct {
    21692169    const psS32 id;                     ///< unique ID for this item
    2170     char *name;                         ///< Name of item
     2170    psString name;                      ///< Name of item
    21712171    psDataType type;                    ///< type of this item
    21722172    const union {
     
    21782178        psPtr V;                        ///< other type
    21792179    } data;                             ///< value of metadata
    2180     char *comment;                      ///< optional comment ("", not NULL)
     2180    psString comment;                   ///< optional comment ("", not NULL)
    21812181} psMetadataItem;
    21822182\end{datatype}
     
    21922192type of the data being represented, given by the enumerated type
    21932193\code{psDataType}.
     2194
     2195Note that the \code{name} and \code{comment} must be allocated by the
     2196constructor using, e.g., \code{psStringCopy}.
    21942197
    21952198A collection of metadata is represented by the \code{psMetadata} structure:
     
    25082511
    25092512\begin{prototype}
    2510 char *psMetadataConfigFormat(psMetadata *md);
     2513psString psMetadataConfigFormat(psMetadata *md);
    25112514bool psMetadataConfigWrite(psMetadata *md, const char *filename);
    25122515\end{prototype}
     
    31833186psRegion psRegionSet(float x0, float x1, float y0, float y1);
    31843187psRegion psRegionFromString(const char *region);
    3185 char *psRegionToString(const psRegion region);
     3188psString psRegionToString(const psRegion region);
    31863189\end{prototype}
    31873190
     
    35443547
    35453548\begin{prototype}
    3546 char *psFitsGetExtName(const psFits* fits);
     3549psString psFitsGetExtName(const psFits* fits);
    35473550bool psFitsSetExtName(psFits* fits, const char* name);
    35483551\end{prototype}
     
    55105513double psTimeToJD(const psTime *time);
    55115514double psTimeToMJD(const psTime *time);
    5512 char *psTimeToISO(const psTime *time);
     5515psString psTimeToISO(const psTime *time);
    55135516timeval *psTimeToTimeval(const psTime *time);
    55145517\end{prototype}
Note: See TracChangeset for help on using the changeset viewer.