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

Public Member Functions

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

Static Public Member Functions

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const DoubleBitMaskDoubleBitMaskNative  copy)

◆ allOff()

static DoubleBitMaskDoubleBitMaskNative allOff ( )
static

◆ allOn()

static DoubleBitMaskDoubleBitMaskNative allOn ( )
static

◆ bit()

static DoubleBitMaskDoubleBitMaskNative bit ( int  index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int  index)

◆ clearRange()

clearRange ( int  low_bit,
int  size 
)

◆ compareTo()

int compareTo ( const DoubleBitMaskDoubleBitMaskNative  other)

◆ extract()

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

static int getNumBits ( )
static

◆ 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 DoubleBitMaskDoubleBitMaskNative  other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ lowerOn()

static DoubleBitMaskDoubleBitMaskNative lowerOn ( int  on_bits)
static

◆ operator!=()

bool operator!= ( const DoubleBitMaskDoubleBitMaskNative  other)

◆ operator&()

◆ operator&=()

◆ operator<()

bool operator< ( const DoubleBitMaskDoubleBitMaskNative  other)

◆ operator<<()

DoubleBitMaskDoubleBitMaskNative operator<< ( int  shift)

◆ operator<<=()

DoubleBitMaskDoubleBitMaskNative operator<<= ( int  shift)

◆ operator=()

◆ operator==()

bool operator== ( const DoubleBitMaskDoubleBitMaskNative  other)

◆ operator>>()

DoubleBitMaskDoubleBitMaskNative operator>> ( int  shift)

◆ operator>>=()

DoubleBitMaskDoubleBitMaskNative operator>>= ( int  shift)

◆ operator^()

◆ operator^=()

◆ operator|()

◆ operator|=()

◆ operator~()

◆ output()

output ( Ostream  out)

◆ outputBinary()

outputBinary ( Ostream  out,
int  spaces_every 
)

◆ outputHex()

outputHex ( Ostream  out,
int  spaces_every 
)

◆ range()

static DoubleBitMaskDoubleBitMaskNative 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 ( PNUint64  value,
int  low_bit,
int  size 
)

◆ write()

write ( Ostream  out,
int  indent_level 
)