bitvec.h File Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Classes | Namespaces | Defines | Functions
bitvec.h File Reference
`#include <openbabel/babelconfig.h>`
`#include <vector>`
`#include <string>`
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | OBBitVec
| A speed-optimized vector of bits. More...
## Namespaces
namespace | OpenBabel
## Defines
#define | SETWORD 32
#define | WORDROLL 5
#define | WORDMASK 31
#define | WORDSIZE_OF_BITSIZE(bit_size) ( ( bit_size >> WORDROLL ) + (( bit_size & WORDMASK ) ? 1 : 0) )
#define | STARTWORDS 10
## Functions
double | Tanimoto (const OBBitVec &bv1, const OBBitVec &bv2)

## Detailed Description

Fast and efficient bitstring class.

## Define Documentation

#define SETWORD 32

Referenced by OpenBabel::operator<<(), OBBitVec::SetRangeOff(), and OBBitVec::SetRangeOn().

#define WORDROLL 5

Referenced by OBBitVec::BitIsSet(), OBBitVec::Fold(), OBBitVec::NextBit(), OBBitVec::SetBitOff(), OBBitVec::SetBitOn(), OBBitVec::SetRangeOff(), and OBBitVec::SetRangeOn().

#define WORDMASK 31

Referenced by OBBitVec::BitIsSet(), OBBitVec::NextBit(), OBBitVec::SetBitOff(), OBBitVec::SetBitOn(), OBBitVec::SetRangeOff(), and OBBitVec::SetRangeOn().

#define WORDSIZE_OF_BITSIZE | ( |  | bit_size | ) | ( ( bit_size >> WORDROLL ) + (( bit_size & WORDMASK ) ? 1 : 0) )

Referenced by OBBitVec::Resize().

#define STARTWORDS 10

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines