Panda3D
Public Member Functions | Static Public Member Functions | List of all members
BitMaskPNUint3232 Class Reference

Public Member Functions

 __init__ ()
 
 __init__ (const BitMaskPNUint3232 copy)
 
 __init__ (PNUint32 init_value)
 
bool __nonzero__ ()
 
 clear ()
 
 clearBit (int index)
 
 clearRange (int low_bit, int size)
 
int compareTo (const BitMaskPNUint3232 other)
 
PNUint32 extract (int low_bit, int size)
 
BitMaskPNUint3232 floodBitsDown ()
 
BitMaskPNUint3232 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 ()
 
PNUint32 getWord ()
 
bool hasAllOf (int low_bit, int size)
 
bool hasAnyOf (int low_bit, int size)
 
bool hasBitsInCommon (const BitMaskPNUint3232 other)
 
 invertInPlace ()
 
bool isAllOn ()
 
bool isZero ()
 
BitMaskPNUint3232 keepNextHighestBit ()
 
BitMaskPNUint3232 keepNextHighestBit (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 keepNextHighestBit (int index)
 
BitMaskPNUint3232 keepNextLowestBit ()
 
BitMaskPNUint3232 keepNextLowestBit (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 keepNextLowestBit (int index)
 
bool operator!= (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator& (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator&= (const BitMaskPNUint3232 other)
 
bool operator< (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator<< (int shift)
 
BitMaskPNUint3232 operator<<= (int shift)
 
BitMaskPNUint3232 operator= (const BitMaskPNUint3232 copy)
 
bool operator== (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator>> (int shift)
 
BitMaskPNUint3232 operator>>= (int shift)
 
BitMaskPNUint3232 operator^ (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator^= (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator| (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator|= (const BitMaskPNUint3232 other)
 
BitMaskPNUint3232 operator~ ()
 
 output (Ostream out)
 
 outputBinary (Ostream out, int spaces_every)
 
 outputHex (Ostream out, int spaces_every)
 
 setBit (int index)
 
 setBitTo (int index, bool value)
 
 setRange (int low_bit, int size)
 
 setRangeTo (bool value, int low_bit, int size)
 
 setWord (PNUint32 value)
 
 store (PNUint32 value, int low_bit, int size)
 
 write (Ostream out, int indent_level)
 

Static Public Member Functions

static BitMaskPNUint3232 allOff ()
 
static BitMaskPNUint3232 allOn ()
 
static BitMaskPNUint3232 bit (int index)
 
static TypeHandle getClassType ()
 
static int getMaxNumBits ()
 
static int getNumBits ()
 
static bool hasMaxNumBits ()
 
static BitMaskPNUint3232 lowerOn (int on_bits)
 
static BitMaskPNUint3232 range (int low_bit, int size)
 

Member Function Documentation

◆ __init__() [1/3]

__init__ ( )

◆ __init__() [2/3]

__init__ ( const BitMaskPNUint3232  copy)

◆ __init__() [3/3]

__init__ ( PNUint32  init_value)

◆ __nonzero__()

bool __nonzero__ ( )

◆ allOff()

static BitMaskPNUint3232 allOff ( )
static

◆ allOn()

static BitMaskPNUint3232 allOn ( )
static

◆ bit()

static BitMaskPNUint3232 bit ( int  index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int  index)

◆ clearRange()

clearRange ( int  low_bit,
int  size 
)

◆ compareTo()

int compareTo ( const BitMaskPNUint3232  other)

◆ extract()

PNUint32 extract ( int  low_bit,
int  size 
)

◆ floodBitsDown()

BitMaskPNUint3232 floodBitsDown ( )

◆ floodBitsUp()

BitMaskPNUint3232 floodBitsUp ( )

◆ floodDownInPlace()

floodDownInPlace ( )

◆ floodUpInPlace()

floodUpInPlace ( )

◆ getBit()

bool getBit ( int  index)

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getHighestOffBit()

int getHighestOffBit ( )

◆ getHighestOnBit()

int getHighestOnBit ( )

◆ getKey()

int getKey ( )

◆ getLowestOffBit()

int getLowestOffBit ( )

◆ getLowestOnBit()

int getLowestOnBit ( )

◆ getMaxNumBits()

static int getMaxNumBits ( )
static

◆ getNextHigherDifferentBit()

int getNextHigherDifferentBit ( int  low_bit)

◆ getNumBits()

static int getNumBits ( )
static

◆ getNumOffBits()

int getNumOffBits ( )

◆ getNumOnBits()

int getNumOnBits ( )

◆ getWord()

PNUint32 getWord ( )

◆ hasAllOf()

bool hasAllOf ( int  low_bit,
int  size 
)

◆ hasAnyOf()

bool hasAnyOf ( int  low_bit,
int  size 
)

◆ hasBitsInCommon()

bool hasBitsInCommon ( const BitMaskPNUint3232  other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ keepNextHighestBit() [1/3]

BitMaskPNUint3232 keepNextHighestBit ( )

◆ keepNextHighestBit() [2/3]

BitMaskPNUint3232 keepNextHighestBit ( const BitMaskPNUint3232  other)

◆ keepNextHighestBit() [3/3]

BitMaskPNUint3232 keepNextHighestBit ( int  index)

◆ keepNextLowestBit() [1/3]

BitMaskPNUint3232 keepNextLowestBit ( )

◆ keepNextLowestBit() [2/3]

BitMaskPNUint3232 keepNextLowestBit ( const BitMaskPNUint3232  other)

◆ keepNextLowestBit() [3/3]

BitMaskPNUint3232 keepNextLowestBit ( int  index)

◆ lowerOn()

static BitMaskPNUint3232 lowerOn ( int  on_bits)
static

◆ operator!=()

bool operator!= ( const BitMaskPNUint3232  other)

◆ operator&()

BitMaskPNUint3232 operator & ( const BitMaskPNUint3232  other)

◆ operator&=()

BitMaskPNUint3232 operator &= ( const BitMaskPNUint3232  other)

◆ operator<()

bool operator< ( const BitMaskPNUint3232  other)

◆ operator<<()

BitMaskPNUint3232 operator<< ( int  shift)

◆ operator<<=()

BitMaskPNUint3232 operator<<= ( int  shift)

◆ operator=()

BitMaskPNUint3232 operator= ( const BitMaskPNUint3232  copy)

◆ operator==()

bool operator== ( const BitMaskPNUint3232  other)

◆ operator>>()

BitMaskPNUint3232 operator>> ( int  shift)

◆ operator>>=()

BitMaskPNUint3232 operator>>= ( int  shift)

◆ operator^()

BitMaskPNUint3232 operator^ ( const BitMaskPNUint3232  other)

◆ operator^=()

BitMaskPNUint3232 operator^= ( const BitMaskPNUint3232  other)

◆ operator|()

BitMaskPNUint3232 operator| ( const BitMaskPNUint3232  other)

◆ operator|=()

BitMaskPNUint3232 operator|= ( const BitMaskPNUint3232  other)

◆ operator~()

BitMaskPNUint3232 operator~ ( )

◆ output()

output ( Ostream  out)

◆ outputBinary()

outputBinary ( Ostream  out,
int  spaces_every 
)

◆ outputHex()

outputHex ( Ostream  out,
int  spaces_every 
)

◆ range()

static BitMaskPNUint3232 range ( int  low_bit,
int  size 
)
static

◆ setBit()

setBit ( int  index)

◆ setBitTo()

setBitTo ( int  index,
bool  value 
)

◆ setRange()

setRange ( int  low_bit,
int  size 
)

◆ setRangeTo()

setRangeTo ( bool  value,
int  low_bit,
int  size 
)

◆ setWord()

setWord ( PNUint32  value)

◆ store()

store ( PNUint32  value,
int  low_bit,
int  size 
)

◆ write()

write ( Ostream  out,
int  indent_level 
)