Changeset 1807 for trunk/psLib/src/collections/psBitSet.h
- Timestamp:
- Sep 14, 2004, 10:01:52 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psBitSet.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psBitSet.h
r1472 r1807 1 2 1 /** @file psBitSet.h 3 2 * … … 13 12 * @author Ross Harman, MHPCC 14 13 * 15 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-0 8-11 19:53:33$14 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-09-14 20:01:52 $ 17 16 * 18 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 26 25 27 26 /******************************************************************************/ 28 29 27 /* TYPE DEFINITIONS */ 30 31 28 /******************************************************************************/ 32 29 … … 44 41 45 42 /*****************************************************************************/ 46 47 43 /* FUNCTION PROTOTYPES */ 48 49 44 /*****************************************************************************/ 50 45 … … 64 59 /** Set a bit. 65 60 * 66 * Sets a bit at a given bit location , either one or zero. The bit is set based on a zero index with the61 * Sets a bit at a given bit location. The bit is set based on a zero index with the 67 62 * first bit set in the zero bit slot of the zero element of the byte array. As an example, setting bit 3 in 68 63 * an array with two elements would result in an psBitSet that looks like 00000000 00001000. … … 74 69 psBitSet* restrict inMask, ///< Pointer to psBitSet to be set. 75 70 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 */ 81 psBitSet* psBitSetClear( 82 /* @returned@ */ 83 psBitSet* restrict inMask, ///< Pointer to psBitSet to be cleared. 84 int bit ///< Bit to be cleared. 76 85 ); 77 86
Note:
See TracChangeset
for help on using the changeset viewer.
