////////////////////////////////////////////////////////////////////////// util_MapHierRoot : Map the Root and RootArray in the HierDatabase: //////////////////////////////////////////////////////////////////////////
| 119 | // util_MapHierRoot : Map the Root and RootArray in the HierDatabase: |
| 120 | /////////////////////////////////////////////////////////////////////////////// |
| 121 | static void util_MapHierRoot(std::map<std::pair<int, int>, int>* dbMap) |
| 122 | { |
| 123 | cDbDebug_i::hierDbMap::iterator i = dbMap->find(std::pair<int, int>(0, 0)); |
| 124 | //dbMap->insert( cDbDebug_i::hierDbMap::value_type( std::pair< int, int > ( 0, 0 ), 1 ) ); |
| 125 | // |
| 126 | // This insert statement should work to change the value, but it doesn't ???? |
| 127 | (*i).second = 1; |
| 128 | |
| 129 | i = dbMap->find(std::pair<int, int>(0, 1)); |
| 130 | (*i).second = 1; |
| 131 | |
| 132 | i = dbMap->find(std::pair<int, int>(0, 2)); |
| 133 | (*i).second = 1; |
| 134 | } |
| 135 | |
| 136 | /////////////////////////////////////////////////////////////////////////////// |
| 137 | // DisplayDbMap -- Displays the entire map. |