Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
BitMaskUint16T16 Class Reference

#include <pandadoc.hpp>

Public Member Functions

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

Static Public Member Functions

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

Member Function Documentation

◆ __init__() [1/3]

__init__ ( )

◆ __init__() [2/3]

__init__ ( const BitMaskUint16T16 )

◆ __init__() [3/3]

__init__ ( uint16_t init_value)

◆ __nonzero__()

bool __nonzero__ ( )

◆ __reduce__()

object __reduce__ ( )

◆ allOff()

static BitMaskUint16T16 allOff ( )
static

◆ allOn()

static BitMaskUint16T16 allOn ( )
static

◆ bit()

static BitMaskUint16T16 bit ( int index)
static

◆ clear()

clear ( )

◆ clearBit()

clearBit ( int index)

◆ clearRange()

clearRange ( int low_bit,
int size )

◆ compareTo()

int compareTo ( const BitMaskUint16T16 other)

◆ extract()

uint16_t extract ( int low_bit,
int size )

◆ floodBitsDown()

BitMaskUint16T16 floodBitsDown ( )

◆ floodBitsUp()

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

uint16_t getWord ( )

◆ hasAllOf()

bool hasAllOf ( int low_bit,
int size )

◆ hasAnyOf()

bool hasAnyOf ( int low_bit,
int size )

◆ hasBitsInCommon()

bool hasBitsInCommon ( const BitMaskUint16T16 other)

◆ hasMaxNumBits()

static bool hasMaxNumBits ( )
static

◆ invertInPlace()

invertInPlace ( )

◆ isAllOn()

bool isAllOn ( )

◆ isZero()

bool isZero ( )

◆ keepNextHighestBit() [1/3]

BitMaskUint16T16 keepNextHighestBit ( )

◆ keepNextHighestBit() [2/3]

BitMaskUint16T16 keepNextHighestBit ( const BitMaskUint16T16 other)

◆ keepNextHighestBit() [3/3]

BitMaskUint16T16 keepNextHighestBit ( int index)

◆ keepNextLowestBit() [1/3]

BitMaskUint16T16 keepNextLowestBit ( )

◆ keepNextLowestBit() [2/3]

BitMaskUint16T16 keepNextLowestBit ( const BitMaskUint16T16 other)

◆ keepNextLowestBit() [3/3]

BitMaskUint16T16 keepNextLowestBit ( int index)

◆ lowerOn()

static BitMaskUint16T16 lowerOn ( int on_bits)
static

◆ operator!=()

bool operator!= ( const BitMaskUint16T16 other)

◆ operator&()

BitMaskUint16T16 operator& ( const BitMaskUint16T16 other)

◆ operator&=()

BitMaskUint16T16 operator&= ( const BitMaskUint16T16 other)

◆ operator<()

bool operator< ( const BitMaskUint16T16 other)

◆ operator<<()

BitMaskUint16T16 operator<< ( int shift)

◆ operator<<=()

BitMaskUint16T16 operator<<= ( int shift)

◆ operator==()

bool operator== ( const BitMaskUint16T16 other)

◆ operator>>()

BitMaskUint16T16 operator>> ( int shift)

◆ operator>>=()

BitMaskUint16T16 operator>>= ( int shift)

◆ operator^()

BitMaskUint16T16 operator^ ( const BitMaskUint16T16 other)

◆ operator^=()

BitMaskUint16T16 operator^= ( const BitMaskUint16T16 other)

◆ operator|()

BitMaskUint16T16 operator| ( const BitMaskUint16T16 other)

◆ operator|=()

BitMaskUint16T16 operator|= ( const BitMaskUint16T16 other)

◆ operator~()

BitMaskUint16T16 operator~ ( )

◆ output()

output ( Ostream out)

◆ outputBinary()

outputBinary ( Ostream out,
int spaces_every )

◆ outputHex()

outputHex ( Ostream out,
int spaces_every )

◆ range()

static BitMaskUint16T16 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 ( uint16_t value)

◆ store()

store ( uint16_t value,
int low_bit,
int size )

◆ write()

write ( Ostream out,
int indent_level )