| 400 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 401 | |
| 402 | void cDbDebug::CongruencyTest(void) |
| 403 | { |
| 404 | cDbDebug_i::hierDbMap::iterator i = mpData->mDbMap.begin(); |
| 405 | for (; i != mpData->mDbMap.end(); ++i) |
| 406 | { |
| 407 | if ((*i).second != 1) |
| 408 | { |
| 409 | //We've found something in the blockfile map that is not accounted for by the |
| 410 | //hierarchy. Add this address to the appropriate list. |
| 411 | //TCOUT<< (*i).first.first << _T(",") << (*i).first.second << std::endl; |
| 412 | //TCOUT<< (*i).second <<std::endl; |
| 413 | mpData->mlMissingFromHierarchy.push_back(std::pair<int, int>((*i).first.first, (*i).first.second)); |
| 414 | } |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 419 | // OutputResults -- |