| 283 | } |
| 284 | |
| 285 | bool BitField::operator ==(const BitField& bitField) const |
| 286 | { |
| 287 | if (_size != bitField.GetSize()) |
| 288 | return false; |
| 289 | |
| 290 | for (unsigned int chunkID = 0; chunkID < _chunks.size(); chunkID++) |
| 291 | { |
| 292 | if (_chunks[chunkID] != bitField.GetChunks()[chunkID]) |
| 293 | return false; |
| 294 | } |
| 295 | |
| 296 | return true; |
| 297 | } |
| 298 | |
| 299 | bool BitField::operator !=(const BitField& bitField) const |
| 300 | { |