Public Member Functions
|BitSet (unsigned int nbits=64)|
|BitSet (const unsigned long *bits_, unsigned int nlongs)|
|void||add (unsigned int el)|
|bool||member (unsigned int el) const|
|ANTLR_USE_NAMESPACE (std) vector< unsigned int > toArray() const|
Private Member Functions
|ANTLR_USE_NAMESPACE (std) vector< bool > storage|
Also seems like or() from util is wrong when size of incoming set is bigger than this.length.
This is a C++ version of the Java class described above, with only a handful of the methods implemented, because we don't need the others at runtime. It's really just a wrapper around vector<bool>, which should probably be changed to a wrapper around bitset, once bitset is more widely available.
|BitSet::BitSet||(||unsigned int|| nbits =
|BitSet::BitSet||(||const unsigned long *||bits_,|
|void BitSet::add||(||unsigned int||el||)|
|bool BitSet::member||(||unsigned int||el||)||const|