Changeset 1440 for trunk/psLib/src/collections/psBitSet.h
- Timestamp:
- Aug 9, 2004, 1:34:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psBitSet.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psBitSet.h
r1407 r1440 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-08-0 7 00:06:06$15 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2004-08-09 23:34:57 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 56 56 * allocation. 57 57 * 58 * @return psBitSet* : Pointer to struct containing array of bits and size of array.58 * @return psBitSet* : Pointer to struct containing array of bits and size of array. 59 59 */ 60 60 61 61 /*@null@*/ 62 62 63 psBitSet *psBitSetAlloc(int n63 psBitSet* psBitSetAlloc(int n 64 64 /**< Number of bits in psBitSet array */ 65 65 ); … … 71 71 * an array with two elements would result in an psBitSet that looks like 00000000 00001000. 72 72 * 73 * @return psBitSet* : Pointer to struct containing psBitSet.73 * @return psBitSet* : Pointer to struct containing psBitSet. 74 74 */ 75 psBitSet *psBitSetSet(75 psBitSet* psBitSetSet( 76 76 77 /* @returned@ */ psBitSet * restrict inMask,77 /* @returned@ */ psBitSet* restrict inMask, 78 78 /**< Pointer to psBitSet to be set. */ 79 79 … … 91 91 */ 92 92 93 bool psBitSetTest(const psBitSet * restrict inMask,93 bool psBitSetTest(const psBitSet* restrict inMask, 94 94 /**< Pointer psBitSet to be tested. */ 95 95 … … 102 102 * be performed and an error message will be logged. 103 103 * 104 * @return psBitSet* : Pointer to struct containing result of binary operation.104 * @return psBitSet* : Pointer to struct containing result of binary operation. 105 105 */ 106 psBitSet *psBitSetOp(106 psBitSet* psBitSetOp( 107 107 108 /* @returned@ */ psBitSet * restrict outMask,108 /* @returned@ */ psBitSet* restrict outMask, 109 109 /**< Resulting psBitSet from binary operation */ 110 110 111 const psBitSet * restrict inMask1,111 const psBitSet* restrict inMask1, 112 112 /**< First psBitSet on which to operate */ 113 113 114 114 char *operator, /**< Bit operation */ 115 115 116 const psBitSet * restrict inMask2116 const psBitSet* restrict inMask2 117 117 /**< First psBitSet on which to operate */ 118 118 ); … … 122 122 * Toggles bits in a psBitset. All zero bits are set to one and all one bits are set to zero. 123 123 * 124 * @return psBitSet* : Pointer to struct containing result of operation.124 * @return psBitSet* : Pointer to struct containing result of operation. 125 125 */ 126 126 127 psBitSet *psBitSetNot(psBitSet* outBitSet,127 psBitSet* psBitSetNot(psBitSet* outBitSet, 128 128 /**< Resulting psBitSet from operation */ 129 129 130 const psBitSet * restrict inBitSet130 const psBitSet* restrict inBitSet 131 131 /**< Input psBitSet */ 132 132 ); … … 140 140 */ 141 141 142 char *psBitSetToString(const psBitSet * restrict inMask142 char *psBitSetToString(const psBitSet* restrict inMask 143 143 /**< psBitSet to convert */ 144 144 );
Note:
See TracChangeset
for help on using the changeset viewer.
