home *** CD-ROM | disk | FTP | other *** search
-
- /* dynamic bitmap/mask/filter/etc class */
- /* version 1.0 990931 by Leif_Salomonsson@swipnet.se */
- /* !!emailware!! */
- /* 2d/3d versions coming up soon! :) */
-
- dbmapX.dbmapX()
- dbmapX.set()
- dbmapX.clr()
- dbmapX.get()
- dbmapX.clear()
- dbmapX.count()
- dbmapX.getMax()
- dbmapX.getMin()
- dbmapX.cmp()
- dbmapX.or()
- dbmapX.xor()
- dbmapX.and()
- dbmapX.end()
-
-
- dbmapX.dbmapX()
-
- NAME
- dbmapX()
- SYNOPSIS
- NEW dbmapX.dbmapX()
- FUNCTION
- The class constructor.
-
-
- dbmapX.set()
-
- NAME
- set()
- SYNOPSIS
- dbmapX.set(x)
- FUNCTION
- Set a bit in the map. x range : +-2gig
-
-
- dbmapX.clr()
-
- NAME
- clr()
- SYNOPSIS
- dbmapX.clr(x)
- FUNCTION
- Clear a bit in the map. x range : +-2gig
-
-
- dbmapX.get()
-
- NAME
- get()
- SYNOPSIS
- dbmapX.get(x)
- FUNCTION
- Get a bit in the map. x range : +-2gig
- RESULT
- 1 or 0.
-
- dbmapX.clear()
-
- NAME
- clear()
- SYNOPSIS
- dbmapX.clear()
- FUNCTION
- Clears the hole map (all zero).
-
-
- dbmapX.count()
-
- NAME
- count()
- SYNOPSIS
- dbmapX.count()
- FUNCTION
- Get nr of 1-bits in map.
-
-
- dbmapX.getMax()
-
- NAME
- getMax()
- SYNOPSIS
- dbmapX.getMax()
- FUNCTION
- Get the maximum index containing 1.
-
-
- dbmapX.getMin()
-
- NAME
- getMin()
- SYNOPSIS
- dbmapX.getMin()
- FUNCTION
- Get the minimum index containing 1
-
-
- dbmapX.cmp()
-
- NAME
- cmp()
- SYNOPSIS
- dbmapX.cmp(dbmapX:PTR TO dbmapX)
- FUNCTION
- Compares this map with other.
- RESULT
- TRUE if EQ else FALSE.
- NOTES
- This is faast! :)
-
-
- dbmapX.or()
-
- NAME
- or()
- SYNOPSIS
- dbmapX.or(dbmapX:PTR TO dbmapX)
- FUNCTION
- OR that map into this.
-
-
- dbmapX.xor()
-
- NAME
- xor()
- SYNOPSIS
- dbmapX.xor(dbmapX:PTR TO dbmapX)
- FUNCTION
- XOR that map into this.
-
-
- dbmapX.and()
-
- NAME
- and()
- SYNOPSIS
- dbmapX.and(dbmapX:PTR TO dbmapX)
- FUNCTION
- AND that map into this.
- NOTES
- This is faast! :)
-
-
- dbmapX.end()
-
- NAME
- end()
- SYNOPSIS
- dbmapX.end()
- FUNCTION
- The class destructor.
-
-
-
-
-
-
-
-
-
-
-
-
-