Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

BitMask16 Class Reference

List of all members.

Public Member Functions

static BitMaskunsigned short allOff ()
static BitMaskunsigned short allOn ()
static BitMaskunsigned short bit (int index)
 BitMask ()
 BitMask (BitMaskunsigned short int, 16 const copy)
 BitMask (unsigned short int init_value)
 clear ()
 clearBit (int index)
 clearRange (int low_bit, int size)
int compareTo (BitMaskunsigned short int, 16 const other)
unsigned short int extract (int low_bit, int size)
BitMaskunsigned short floodBitsDown ()
BitMaskunsigned short floodBitsUp ()
 floodDownInPlace ()
 floodUpInPlace ()
bool getBit (int index)
int getHighestOffBit ()
int getHighestOnBit ()
int getKey ()
int getLowestOffBit ()
int getLowestOnBit ()
int getNextHigherDifferentBit (int low_bit)
int getNumOffBits ()
int getNumOnBits ()
unsigned short int getWord ()
bool hasAllOf (int low_bit, int size)
bool hasAnyOf (int low_bit, int size)
bool hasBitsInCommon (BitMaskunsigned short int, 16 const other)
 invertInPlace ()
bool isAllOn ()
bool isZero ()
BitMaskunsigned short keepNextHighestBit ()
BitMaskunsigned short keepNextHighestBit (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short keepNextHighestBit (int index)
BitMaskunsigned short keepNextLowestBit ()
BitMaskunsigned short keepNextLowestBit (int index)
BitMaskunsigned short keepNextLowestBit (BitMaskunsigned short int, 16 const other)
static BitMaskunsigned short lowerOn (int on_bits)
bool operator!= (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator& (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator&= (BitMaskunsigned short int, 16 const other)
bool operator< (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator<< (int shift)
BitMaskunsigned short operator<<= (int shift)
BitMaskunsigned short operator= (BitMaskunsigned short int, 16 const copy)
bool operator== (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator>> (int shift)
BitMaskunsigned short operator>>= (int shift)
BitMaskunsigned short operator^ (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator^= (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator| (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator|= (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short operator~ ()
 output (ostream out)
 outputBinary (ostream out, int spaces_every)
 outputBinary (ostream out)
 outputHex (ostream out)
 outputHex (ostream out, int spaces_every)
static BitMaskunsigned short range (int low_bit, int size)
 setBit (int index)
 setBitTo (int index, bool value)
 setRange (int low_bit, int size)
 setRangeTo (bool value, int low_bit, int size)
 setWord (unsigned short int value)
 store (unsigned short int value, int low_bit, int size)
 write (ostream out, int indent_level)
 write (ostream out)

Static Public Member Functions

static TypeHandle getClassType ()
static int getMaxNumBits ()
static int getNumBits ()
static bool hasMaxNumBits ()

Public Attributes

BitMaskunsigned short int

Static Public Attributes

static BitMaskunsigned short int

Member Function Documentation

static BitMaskunsigned short allOff ( )
static BitMaskunsigned short allOn ( )
static BitMaskunsigned short bit ( int  index)
BitMask ( )
BitMask ( BitMaskunsigned short  int,
16 const  copy 
)
BitMask ( unsigned short int  init_value)
clear ( )
clearBit ( int  index)
clearRange ( int  low_bit,
int  size 
)
int compareTo ( BitMaskunsigned short  int,
16 const  other 
)
unsigned short int extract ( int  low_bit,
int  size 
)
BitMaskunsigned short floodBitsDown ( )
BitMaskunsigned short floodBitsUp ( )
floodDownInPlace ( )
floodUpInPlace ( )
bool getBit ( int  index)
static TypeHandle getClassType ( ) [static]
int getHighestOffBit ( )
int getHighestOnBit ( )
int getKey ( )
int getLowestOffBit ( )
int getLowestOnBit ( )
static int getMaxNumBits ( ) [static]
int getNextHigherDifferentBit ( int  low_bit)
static int getNumBits ( ) [static]
int getNumOffBits ( )
int getNumOnBits ( )
unsigned short int getWord ( )
bool hasAllOf ( int  low_bit,
int  size 
)
bool hasAnyOf ( int  low_bit,
int  size 
)
bool hasBitsInCommon ( BitMaskunsigned short  int,
16 const  other 
)
static bool hasMaxNumBits ( ) [static]
invertInPlace ( )
bool isAllOn ( )
bool isZero ( )
BitMaskunsigned short keepNextHighestBit ( )
BitMaskunsigned short keepNextHighestBit ( int  index)
BitMaskunsigned short keepNextHighestBit ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short keepNextLowestBit ( )
BitMaskunsigned short keepNextLowestBit ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short keepNextLowestBit ( int  index)
static BitMaskunsigned short lowerOn ( int  on_bits)
bool operator!= ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator& ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator&= ( BitMaskunsigned short  int,
16 const  other 
)
bool operator< ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator<< ( int  shift)
BitMaskunsigned short operator<<= ( int  shift)
BitMaskunsigned short operator= ( BitMaskunsigned short  int,
16 const  copy 
)
bool operator== ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator>> ( int  shift)
BitMaskunsigned short operator>>= ( int  shift)
BitMaskunsigned short operator^ ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator^= ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator| ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator|= ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short operator~ ( )
output ( ostream  out)
outputBinary ( ostream  out,
int  spaces_every 
)
outputBinary ( ostream  out)
outputHex ( ostream  out,
int  spaces_every 
)
outputHex ( ostream  out)
static BitMaskunsigned short range ( int  low_bit,
int  size 
)
setBit ( int  index)
setBitTo ( int  index,
bool  value 
)
setRange ( int  low_bit,
int  size 
)
setRangeTo ( bool  value,
int  low_bit,
int  size 
)
setWord ( unsigned short int  value)
store ( unsigned short int  value,
int  low_bit,
int  size 
)
write ( ostream  out)
write ( ostream  out,
int  indent_level 
)

Member Data Documentation

BitMaskunsigned short int
BitMaskunsigned short int [static]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties