IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 21, 2006, 2:11:07 PM (20 years ago)
Author:
jhoblitt
Message:

allow psMetadataItem pointer types to have a value of NULL

File:
1 edited

Legend:

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

    r6455 r6457  
    1 %%% $Id: psLibSDRS.tex,v 1.384 2006-02-22 00:02:00 eugene Exp $
     1%%% $Id: psLibSDRS.tex,v 1.385 2006-02-22 00:11:07 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    26652665\end{prototype}
    26662666
    2667 The allocator for \code{psMetadataItem} returns a full
    2668 \code{psMetadataItem} ready for insertion into the \code{psMetadata}.
    2669 The \code{name} entry specifies the name to use for this metadata
    2670 item, and may include \code{sprintf}-type formating codes.  The
    2671 \code{comment} entry is a fixed string which is used for the comment
    2672 associated with this metadata item.  The metadata data and the
    2673 arguments to the \code{name} formatting codes are passed, in that
    2674 order (metadata pointer first), to \code{psMetadataItemAlloc} as
    2675 arguments following the comment string.  The data must be a pointer
    2676 for any data types which are stored in the element \code{data.void},
    2677 while other data types are passed as numeric values.  The argument
    2678 list must be interpreted appropriately by the \code{va_list} operators
    2679 in the function.
     2667The allocator for \code{psMetadataItem} returns a full \code{psMetadataItem}
     2668ready for insertion into the \code{psMetadata}.  The \code{name} entry
     2669specifies the name to use for this metadata item, and may include
     2670\code{sprintf}-type formating codes.  The \code{comment} entry is a fixed
     2671string which is used for the comment associated with this metadata item.  The
     2672metadata data and the arguments to the \code{name} formatting codes are passed,
     2673in that order (metadata pointer first), to \code{psMetadataItemAlloc} as
     2674arguments following the comment string.  The data must be a pointer for any
     2675data types which are stored in the element \code{data.void}, while other data
     2676types are passed as numeric values.  All \code{data.void} types may be set to
     2677have a value of \code{NULL}.  The argument list must be interpreted
     2678appropriately by the \code{va_list} operators in the function.
    26802679
    26812680\begin{prototype}
Note: See TracChangeset for help on using the changeset viewer.