MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / operator ==

Method operator ==

TombEngine/Specific/Structures/BitField.cpp:285–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

GetSizeMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected