10#include <boost/dynamic_bitset.hpp>
11#include <boost/version.hpp>
26#if BOOST_VERSION >= 109000
37 void clear(uint32_t fromIndex, uint32_t toIndex);
38 void fastClear(uint32_t fromIndex, uint32_t toIndex);
39 void set(uint32_t bitIndex);
41 void set(uint32_t bitIndex,
bool value);
42 void fastSet(uint32_t bitIndex,
bool value);
43 void set(uint32_t fromIndex, uint32_t toIndex);
44 void fastSet(uint32_t fromIndex, uint32_t toIndex);
45 void set(uint32_t fromIndex, uint32_t toIndex,
bool value);
46 void fastSet(uint32_t fromIndex, uint32_t toIndex,
bool value);
47 void flip(uint32_t bitIndex);
49 void flip(uint32_t fromIndex, uint32_t toIndex);
50 void fastFlip(uint32_t fromIndex, uint32_t toIndex);
54 bool get(uint32_t bitIndex)
const;
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
const uint64_t * get_bits_result
Definition BitSet.h:29
void clear(uint32_t fromIndex, uint32_t toIndex)
void resize(uint32_t size)
void flip(uint32_t fromIndex, uint32_t toIndex)
virtual int32_t hashCode()
Return hash code for this object.
void set(uint32_t fromIndex, uint32_t toIndex, bool value)
void fastClear(uint32_t bitIndex)
bool fastGet(uint32_t bitIndex) const
bool intersectsBitSet(const BitSetPtr &set) const
void fastClear(uint32_t fromIndex, uint32_t toIndex)
int32_t nextSetBit(uint32_t fromIndex) const
void set(uint32_t bitIndex, bool value)
boost::dynamic_bitset< uint64_t > bitset_type
Definition BitSet.h:24
void set(uint32_t bitIndex)
void _xor(const BitSetPtr &set)
void _or(const BitSetPtr &set)
void fastSet(uint32_t bitIndex, bool value)
uint32_t numBlocks() const
void andNot(const BitSetPtr &set)
void flip(uint32_t bitIndex)
bitset_type bitSet
Definition BitSet.h:25
void fastFlip(uint32_t fromIndex, uint32_t toIndex)
void fastSet(uint32_t fromIndex, uint32_t toIndex, bool value)
virtual bool equals(const LuceneObjectPtr &other)
Return whether two objects are equal.
get_bits_result getBits()
bool get(uint32_t bitIndex) const
virtual LuceneObjectPtr clone(const LuceneObjectPtr &other=LuceneObjectPtr())
Return clone of this object.
void set(uint32_t fromIndex, uint32_t toIndex)
void fastSet(uint32_t bitIndex)
void clear(uint32_t bitIndex)
void _and(const BitSetPtr &set)
void fastSet(uint32_t fromIndex, uint32_t toIndex)
void fastFlip(uint32_t bitIndex)
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< BitSet > BitSetPtr
Definition LuceneTypes.h:522
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition LuceneTypes.h:539