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

Public Member Functions

 __init__ ()
 
 __init__ (const BitMaskPNUint1616 copy)
 
 __init__ (PNUint16 init_value)
 
bool __nonzero__ ()
 
 clear ()
 
 clearBit (int index)
 
 clearRange (int low_bit, int size)
 
int compareTo (const BitMaskPNUint1616 other)
 
PNUint16 extract (int low_bit, int size)
 
BitMaskPNUint1616 floodBitsDown ()
 
BitMaskPNUint1616 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 ()
 
PNUint16 getWord ()
 
bool hasAllOf (int low_bit, int size)
 
bool hasAnyOf (int low_bit, int size)
 
bool hasBitsInCommon (const BitMaskPNUint1616 other)
 
 invertInPlace ()
 
bool isAllOn ()
 
bool isZero ()
 
BitMaskPNUint1616 keepNextHighestBit ()
 
BitMaskPNUint1616 keepNextHighestBit (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 keepNextHighestBit (int index)
 
BitMaskPNUint1616 keepNextLowestBit ()
 
BitMaskPNUint1616 keepNextLowestBit (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 keepNextLowestBit (int index)
 
bool operator!= (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator& (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator&= (const BitMaskPNUint1616 other)
 
bool operator< (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator<< (int shift)
 
BitMaskPNUint1616 operator<<= (int shift)
 
BitMaskPNUint1616 operator= (const BitMaskPNUint1616 copy)
 
bool operator== (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator>> (int shift)
 
BitMaskPNUint1616 operator>>= (int shift)
 
BitMaskPNUint1616 operator^ (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator^= (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator| (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 operator|= (const BitMaskPNUint1616 other)
 
BitMaskPNUint1616 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 (PNUint16 value)
 
 store (PNUint16 value, int low_bit, int size)
 
 write (Ostream out, int indent_level)
 

Static Public Member Functions

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

Member Function Documentation

◆ __init__() [1/3]

__init__ ( )

◆ __init__() [2/3]

__init__ ( const BitMaskPNUint1616  copy)

◆ __init__() [3/3]

__init__ ( PNUint16  init_value)

◆ __nonzero__()

bool __nonzero__ ( )

◆ allOff()

static BitMaskPNUint1616 allOff ( )
static

◆ allOn()

static BitMaskPNUint1616 allOn ( )
static

◆ bit()

static BitMaskPNUint1616 bit ( int  index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int  index)

◆ clearRange()

clearRange ( int  low_bit,
int  size 
)

◆ compareTo()

int compareTo ( const BitMaskPNUint1616  other)

◆ extract()

PNUint16 extract ( int  low_bit,
int  size 
)

◆ floodBitsDown()

BitMaskPNUint1616 floodBitsDown ( )

◆ floodBitsUp()

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

PNUint16 getWord ( )

◆ hasAllOf()

bool hasAllOf ( int  low_bit,
int  size 
)

◆ hasAnyOf()

bool hasAnyOf ( int  low_bit,
int  size 
)

◆ hasBitsInCommon()

bool hasBitsInCommon ( const BitMaskPNUint1616  other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ keepNextHighestBit() [1/3]

BitMaskPNUint1616 keepNextHighestBit ( )

◆ keepNextHighestBit() [2/3]

BitMaskPNUint1616 keepNextHighestBit ( const BitMaskPNUint1616  other)

◆ keepNextHighestBit() [3/3]

BitMaskPNUint1616 keepNextHighestBit ( int  index)

◆ keepNextLowestBit() [1/3]

BitMaskPNUint1616 keepNextLowestBit ( )

◆ keepNextLowestBit() [2/3]

BitMaskPNUint1616 keepNextLowestBit ( const BitMaskPNUint1616  other)

◆ keepNextLowestBit() [3/3]

BitMaskPNUint1616 keepNextLowestBit ( int  index)

◆ lowerOn()

static BitMaskPNUint1616 lowerOn ( int  on_bits)
static

◆ operator!=()

bool operator!= ( const BitMaskPNUint1616  other)

◆ operator&()

BitMaskPNUint1616 operator & ( const BitMaskPNUint1616  other)

◆ operator&=()

BitMaskPNUint1616 operator &= ( const BitMaskPNUint1616  other)

◆ operator<()

bool operator< ( const BitMaskPNUint1616  other)

◆ operator<<()

BitMaskPNUint1616 operator<< ( int  shift)

◆ operator<<=()

BitMaskPNUint1616 operator<<= ( int  shift)

◆ operator=()

BitMaskPNUint1616 operator= ( const BitMaskPNUint1616  copy)

◆ operator==()

bool operator== ( const BitMaskPNUint1616  other)

◆ operator>>()

BitMaskPNUint1616 operator>> ( int  shift)

◆ operator>>=()

BitMaskPNUint1616 operator>>= ( int  shift)

◆ operator^()

BitMaskPNUint1616 operator^ ( const BitMaskPNUint1616  other)

◆ operator^=()

BitMaskPNUint1616 operator^= ( const BitMaskPNUint1616  other)

◆ operator|()

BitMaskPNUint1616 operator| ( const BitMaskPNUint1616  other)

◆ operator|=()

BitMaskPNUint1616 operator|= ( const BitMaskPNUint1616  other)

◆ operator~()

BitMaskPNUint1616 operator~ ( )

◆ output()

output ( Ostream  out)

◆ outputBinary()

outputBinary ( Ostream  out,
int  spaces_every 
)

◆ outputHex()

outputHex ( Ostream  out,
int  spaces_every 
)

◆ range()

static BitMaskPNUint1616 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 ( PNUint16  value)

◆ store()

store ( PNUint16  value,
int  low_bit,
int  size 
)

◆ write()

write ( Ostream  out,
int  indent_level 
)