MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Bitmask< size > Class Template Reference
Inheritance diagram for Bitmask< size >:
Collaboration diagram for Bitmask< size >:

Public Member Functions

template<unsigned sz2>
Bitmaskoperator= (const Bitmask< sz2 > &src)
template<unsigned sz2>
Bitmaskoperator= (const BitmaskPOD< sz2 > &src)
- Public Member Functions inherited from BitmaskPOD< size >
 STATIC_CONST (Size=size)
 STATIC_CONST (NotFound=BitmaskImpl::NotFound)
 STATIC_CONST (TextLength=size *8)
Uint32 getSizeInWords () const
unsigned max_size () const
void assign (const typename BitmaskPOD< size >::Data &src)
void assign (const BitmaskPOD< size > &src)
void copyto (unsigned sz, Uint32 dst[]) const
void assign (unsigned sz, const Uint32 src[])
bool get (unsigned n) const
void set (unsigned n, bool value)
void set (unsigned n)
void set ()
void setRange (Uint32 pos, Uint32 len)
void clear (unsigned n)
void clear ()
Uint32 getWord (unsigned word_pos)
void setWord (unsigned word_pos, Uint32 new_word)
bool isclear () const
unsigned count () const
unsigned find_first () const
unsigned find_next (unsigned n) const
unsigned find (unsigned n) const
bool equal (const BitmaskPOD< size > &mask2) const
BitmaskPOD< size > & bitOR (const BitmaskPOD< size > &mask2)
BitmaskPOD< size > & bitAND (const BitmaskPOD< size > &mask2)
BitmaskPOD< size > & bitANDC (const BitmaskPOD< size > &mask2)
BitmaskPOD< size > & bitXOR (const BitmaskPOD< size > &mask2)
BitmaskPOD< size > & bitXORC (const BitmaskPOD< size > &mask2)
BitmaskPOD< size > & bitNOT ()
bool contains (BitmaskPOD< size > that)
bool overlaps (BitmaskPOD< size > that)
char * getText (char *buf) const
Uint32 toArray (Uint8 *dst, Uint32 len) const

Additional Inherited Members

- Static Public Member Functions inherited from BitmaskPOD< size >
static void assign (Uint32 dst[], const Uint32 src[])
static void assign (Uint32 dst[], const BitmaskPOD< size > &src)
static bool get (const Uint32 data[], unsigned n)
static void set (Uint32 data[], unsigned n, bool value)
static void set (Uint32 data[], unsigned n)
static void set (Uint32 data[])
static void setRange (Uint32 data[], Uint32 pos, Uint32 len)
static void clear (Uint32 data[], unsigned n)
static void clear (Uint32 data[])
static bool isclear (const Uint32 data[])
static unsigned count (const Uint32 data[])
static unsigned find_first (const Uint32 data[])
static unsigned find_next (const Uint32 data[], unsigned n)
static unsigned find (const Uint32 data[], unsigned n)
static bool equal (const Uint32 data[], const Uint32 data2[])
static void bitOR (Uint32 data[], const Uint32 data2[])
static void bitAND (Uint32 data[], const Uint32 data2[])
static void bitANDC (Uint32 data[], const Uint32 data2[])
static void bitXOR (Uint32 data[], const Uint32 data2[])
static void bitXORC (Uint32 data[], const Uint32 data2[])
static void bitNOT (Uint32 data[])
static bool contains (Uint32 data[], const Uint32 data2[])
static bool overlaps (Uint32 data[], const Uint32 data2[])
static char * getText (const Uint32 data[], char *buf)
static Uint32 toArray (Uint8 *dst, Uint32 len, const Uint32 data[])
- Public Attributes inherited from BitmaskPOD< size >
Data rep

Detailed Description

template<unsigned size>
class Bitmask< size >

Definition at line 1203 of file Bitmask.hpp.


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