28 std::string
file()
const;
49 void addInfo(
const std::string & key0,
const std::string & file,
int line);
59 addInfo(
const std::string & key0,
const std::string & key1,
const std::string & file,
int line);
69 void addInfo(
const std::string & key0,
70 const std::string & key1,
71 const std::string & key2,
72 const std::string & file,
98 getInfo(
const std::string & key0,
const std::string & key1,
const std::string & key2)
const;
104 std::string
makeKey(
const std::string & key0,
const std::string & key1)
const;
110 makeKey(
const std::string & key0,
const std::string & key1,
const std::string & key2)
const;
111 std::map<std::string, FileLineInfo>
_map;
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.
A mapping between a series of keys to a FileLineInfo.