tac0S
Template Affectional Command Operating System
Classes | Macros
bitmap.h File Reference

Data structures defining a bitmap. More...

#include "copyright.h"
#include "utility.h"
#include "openfile.h"

Go to the source code of this file.

Classes

class  BitMap
 The following class defines a "bitmap" – an array of bits, each of which can be independently set, cleared, and tested. More...
 

Macros

#define BitsInByte   8
 Definitions helpful for representing a bitmap as an array of integers.
 
#define BitsInWord   32
 

Detailed Description

Data structures defining a bitmap.

Author
Olivier Hureau, Hugo Feydel , Julien ALaimo Data structures defining a bitmap – an array of bits each of which can be either on or off.

Represented as an array of unsigned integers, on which we do modulo arithmetic to find the bit we are interested in.

The bitmap can be parameterized with with the number of bits being managed.

Copyright (c) 1992-1993 The Regents of the University of California. All rights reserved. See copyright.h for copyright notice and limitation of liability and disclaimer of warranty provisions.