Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
BitMask16 Class Reference

List of all members.

Public Member Functions

 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 (BitMaskunsigned short int, 16 const other)
BitMaskunsigned short keepNextLowestBit (int index)
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)
 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 BitMaskunsigned short allOff ()
static BitMaskunsigned short allOn ()
static BitMaskunsigned short bit (int index)
static TypeHandle getClassType ()
static int getMaxNumBits ()
static int getNumBits ()
static bool hasMaxNumBits ()
static BitMaskunsigned short lowerOn (int on_bits)
static BitMaskunsigned short range (int low_bit, int size)

Public Attributes

BitMaskunsigned short int

Static Public Attributes

static BitMaskunsigned short int

Member Function Documentation

static BitMaskunsigned short allOff ( ) [static]
static BitMaskunsigned short allOn ( ) [static]
static BitMaskunsigned short bit ( int  index) [static]
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 ( )
bool getBit ( int  index)
static TypeHandle getClassType ( ) [static]
int getKey ( )
static int getMaxNumBits ( ) [static]
static int getNumBits ( ) [static]
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]
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 ( BitMaskunsigned short  int,
16 const  other 
)
BitMaskunsigned short keepNextLowestBit ( int  index)
static BitMaskunsigned short lowerOn ( int  on_bits) [static]
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 
)
outputHex ( ostream  out,
int  spaces_every 
)
outputHex ( ostream  out)
static BitMaskunsigned short range ( int  low_bit,
int  size 
) [static]
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)

Member Data Documentation

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