13 (*map)[key] = identifier;
17 std::ifstream ifs(inputfile);
18 if (ifs.fail()) std::cout <<
"Fail to read" << inputfile << std::endl;
20 while (ifs >> value >> key) {
21 if (value != -999)
add_to_map(toFill, value, key);
void add_to_map(latome_map *map, int value, int key)
std::map< int, HWIdentifier > latome_map
Tool to get LATOME SC and SCID mapping file and fill std::map variable with it.
static void fill(std::map< int, HWIdentifier > *toFill, std::string inputfile)