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

Public Member Functions

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

Static Public Member Functions

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

Member Function Documentation

◆ __init__() [1/3]

__init__ ( )

◆ __init__() [2/3]

__init__ ( const  BitMaskUint64T64)

◆ __init__() [3/3]

__init__ ( uint64_t  init_value)

◆ __nonzero__()

bool __nonzero__ ( )

◆ allOff()

static BitMaskUint64T64 allOff ( )
static

◆ allOn()

static BitMaskUint64T64 allOn ( )
static

◆ bit()

static BitMaskUint64T64 bit ( int  index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int  index)

◆ clearRange()

clearRange ( int  low_bit,
int  size 
)

◆ compareTo()

int compareTo ( const BitMaskUint64T64  other)

◆ extract()

uint64_t extract ( int  low_bit,
int  size 
)

◆ floodBitsDown()

BitMaskUint64T64 floodBitsDown ( )

◆ floodBitsUp()

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

uint64_t getWord ( )

◆ hasAllOf()

bool hasAllOf ( int  low_bit,
int  size 
)

◆ hasAnyOf()

bool hasAnyOf ( int  low_bit,
int  size 
)

◆ hasBitsInCommon()

bool hasBitsInCommon ( const BitMaskUint64T64  other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ keepNextHighestBit() [1/3]

BitMaskUint64T64 keepNextHighestBit ( )

◆ keepNextHighestBit() [2/3]

BitMaskUint64T64 keepNextHighestBit ( const BitMaskUint64T64  other)

◆ keepNextHighestBit() [3/3]

BitMaskUint64T64 keepNextHighestBit ( int  index)

◆ keepNextLowestBit() [1/3]

BitMaskUint64T64 keepNextLowestBit ( )

◆ keepNextLowestBit() [2/3]

BitMaskUint64T64 keepNextLowestBit ( const BitMaskUint64T64  other)

◆ keepNextLowestBit() [3/3]

BitMaskUint64T64 keepNextLowestBit ( int  index)

◆ lowerOn()

static BitMaskUint64T64 lowerOn ( int  on_bits)
static

◆ operator !=()

bool operator != ( const BitMaskUint64T64  other)

◆ operator &()

BitMaskUint64T64 operator & ( const BitMaskUint64T64  other)

◆ operator &=()

BitMaskUint64T64 operator &= ( const BitMaskUint64T64  other)

◆ operator >>()

BitMaskUint64T64 operator >> ( int  shift)

◆ operator >>=()

BitMaskUint64T64 operator >>= ( int  shift)

◆ operator ^()

BitMaskUint64T64 operator ^ ( const BitMaskUint64T64  other)

◆ operator ^=()

BitMaskUint64T64 operator ^= ( const BitMaskUint64T64  other)

◆ operator ~()

BitMaskUint64T64 operator ~ ( )

◆ operator<()

bool operator< ( const BitMaskUint64T64  other)

◆ operator<<()

BitMaskUint64T64 operator<< ( int  shift)

◆ operator<<=()

BitMaskUint64T64 operator<<= ( int  shift)

◆ operator==()

bool operator== ( const BitMaskUint64T64  other)

◆ operator|()

BitMaskUint64T64 operator| ( const BitMaskUint64T64  other)

◆ operator|=()

BitMaskUint64T64 operator|= ( const BitMaskUint64T64  other)

◆ output()

output ( Ostream  out)

◆ outputBinary()

outputBinary ( Ostream  out,
int  spaces_every 
)

◆ outputHex()

outputHex ( Ostream  out,
int  spaces_every 
)

◆ range()

static BitMaskUint64T64 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 ( uint64_t  value)

◆ store()

store ( uint64_t  value,
int  low_bit,
int  size 
)

◆ write()

write ( Ostream  out,
int  indent_level 
)