| 20 | } |
| 21 | |
| 22 | bool BitMap::get(const int index) const |
| 23 | { |
| 24 | int pos = index / 8; |
| 25 | int offset = index % 8; |
| 26 | |
| 27 | return (bitmap[pos] & (1 << offset)); |
| 28 | } |
| 29 | |
| 30 | void BitMap::set(const int index, const bool status) |
| 31 | { |
nothing calls this directly
no outgoing calls
no test coverage detected