webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
WTF::FastBitVectorImpl< Words > Class Template Reference

#include <FastBitVector.h>

Public Member Functions

 FastBitVectorImpl ()
 
 FastBitVectorImpl (const Words &words)
 
 FastBitVectorImpl (Words &&words)
 
size_t numBits () const
 
size_t size () const
 
size_t arrayLength () const
 
template<typename Other >
bool operator== (const Other &other) const
 
template<typename Other >
bool operator!= (const Other &other) const
 
bool at (size_t index) const
 
bool operator[] (size_t index) const
 
size_t bitCount () const
 
bool isEmpty () const
 
template<typename OtherWords >
FastBitVectorImpl< FastBitVectorAndWords< typename Words::ViewType, typename OtherWords::ViewType > > operator & (const FastBitVectorImpl< OtherWords > &other) const
 
template<typename OtherWords >
FastBitVectorImpl< FastBitVectorOrWords< typename Words::ViewType, typename OtherWords::ViewType > > operator| (const FastBitVectorImpl< OtherWords > &other) const
 
FastBitVectorImpl< FastBitVectorNotWords< typename Words::ViewType > > operator~ () const
 
template<typename Func >
ALWAYS_INLINE void forEachSetBit (const Func &func) const
 
template<typename Func >
ALWAYS_INLINE void forEachClearBit (const Func &func) const
 
template<typename Func >
void forEachBit (bool value, const Func &func) const
 
ALWAYS_INLINE size_t findBit (size_t startIndex, bool value) const
 
ALWAYS_INLINE size_t findSetBit (size_t index) const
 
ALWAYS_INLINE size_t findClearBit (size_t index) const
 
void dump (PrintStream &out) const
 
Words::ViewType wordView () const
 
 FastBitVectorImpl ()
 
 FastBitVectorImpl (const Words &words)
 
 FastBitVectorImpl (Words &&words)
 
size_t numBits () const
 
size_t size () const
 
size_t arrayLength () const
 
template<typename Other >
bool operator== (const Other &other) const
 
template<typename Other >
bool operator!= (const Other &other) const
 
bool at (size_t index) const
 
bool operator[] (size_t index) const
 
size_t bitCount () const
 
bool isEmpty () const
 
template<typename OtherWords >
FastBitVectorImpl< FastBitVectorAndWords< typename Words::ViewType, typename OtherWords::ViewType > > operator & (const FastBitVectorImpl< OtherWords > &other) const
 
template<typename OtherWords >
FastBitVectorImpl< FastBitVectorOrWords< typename Words::ViewType, typename OtherWords::ViewType > > operator| (const FastBitVectorImpl< OtherWords > &other) const
 
FastBitVectorImpl< FastBitVectorNotWords< typename Words::ViewType > > operator~ () const
 
template<typename Func >
ALWAYS_INLINE void forEachSetBit (const Func &func) const
 
template<typename Func >
ALWAYS_INLINE void forEachClearBit (const Func &func) const
 
template<typename Func >
void forEachBit (bool value, const Func &func) const
 
ALWAYS_INLINE size_t findBit (size_t startIndex, bool value) const
 
ALWAYS_INLINE size_t findSetBit (size_t index) const
 
ALWAYS_INLINE size_t findClearBit (size_t index) const
 
void dump (PrintStream &out) const
 
Words::ViewType wordView () const
 
 FastBitVectorImpl ()
 
 FastBitVectorImpl (const Words &words)
 
 FastBitVectorImpl (Words &&words)
 
size_t numBits () const
 
size_t size () const
 
size_t arrayLength () const
 
template<typename Other >
bool operator== (const Other &other) const
 
template<typename Other >
bool operator!= (const Other &other) const
 
bool at (size_t index) const
 
bool operator[] (size_t index) const
 
size_t bitCount () const
 
bool isEmpty () const
 
template<typename OtherWords >
FastBitVectorImpl< FastBitVectorAndWords< typename Words::ViewType, typename OtherWords::ViewType > > operator & (const FastBitVectorImpl< OtherWords > &other) const
 
template<typename OtherWords >
FastBitVectorImpl< FastBitVectorOrWords< typename Words::ViewType, typename OtherWords::ViewType > > operator| (const FastBitVectorImpl< OtherWords > &other) const
 
FastBitVectorImpl< FastBitVectorNotWords< typename Words::ViewType > > operator~ () const
 
template<typename Func >
ALWAYS_INLINE void forEachSetBit (const Func &func) const
 
template<typename Func >
ALWAYS_INLINE void forEachClearBit (const Func &func) const
 
template<typename Func >
void forEachBit (bool value, const Func &func) const
 
ALWAYS_INLINE size_t findBit (size_t startIndex, bool value) const
 
ALWAYS_INLINE size_t findSetBit (size_t index) const
 
ALWAYS_INLINE size_t findClearBit (size_t index) const
 
void dump (PrintStream &out) const
 
