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

Public Member Functions

 __init__ ()
 
 __init__ (const DoubleBitMaskBitMaskNative)
 
 clear ()
 
 clearBit (int index)
 
 clearRange (int low_bit, int size)
 
int compareTo (const DoubleBitMaskBitMaskNative other)
 
uint64_t extract (int low_bit, int size)
 
bool getBit (int index)
 
int getHighestOffBit ()
 
int getHighestOnBit ()
 
int getLowestOffBit ()
 
int getLowestOnBit ()
 
int getNextHigherDifferentBit (int low_bit)
 
int getNumBits ()
 
int getNumOffBits ()
 
int getNumOnBits ()
 
bool hasAllOf (int low_bit, int size)
 
bool hasAnyOf (int low_bit, int size)
 
bool hasBitsInCommon (const DoubleBitMaskBitMaskNative other)
 
 invertInPlace ()
 
bool isAllOn ()
 
bool isZero ()
 
bool operator != (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator & (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator &= (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator >> (int shift)
 
DoubleBitMaskBitMaskNative operator >>= (int shift)
 
DoubleBitMaskBitMaskNative operator ^ (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator ^= (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator ~ ()
 
bool operator< (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator<< (int shift)
 
DoubleBitMaskBitMaskNative operator<<= (int shift)
 
bool operator== (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator| (const DoubleBitMaskBitMaskNative other)
 
DoubleBitMaskBitMaskNative operator|= (const DoubleBitMaskBitMaskNative 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)
 
 store (uint64_t value, int low_bit, int size)
 
 write (Ostream out, int indent_level)
 

Static Public Member Functions

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const  DoubleBitMaskBitMaskNative)

◆ allOff()

static DoubleBitMaskBitMaskNative allOff ( )
static

◆ allOn()

static DoubleBitMaskBitMaskNative allOn ( )
static

◆ bit()

static DoubleBitMaskBitMaskNative bit ( int  index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int  index)

◆ clearRange()

clearRange ( int  low_bit,
int  size 
)

◆ compareTo()

int compareTo ( const DoubleBitMaskBitMaskNative  other)

◆ extract()

uint64_t extract ( int  low_bit,
int  size 
)

◆ getBit()

bool getBit ( int  index)

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getHighestOffBit()

int getHighestOffBit ( )

◆ getHighestOnBit()

int getHighestOnBit ( )

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

◆ hasAllOf()

bool hasAllOf ( int  low_bit,
int  size 
)

◆ hasAnyOf()

bool hasAnyOf ( int  low_bit,
int  size 
)

◆ hasBitsInCommon()

bool hasBitsInCommon ( const DoubleBitMaskBitMaskNative  other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ lowerOn()

static DoubleBitMaskBitMaskNative lowerOn ( int  on_bits)
static

◆ operator !=()

bool operator != ( const DoubleBitMaskBitMaskNative  other)

◆ operator &()

◆ operator &=()

◆ operator >>()

DoubleBitMaskBitMaskNative operator >> ( int  shift)

◆ operator >>=()

DoubleBitMaskBitMaskNative operator >>= ( int  shift)

◆ operator ^()

◆ operator ^=()

◆ operator ~()

◆ operator<()

bool operator< ( const DoubleBitMaskBitMaskNative  other)

◆ operator<<()

DoubleBitMaskBitMaskNative operator<< ( int  shift)

◆ operator<<=()

DoubleBitMaskBitMaskNative operator<<= ( int  shift)

◆ operator==()

bool operator== ( const DoubleBitMaskBitMaskNative  other)

◆ operator|()

◆ operator|=()

◆ output()

output ( Ostream  out)

◆ outputBinary()

outputBinary ( Ostream  out,
int  spaces_every 
)

◆ outputHex()

outputHex ( Ostream  out,
int  spaces_every 
)

◆ range()

static DoubleBitMaskBitMaskNative 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 
)

◆ store()

store ( uint64_t  value,
int  low_bit,
int  size 
)

◆ write()

write ( Ostream  out,
int  indent_level 
)