#include <bitvec.hxx>
Inheritance diagram for xyzzy::TBvBase:
Public Member Functions | |
unsigned | length () const |
bool | isDescending () const |
unsigned | left () const |
unsigned | right () const |
unsigned | offset (unsigned right) const |
bool | checkBounds (unsigned left, unsigned right) const |
Static Public Member Functions | |
static unsigned | length (unsigned left, unsigned right) |
static bool | isDescending (unsigned left, unsigned right) |
Protected Member Functions | |
TBvBase (unsigned lb, unsigned rb) | |
Protected Attributes | |
const unsigned | lb |
const unsigned | rb |
xyzzy::TBvBase::TBvBase | ( | unsigned | lb, | |
unsigned | rb | |||
) | [inline, explicit, protected] |
unsigned xyzzy::TBvBase::length | ( | ) | const [inline] |
bool xyzzy::TBvBase::isDescending | ( | ) | const [inline] |
unsigned xyzzy::TBvBase::left | ( | ) | const [inline] |
unsigned xyzzy::TBvBase::right | ( | ) | const [inline] |
unsigned xyzzy::TBvBase::offset | ( | unsigned | right | ) | const |
Return offset of "right" from rb.
bool xyzzy::TBvBase::checkBounds | ( | unsigned | left, | |
unsigned | right | |||
) | const |
Return true if valid bounds.
unsigned xyzzy::TBvBase::length | ( | unsigned | left, | |
unsigned | right | |||
) | [static] |
static bool xyzzy::TBvBase::isDescending | ( | unsigned | left, | |
unsigned | right | |||
) | [inline, static] |
const unsigned xyzzy::TBvBase::lb [protected] |
const unsigned xyzzy::TBvBase::rb [protected] |