IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2004, 10:01:52 AM (22 years ago)
Author:
desonia
Message:

Updated files in src/collections to use new psError functionality. Also
cleaned up the code where needed, removing unnecessary error conditions,
etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psBitSet.h

    r1472 r1807  
    1 
    21/** @file  psBitSet.h
    32 *
     
    1312 *  @author Ross Harman, MHPCC
    1413 *
    15  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2004-08-11 19:53:33 $
     14 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-09-14 20:01:52 $
    1716 *
    1817 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2625
    2726/******************************************************************************/
    28 
    2927/*  TYPE DEFINITIONS                                                          */
    30 
    3128/******************************************************************************/
    3229
     
    4441
    4542/*****************************************************************************/
    46 
    4743/* FUNCTION PROTOTYPES                                                       */
    48 
    4944/*****************************************************************************/
    5045
     
    6459/** Set a bit.
    6560 *
    66  *  Sets a bit at a given bit location, either one or zero. The bit is set based on a zero index with the
     61 *  Sets a bit at a given bit location. The bit is set based on a zero index with the
    6762 *  first bit set in the zero bit slot of the zero element of the byte array. As an example, setting bit 3 in
    6863 *  an array with two elements would result in an psBitSet that looks like 00000000 00001000.
     
    7469    psBitSet* restrict inMask,         ///< Pointer to psBitSet to be set.
    7570    int bit                            ///< Bit to be set.
     71);
     72
     73/** Clear a bit.
     74 *
     75 *  Clear a bit at a given bit location. The bit is cleared based on a zero
     76 *  index with the first bit set in the zero bit slot of the zero element of
     77 *  the byte array.
     78 *
     79 *  @return  psBitSet* : Pointer to struct containing psBitSet.
     80 */
     81psBitSet* psBitSetClear(
     82    /* @returned@ */
     83    psBitSet* restrict inMask,         ///< Pointer to psBitSet to be cleared.
     84    int bit                            ///< Bit to be cleared.
    7685);
    7786
Note: See TracChangeset for help on using the changeset viewer.