Words::ViewType wordView () const
 

Friends

class FastBitVector
 

Constructor & Destructor Documentation

◆ FastBitVectorImpl() [1/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( )
inline

◆ FastBitVectorImpl() [2/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( const Words &  words)
inline

◆ FastBitVectorImpl() [3/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( Words &&  words)
inline

◆ FastBitVectorImpl() [4/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( )
inline

◆ FastBitVectorImpl() [5/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( const Words &  words)
inline

◆ FastBitVectorImpl() [6/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( Words &&  words)
inline

◆ FastBitVectorImpl() [7/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( )
inline

◆ FastBitVectorImpl() [8/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( const Words &  words)
inline

◆ FastBitVectorImpl() [9/9]

template<typename Words>
WTF::FastBitVectorImpl< Words >::FastBitVectorImpl ( Words &&  words)
inline

Member Function Documentation

◆ arrayLength() [1/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::arrayLength ( ) const
inline

◆ arrayLength() [2/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::arrayLength ( ) const
inline

◆ arrayLength() [3/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::arrayLength ( ) const
inline

◆ at() [1/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::at ( size_t  index) const
inline

◆ at() [2/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::at ( size_t  index) const
inline

◆ at() [3/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::at ( size_t  index) const
inline

◆ bitCount() [1/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::bitCount ( ) const
inline

◆ bitCount() [2/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::bitCount ( ) const
inline

◆ bitCount() [3/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::bitCount ( ) const
inline

◆ dump() [1/3]

template<typename Words>
void WTF::FastBitVectorImpl< Words >::dump ( PrintStream out) const
inline

◆ dump() [2/3]

template<typename Words>
void WTF::FastBitVectorImpl< Words >::dump ( PrintStream out) const
inline

◆ dump() [3/3]

template<typename Words>
void WTF::FastBitVectorImpl< Words >::dump ( PrintStream out) const
inline

◆ findBit() [1/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findBit ( size_t  startIndex,
bool  value 
) const
inline

◆ findBit() [2/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findBit ( size_t  startIndex,
bool  value 
) const
inline

◆ findBit() [3/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findBit ( size_t  startIndex,
bool  value 
) const
inline

◆ findClearBit() [1/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findClearBit ( size_t  index) const
inline

◆ findClearBit() [2/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findClearBit ( size_t  index) const
inline

◆ findClearBit() [3/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findClearBit ( size_t  index) const
inline

◆ findSetBit() [1/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findSetBit ( size_t  index) const
inline

◆ findSetBit() [2/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findSetBit ( size_t  index) const
inline

◆ findSetBit() [3/3]

template<typename Words>
ALWAYS_INLINE size_t WTF::FastBitVectorImpl< Words >::findSetBit ( size_t  index) const
inline

◆ forEachBit() [1/3]

template<typename Words>
template<typename Func >
void WTF::FastBitVectorImpl< Words >::forEachBit ( bool  value,
const Func &  func 
) const
inline

◆ forEachBit() [2/3]

template<typename Words>
template<typename Func >
void WTF::FastBitVectorImpl< Words >::forEachBit ( bool  value,
const Func &  func 
) const
inline

◆ forEachBit() [3/3]

template<typename Words>
template<typename Func >
void WTF::FastBitVectorImpl< Words >::forEachBit ( bool  value,
const Func &  func 
) const
inline

◆ forEachClearBit() [1/3]

template<typename Words>
template<typename Func >
ALWAYS_INLINE void WTF::FastBitVectorImpl< Words >::forEachClearBit ( const Func &  func) const
inline

◆ forEachClearBit() [2/3]

template<typename Words>
template<typename Func >
ALWAYS_INLINE void WTF::FastBitVectorImpl< Words >::forEachClearBit ( const Func &  func) const
inline

◆ forEachClearBit() [3/3]

template<typename Words>
template<typename Func >
ALWAYS_INLINE void WTF::FastBitVectorImpl< Words >::forEachClearBit ( const Func &  func) const
inline

◆ forEachSetBit() [1/3]

template<typename Words>
template<typename Func >
ALWAYS_INLINE void WTF::FastBitVectorImpl< Words >::forEachSetBit ( const Func &  func) const
inline

◆ forEachSetBit() [2/3]

template<typename Words>
template<typename Func >
ALWAYS_INLINE void WTF::FastBitVectorImpl< Words >::forEachSetBit ( const Func &  func) const
inline

◆ forEachSetBit() [3/3]

template<typename Words>
template<typename Func >
ALWAYS_INLINE void WTF::FastBitVectorImpl< Words >::forEachSetBit ( const Func &  func) const
inline

◆ isEmpty() [1/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::isEmpty ( ) const
inline

◆ isEmpty() [2/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::isEmpty ( void  ) const
inline

◆ isEmpty() [3/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::isEmpty ( void  ) const
inline

◆ numBits() [1/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::numBits ( ) const
inline

◆ numBits() [2/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::numBits ( ) const
inline

◆ numBits() [3/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::numBits ( ) const
inline

◆ operator &() [1/3]

template<typename Words>
template<typename OtherWords >
FastBitVectorImpl<FastBitVectorAndWords<typename Words::ViewType, typename OtherWords::ViewType> > WTF::FastBitVectorImpl< Words >::operator& ( const FastBitVectorImpl< OtherWords > &  other) const
inline

◆ operator &() [2/3]

template<typename Words>
template<typename OtherWords >
FastBitVectorImpl<FastBitVectorAndWords<typename Words::ViewType, typename OtherWords::ViewType> > WTF::FastBitVectorImpl< Words >::operator& ( const FastBitVectorImpl< OtherWords > &  other) const
inline

◆ operator &() [3/3]

template<typename Words>
template<typename OtherWords >
FastBitVectorImpl<FastBitVectorAndWords<typename Words::ViewType, typename OtherWords::ViewType> > WTF::FastBitVectorImpl< Words >::operator& ( const FastBitVectorImpl< OtherWords > &  other) const
inline

◆ operator!=() [1/3]

template<typename Words>
template<typename Other >
bool WTF::FastBitVectorImpl< Words >::operator!= ( const Other &  other) const
inline

◆ operator!=() [2/3]

template<typename Words>
template<typename Other >
bool WTF::FastBitVectorImpl< Words >::operator!= ( const Other &  other) const
inline

◆ operator!=() [3/3]

template<typename Words>
template<typename Other >
bool WTF::FastBitVectorImpl< Words >::operator!= ( const Other &  other) const
inline

◆ operator==() [1/3]

template<typename Words>
template<typename Other >
bool WTF::FastBitVectorImpl< Words >::operator== ( const Other &  other) const
inline

◆ operator==() [2/3]

template<typename Words>
template<typename Other >
bool WTF::FastBitVectorImpl< Words >::operator== ( const Other &  other) const
inline

◆ operator==() [3/3]

template<typename Words>
template<typename Other >
bool WTF::FastBitVectorImpl< Words >::operator== ( const Other &  other) const
inline

◆ operator[]() [1/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::operator[] ( size_t  index) const
inline

◆ operator[]() [2/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::operator[] ( size_t  index) const
inline

◆ operator[]() [3/3]

template<typename Words>
bool WTF::FastBitVectorImpl< Words >::operator[] ( size_t  index) const
inline

◆ operator|() [1/3]

template<typename Words>
template<typename OtherWords >
FastBitVectorImpl<FastBitVectorOrWords<typename Words::ViewType, typename OtherWords::ViewType> > WTF::FastBitVectorImpl< Words >::operator| ( const FastBitVectorImpl< OtherWords > &  other) const
inline

◆ operator|() [2/3]

template<typename Words>
template<typename OtherWords >
FastBitVectorImpl<FastBitVectorOrWords<typename Words::ViewType, typename OtherWords::ViewType> > WTF::FastBitVectorImpl< Words >::operator| ( const FastBitVectorImpl< OtherWords > &  other) const
inline

◆ operator|() [3/3]

template<typename Words>
template<typename OtherWords >
FastBitVectorImpl<FastBitVectorOrWords<typename Words::ViewType, typename OtherWords::ViewType> > WTF::FastBitVectorImpl< Words >::operator| ( const FastBitVectorImpl< OtherWords > &  other) const
inline

◆ operator~() [1/3]

template<typename Words>
FastBitVectorImpl<FastBitVectorNotWords<typename Words::ViewType> > WTF::FastBitVectorImpl< Words >::operator~ ( ) const
inline

◆ operator~() [2/3]

template<typename Words>
FastBitVectorImpl<FastBitVectorNotWords<typename Words::ViewType> > WTF::FastBitVectorImpl< Words >::operator~ ( ) const
inline

◆ operator~() [3/3]

template<typename Words>
FastBitVectorImpl<FastBitVectorNotWords<typename Words::ViewType> > WTF::FastBitVectorImpl< Words >::operator~ ( ) const
inline

◆ size() [1/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::size ( ) const
inline

◆ size() [2/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::size ( ) const
inline

◆ size() [3/3]

template<typename Words>
size_t WTF::FastBitVectorImpl< Words >::size ( ) const
inline

◆ wordView() [1/3]

template<typename Words>
Words::ViewType WTF::FastBitVectorImpl< Words >::wordView ( ) const
inline

◆ wordView() [2/3]

template<typename Words>
Words::ViewType WTF::FastBitVectorImpl< Words >::wordView ( ) const
inline

◆ wordView() [3/3]

template<typename Words>
Words::ViewType WTF::FastBitVectorImpl< Words >::wordView ( ) const
inline

Friends And Related Function Documentation

◆ FastBitVector

template<typename Words>
FastBitVector
friend

The documentation for this class was generated from the following file: