ProtectedbitsThe bits that are set
Protected StaticMAXBITThe largest bit available
Protected StaticnamesThe map of names to bit positions
Protected StaticnextThe next bit to be allocated
The name of the bit position to clear
ProtectedgetThe name whose bit position is needed (error if not defined)
The position of the named bit
The name of the bit to check if set
True if the named bit is set
Clear all bits
The name of the bit position to set
StaticallocateThe names of the bit positions to reserve
StatichasThe name of the bit to check for being defined
True if the named bit is already allocated
File
Implements bit-fields with extendable field names
Author
dpvc@mathjax.org (Davide Cervone)