bitset_t Class Reference

Bit set class. More...

Inheritance diagram for bitset_t:
rlist_t

Classes

class  iterator
 

Public Types

typedef iterator const_iterator
 

Public Member Functions

 bitset_t (const bitset_t &m)
 
void swap (bitset_t &r)
 
bitset_toperator= (const bitset_t &m)
 
bool add (int bit)
 
bool add (int bit, int width)
 
bool add (const bitset_t &ml)
 
bool sub (int bit)
 
bool sub (int bit, int width)
 
bool sub (const bitset_t &ml)
 
bool cut_at (int maxbit)
 
void shift_down (int shift)
 
bool has (int bit) const
 
bool has_all (int bit, int width) const
 
bool has_any (int bit, int width) const
 
void print (qstring *vout, int(*get_bit_name)(qstring *out, int bit, int width, void *ud)=NULL, void *ud=NULL) const
 
const char * dstr (void) const
 
bool empty (void) const
 
int count (void) const
 
int count (int bit) const
 
int last (void) const
 
void clear (void)
 
void fill_with_ones (int maxbit)
 
bool fill_gaps (int total_nbits)
 
bool has_common (const bitset_t &ml) const
 
bool intersect (const bitset_t &ml)
 
bool is_subset_of (const bitset_t &ml) const
 
bool includes (const bitset_t &ml) const
 
void extract (intvec_t &out) const
 
 DECLARE_COMPARISONS (bitset_t)
 
iterator itat (int n) const
 
iterator begin (void) const
 
iterator end (void) const
 
int front (void) const
 
int back (void) const
 
void inc (iterator &p, int n=1) const
 

Detailed Description

Bit set class.

Definition at line 1262 of file hexrays.hpp.