IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4080


Ignore:
Timestamp:
Jun 1, 2005, 12:10:01 PM (21 years ago)
Author:
jhoblitt
Message:

change psBitSet to store it's size as an long int

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/ChangeLogSDRS.tex

    r4078 r4080  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.118 2005-06-01 21:51:25 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.119 2005-06-01 22:10:01 jhoblitt Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    662662  \item change \code{psHash} to store it's number of elements as an \code{unsigned long int}
    663663  \item change \code{psLookupTable} to store it's index as an \code{unsigned long int}
    664 \end{itemize}
    665 \end{itemize}
     664  \item change \code{psBitSet} to store it's size as an \code{long int}
     665\end{itemize}
     666\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r4079 r4080  
    1 %%% $Id: psLibSDRS.tex,v 1.254 2005-06-01 21:57:39 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.255 2005-06-01 22:10:01 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    20542054\begin{datatype}
    20552055typedef struct {
    2056     int n;                              ///< Number of chars that form the bitset
     2056    long int n;                         ///< Number of chars that form the bitset
    20572057    char *bits;                         ///< The bits
    20582058} psBitSet;
     
    20612061We also require the corresponding constructor and destructor:
    20622062\begin{prototype}
    2063 psBitSet *psBitSetAlloc(psU32 nalloc);
     2063psBitSet *psBitSetAlloc(long int nalloc);
    20642064\end{prototype}
    20652065where \code{n} is the requested number of bits.
     
    20752075
    20762076\begin{prototype}
    2077 psBitSet *psBitSetSet(psBitSet *bitSet, psU32 bit);
    2078 psBitSet* psBitSetClear(psBitSet *bitSet, psU32 bit);
     2077psBitSet *psBitSetSet(psBitSet *bitSet, long int bit);
     2078psBitSet* psBitSetClear(psBitSet *bitSet, long int bit);
    20792079psBitSet *psBitSetOp(psBitSet *outBitSet, const psBitSet *inBitSet1, const char *operator, const psBitSet *inBitSet2);
    20802080psBitSet *psBitSetNot(psBitSet *outBitSet, const psBitSet *inBitSet);
    2081 bool psBitSetTest(const psBitSet *bitSet, psU32 bit);
     2081bool psBitSetTest(const psBitSet *bitSet, long int bit);
    20822082char *psBitSetToString(const psBitSet* bitSet);
    20832083\end{prototype}
     
    20872087will be modified.
    20882088
    2089 \code{psBitSetClear} clears the specified \code{bit} in the \code{inBits}
     2089\code{psBitSetClear} clears the specified \code{bit} in the \code{bitSet}
    20902090and returns the updated bitset.  The input bitset will be modified.
    20912091
    20922092\code{psBitSetOp} returns the \code{psBitSet} that is the result of
    20932093performing the specified \code{operator} (one of \code{"AND"},
    2094 \code{"OR"}, or \code{"XOR"}) on \code{inBits1} and \code{inBits2}.
    2095 If the output bitset \code{outBits} is \code{NULL}, it is created by
     2094\code{"OR"}, or \code{"XOR"}) on \code{inBitSet1} and \code{inBitSet2}.
     2095If the output bitset \code{outBitSet} is \code{NULL}, it is created by
    20962096the function.
    20972097
Note: See TracChangeset for help on using the changeset viewer.