bit_vector.h File Reference

#include "data_structure_dll.h"

Include dependency graph for bit_vector.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bit_vector
 An array of bits with operations for manipulating and querying individual bits. More...
struct  bit_vector::two_dim_location

Functions

template<class type>
void SET (type &to_modify, type bits)
 returns a number based on "to_modify" but with "bits" turned on.
template<class type>
void CLEAR (type &to_modify, type bits)
 returns a number based on "to_modify" but with "bits" turned off.
template<class type>
bool TEST (type to_test, type bits)
 returns non-zero if the "bits" bit pattern is turned on in "to_test".


Function Documentation

template<class type>
void CLEAR ( type &  to_modify,
type  bits 
)

returns a number based on "to_modify" but with "bits" turned off.

Definition at line 150 of file bit_vector.h.

template<class type>
void SET ( type &  to_modify,
type  bits 
)

returns a number based on "to_modify" but with "bits" turned on.

Definition at line 146 of file bit_vector.h.

Referenced by bit_vector::get().

template<class type>
bool TEST ( type  to_test,
type  bits 
)

returns non-zero if the "bits" bit pattern is turned on in "to_test".

Definition at line 154 of file bit_vector.h.

References TEST.


Generated on Wed Nov 19 04:29:26 2008 for HOOPLE Libraries by  doxygen 1.5.1