IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 29, 2009, 3:39:49 PM (17 years ago)
Author:
giebink
Message:

Doxygen place holders added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081230/ppArith/src/ppArithArguments.c

    r16189 r21229  
     1/** @file ppArithArguments.c
     2 *
     3 *  @brief
     4 *
     5 *  @ingroup ppArith
     6 *
     7 *  @author IfA
     8 *  @version $Revision: 1.4.30.1 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-01-30 01:38:25 $
     10 *  Copyright 2009 Institute for Astronomy, University of Hawaii
     11 */
     12
    113#ifdef HAVE_CONFIG_H
    214#include <config.h>
     
    3547                        )
    3648{
    37     psString value = psMetadataLookupStr(NULL, arguments, argName); // Value of interest
     49    psString value = psMetadataLookupStr(NULL, arguments, argName); /** Value of interest */
    3850    if (value && strlen(value) > 0) {
    3951        return psMetadataAddStr(target, PS_LIST_TAIL, mdName, 0, NULL, value);
     
    4254}
    4355
    44 // Add a single filename to the arguments as an array, so that it can be used with pmFPAfileBindFromArgs, etc
     56/**
     57 * \fn fileList
     58 * Add a single filename to the arguments as an array, so that it can be used with pmFPAfileBindFromArgs, etc
     59 */
    4560static void fileList(const char *file, // The symbolic name for the file
    4661                     const char *name, // The name of the file
     
    6075    assert(config);
    6176
    62     psMetadata *arguments = psMetadataAlloc(); // Command-line arguments
     77    psMetadata *arguments = psMetadataAlloc(); /** Command-line arguments */
    6378    psMetadataAddStr(arguments, PS_LIST_TAIL, "-file1", 0, "First image", NULL);
    6479    psMetadataAddStr(arguments, PS_LIST_TAIL, "-op", 0, "Operation to perform", NULL);
     
    7489    psMetadataAddBool(config->arguments, PS_LIST_TAIL, "MASK", 0, "Produce a mask image?", isMask);
    7590    const char *inFilerule = isMask ? "PPARITH.INPUT.MASK" : "PPARITH.INPUT.IMAGE"; // Input file rule
    76     const char *outFilerule = isMask ? "PPARITH.OUTPUT.MASK" : "PPARITH.OUTPUT.IMAGE"; // Output file rule
     91    const char *outFilerule = isMask ? "PPARITH.OUTPUT.MASK" : "PPARITH.OUTPUT.IMAGE"; /** Output file rule */
    7792    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "FILERULE.INPUT", 0,
    7893                     "File rule for input", inFilerule);
     
    8095                     "File rule for output", outFilerule);
    8196
    82     bool status = false;                // Status for file definition
     97    bool status = false;                /** Status for file definition */
    8398
    8499    // First file
    85     const char *name1 = psMetadataLookupStr(NULL, arguments, "-file1"); // Name of first image
     100    const char *name1 = psMetadataLookupStr(NULL, arguments, "-file1"); /** Name of first image */
    86101    if (!name1 || strlen(name1) == 0) {
    87102        psError(PS_ERR_UNEXPECTED_NULL, true, "No input image specified.");
     
    100115
    101116    // Second file is optional (won't be one for unary operations)
    102     const char *name2 = psMetadataLookupStr(NULL, arguments, "-file2"); // Name of second image
     117    const char *name2 = psMetadataLookupStr(NULL, arguments, "-file2"); /** Name of second image */
    103118    if (name2 && strlen(name2) > 0) {
    104119        fileList("INPUT2", name2, "Name of the second input image", config);
Note: See TracChangeset for help on using the changeset viewer.