IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4564


Ignore:
Timestamp:
Jul 15, 2005, 11:56:47 AM (21 years ago)
Author:
Paul Price
Message:

Adding general concept lookup functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/modules/ModulesSDRS.tex

    r4563 r4564  
    1 %%% $Id: ModulesSDRS.tex,v 1.47 2005-07-15 21:42:13 price Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.48 2005-07-15 21:56:47 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    676676\subsubsection{Lookups}
    677677
    678 We here specify a series of ``one-stop shops'' for lookups of the
    679 concepts.  These will be what the user utilises, so the goal is to
     678We first specify a general concept lookup function, which shall return the
     679appropriate \code{psMetadataItem} for the value of the given \code{concept}
     680for the specified \code{cell}, \code{chip} or \code{fpa}:
     681\begin{prototype}
     682psMetadataItem *pmCellGetConcept(pmCell *cell, const char *concept);
     683psMetadataItem *pmChipGetConcept(pmChip *chip, const char *concept);
     684psMetadataItem *pmFPAGetConcept(pmFPA *fpa, const char *concept);
     685\end{prototype}
     686
     687We next specify a series of specific functions for concept lookups.
     688These will generally be what the user utilises, so the goal is to
    680689provide a simple interface providing a single type back, so the user
    681 doesn't have to go to the trouble of checking types, etc.
     690doesn't have to go to the trouble of checking types, etc.  These
     691functions should employ the above three general lookup functions and
     692deal with the result appropriately.
    682693
    683694\begin{prototype}
Note: See TracChangeset for help on using the changeset viewer.