bitvec.h File Reference

Fast and efficient bitstring class. More...

#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.

Namespaces

namespace  OpenBabel

Classes

class  OBBitVec
 A speed-optimized vector of bits. More...

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

OBERROR double Tanimoto (const OBBitVec &bv1, const OBBitVec &bv2)


Detailed Description

Fast and efficient bitstring class.


Define Documentation

#define SETWORD   32

#define WORDROLL   5

#define WORDMASK   31

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

Referenced by OBBitVec::Resize().

#define STARTWORDS   10