added BitSet::size()

This commit is contained in:
Matej Sekoranja
2012-07-31 11:47:42 +02:00
parent ac10b73e69
commit 6a86496385
2 changed files with 13 additions and 0 deletions

View File

@@ -191,6 +191,10 @@ namespace epics { namespace pvData {
return sum;
}
uint32 BitSet::size() const {
return wordsLength * BITS_PER_WORD;
}
BitSet& BitSet::operator&=(const BitSet& set) {
while (wordsInUse > set.wordsInUse)