UWORD32 BitString::getValue (unsigned long s, unsigned short l) const
{
myassert (l <= 32) ;
UWORD32 retval = 0 ;
for (unsigned short i = 0 ; i < l ; i++) {
retval |= (*this)[s + i] << i ; // Как истолковать конструкцию (*this)[s + i] ?
}
return retval ;
}
/**
* get the value of the i-th bit
**/
BIT operator[] (const unsigned long i) const ;