44 const std::string & key1,
45 const std::string & file,
53 const std::string & key1,
54 const std::string & key2,
55 const std::string & file,
64 return key0 +
"%" + key1;
69 const std::string & key1,
70 const std::string & key2)
const 72 return key0 +
"%" + key1 +
"%" + key2;
78 auto it =
_map.find(key0);
92 const std::string & key1,
93 const std::string & key2)
const std::map< std::string, FileLineInfo > _map
std::string makeKey(const std::string &key0, const std::string &key1) const
Makes a unique key for the map given two strings.
FileLineInfo getInfo(const std::string &key0) const
Get file/line info for a key.
void addInfo(const std::string &key0, const std::string &file, int line)
Associate a key with file/line info.
Holds file and line information.