IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4407


Ignore:
Timestamp:
Jun 28, 2005, 9:23:35 AM (21 years ago)
Author:
Paul Price
Message:

bugs 457, 458 fixed (timeval, psMetadataConfigParse)

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r4368 r4407  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.152 2005-06-23 21:19:45 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.153 2005-06-28 19:23:35 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    743743  \code{psAlloc} checks the allocation size against
    744744  \code{PS_MEM_LIMIT}.
    745 \end{itemize}
     745\item \code{nFail} in \code{psMetadataConfigParse} is \code{unsigned}.
     746\item \code{timeval} changed to \code{struct timeval} throughout.
     747\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r4406 r4407  
    1 %%% $Id: psLibSDRS.tex,v 1.300 2005-06-28 01:40:27 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.301 2005-06-28 19:23:35 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    25752575
    25762576\begin{prototype}
    2577 psMetadata *psMetadataConfigParse(psMetadata *md, int *nFail, const char *filename, bool overwrite);
     2577psMetadata *psMetadataConfigParse(psMetadata *md, unsigned int *nFail, const char *filename, bool overwrite);
    25782578\end{prototype}
    25792579
     
    56045604\subsubsection{Overview}
    56055605
    5606 We require a collection of functions to manipulate time data.  These operations
    5607 primarily consist of conversions between specific time formats.  Internally,
    5608 PSLib handles times as a structure similar to the POSIX \code{timeval} struct
    5609 which has been extended to track the time system being represented. 
     5606We require a collection of functions to manipulate time data.  These
     5607operations primarily consist of conversions between specific time
     5608formats.  Internally, PSLib handles times as a structure similar to
     5609the POSIX \code{struct timeval} struct which has been extended to
     5610track the time system being represented.
    56105611
    56115612\subsubsection{Data Types}
     
    56135614\begin{datatype}
    56145615typedef enum {
    5615     PS_TIME_TAI,                    ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds
    5616     PS_TIME_UTC,                    ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds + leapseconds
    5617     PS_TIME_UT1,                    ///< seconds since 1970-01-01T00:00:00Z (Gregorian), variable length seconds
    5618     PS_TIME_TT,                     ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds
     5616    PS_TIME_TAI,      ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds
     5617    PS_TIME_UTC,      ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds + leapseconds
     5618    PS_TIME_UT1,      ///< seconds since 1970-01-01T00:00:00Z (Gregorian), variable length seconds
     5619    PS_TIME_TT,       ///< seconds since 1970-01-01T00:00:00Z (Gregorian), SI seconds
    56195620} psTimeType;
    56205621
     
    57185719double psTimeToMJD(const psTime *time);
    57195720psString psTimeToISO(const psTime *time);
    5720 timeval *psTimeToTimeval(const psTime *time);
     5721struct timeval *psTimeToTimeval(const psTime *time);
    57215722\end{prototype}
    57225723
     
    57345735psTime *psTimeFromMJD(double mjd);
    57355736psTime *psTimeFromISO(const char *input, psTimeType type);
    5736 psTime *psTimeFromTimeval(const timeval *input);
     5737psTime *psTimeFromTimeval(const struct timeval *input);
    57375738psTime *psTimeFromUTC(psS64 sec, psU32 nsec, bool leapsecond);
    57385739psTime *psTimeFromTT(psS64 sec, psU32 nsec);
Note: See TracChangeset for help on using the changeset viewer.