Here.h
Go to the documentation of this file.
std::ostream & operator<<(std::ostream &os, const SourceLocation &location)
Definition: Here.h:55
SourceLocationId FileNameHashCacher(const char *fileName, FileNameHasher hasher)
a caching proxy for hasher results
Definition: Here.h:24
SourceLocationId FileNameHasher(const char *fileName)
returns a hash of a file name
Definition: Here.h:21
uint32_t SourceLocationId
semi-uniquely identifies a source code location; stable across Squid runs
Definition: Here.h:18
std::ostream & print(std::ostream &os) const
describes location using a compact but human-friendly format
Definition: Here.cc:77
SourceLocationId calculateId(FileNameHasher) const
SourceLocation(const char *aContext, const char *aFileName, const int aLineNo)
Definition: Here.h:32