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

Public Member Functions

 __init__ ()
 
 __init__ (const BitMaskUint32T32)
 
 __init__ (uint32_t init_value)
 
bool __nonzero__ ()
 
 clear ()
 
 clearBit (int index)
 
 clearRange (int low_bit, int size)
 
int compareTo (const BitMaskUint32T32 other)
 
uint32_t extract (int low_bit, int size)
 
BitMaskUint32T32 floodBitsDown ()
 
BitMaskUint32T32 floodBitsUp ()
 
 floodDownInPlace ()
 
 floodUpInPlace ()
 
bool getBit (int index)
 
int getHighestOffBit ()
 
int getHighestOnBit ()
 
int getKey ()
 
int getLowestOffBit ()
 
int getLowestOnBit ()
 
int getNextHigherDifferentBit (int low_bit)
 
int getNumBits ()
 
int getNumOffBits ()
 
int getNumOnBits ()
 
uint32_t getWord ()
 
bool hasAllOf (int low_bit, int size)
 
bool hasAnyOf (int low_bit, int size)
 
bool hasBitsInCommon (const BitMaskUint32T32 other)
 
 invertInPlace ()
 
bool isAllOn ()
 
bool isZero ()
 
BitMaskUint32T32 keepNextHighestBit ()
 
BitMaskUint32T32 keepNextHighestBit (const BitMaskUint32T32 other)
 
BitMaskUint32T32 keepNextHighestBit (int index)
 
BitMaskUint32T32 keepNextLowestBit ()
 
BitMaskUint32T32 keepNextLowestBit (const BitMaskUint32T32 other)
 
BitMaskUint32T32 keepNextLowestBit (int index)
 
bool operator != (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator & (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator &= (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator >> (int shift)
 
BitMaskUint32T32 operator >>= (int shift)
 
BitMaskUint32T32 operator ^ (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator ^= (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator ~ ()
 
bool operator< (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator<< (int shift)
 
BitMaskUint32T32 operator<<= (int shift)
 
bool operator== (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator| (const BitMaskUint32T32 other)
 
BitMaskUint32T32 operator|= (const BitMaskUint32T32 other)
 
 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 (uint32_t value)
 
 store (uint32_t value, int low_bit, int size)
 
 write (Ostream out, int indent_level)
 

Static Public Member Functions

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

Member Function Documentation

◆ __init__() [1/3]

__init__ ( )

◆ __init__() [2/3]

__init__ ( const  BitMaskUint32T32)

◆ __init__() [3/3]

__init__ ( uint32_t  init_value)

◆ __nonzero__()

bool __nonzero__ ( )

◆ allOff()

static BitMaskUint32T32 allOff ( )
static

◆ allOn()

static BitMaskUint32T32 allOn ( )
static

◆ bit()

static BitMaskUint32T32 bit ( int  index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int  index)

◆ clearRange()

clearRange ( int  low_bit,
int  size 
)

◆ compareTo()

int compareTo ( const BitMaskUint32T32  other)

◆ extract()

uint32_t extract ( int  low_bit,
int  size 
)

◆ floodBitsDown()

BitMaskUint32T32 floodBitsDown ( )

◆ floodBitsUp()

BitMaskUint32T32 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()

int getNumBits ( )

◆ getNumOffBits()

int getNumOffBits ( )

◆ getNumOnBits()

int getNumOnBits ( )

◆ getWord()

uint32_t getWord ( )

◆ hasAllOf()

bool hasAllOf ( int  low_bit,
int  size 
)

◆ hasAnyOf()

bool hasAnyOf ( int  low_bit,
int  size 
)

◆ hasBitsInCommon()

bool hasBitsInCommon ( const BitMaskUint32T32  other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ keepNextHighestBit() [1/3]

BitMaskUint32T32 keepNextHighestBit ( )

◆ keepNextHighestBit() [2/3]

BitMaskUint32T32 keepNextHighestBit ( const BitMaskUint32T32  other)

◆ keepNextHighestBit() [3/3]

BitMaskUint32T32 keepNextHighestBit ( int  index)

◆ keepNextLowestBit() [1/3]

BitMaskUint32T32 keepNextLowestBit ( )

◆ keepNextLowestBit() [2/3]

BitMaskUint32T32 keepNextLowestBit ( const BitMaskUint32T32  other)

◆ keepNextLowestBit() [3/3]

BitMaskUint32T32 keepNextLowestBit ( int  index)

◆ lowerOn()

static BitMaskUint32T32 lowerOn ( int  on_bits)
static

◆ operator !=()

bool operator != ( const BitMaskUint32T32  other)

◆ operator &()

BitMaskUint32T32 operator & ( const BitMaskUint32T32  other)

◆ operator &=()

BitMaskUint32T32 operator &= ( const BitMaskUint32T32  other)

◆ operator >>()

BitMaskUint32T32 operator >> ( int  shift)

◆ operator >>=()

BitMaskUint32T32 operator >>= ( int  shift)

◆ operator ^()

BitMaskUint32T32 operator ^ ( const BitMaskUint32T32  other)

◆ operator ^=()

BitMaskUint32T32 operator ^= ( const BitMaskUint32T32  other)

◆ operator ~()

BitMaskUint32T32 operator ~ ( )

◆ operator<()

bool operator< ( const BitMaskUint32T32  other)

◆ operator<<()

BitMaskUint32T32 operator<< ( int  shift)

◆ operator<<=()

BitMaskUint32T32 operator<<= ( int  shift)

◆ operator==()

bool operator== ( const BitMaskUint32T32  other)

◆ operator|()

BitMaskUint32T32 operator| ( const BitMaskUint32T32  other)

◆ operator|=()

BitMaskUint32T32 operator|= ( const BitMaskUint32T32  other)

◆ output()

output ( Ostream  out)

◆ outputBinary()

outputBinary ( Ostream  out,
int  spaces_every 
)

◆ outputHex()

outputHex ( Ostream  out,
int  spaces_every 
)

◆ range()

static BitMaskUint32T32 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 ( uint32_t  value)

◆ store()

store ( uint32_t  value,
int  low_bit,
int  size 
)

◆ write()

write ( Ostream  out,
int  indent_level 
)