#include <iosfwd>
Include dependency graph for Here.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | SourceLocation |
a source code location that is cheap to create, copy, and store More... | |
Macros | |
#define | Here() SourceLocation(__FUNCTION__, __FILE__, __LINE__) |
source code location of the caller More... | |
Typedefs | |
typedef uint32_t | SourceLocationId |
semi-uniquely identifies a source code location; stable across Squid runs More... | |
typedef SourceLocationId | FileNameHasher(const char *fileName) |
returns a hash of a file name More... | |
typedef SourceLocationId | FileNameHashCacher(const char *fileName, FileNameHasher hasher) |
a caching proxy for hasher results More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const SourceLocation &location) |
static SourceLocationId | UnitFileNameHashCacher (const char *fileName, FileNameHasher hasher) |
Variables | |
static FileNameHashCacher | UnitFileNameHashCacher |
Macro Definition Documentation
◆ Here
#define Here | ( | ) | SourceLocation(__FUNCTION__, __FILE__, __LINE__) |
Typedef Documentation
◆ FileNameHashCacher
typedef SourceLocationId FileNameHashCacher(const char *fileName, FileNameHasher hasher) |
◆ FileNameHasher
typedef SourceLocationId FileNameHasher(const char *fileName) |
◆ SourceLocationId
typedef uint32_t SourceLocationId |
Function Documentation
◆ operator<<()
|
inline |
Definition at line 54 of file Here.h.
References SourceLocation::print().
◆ UnitFileNameHashCacher()
|
static |
SourceLocation::id() speed optimization hack: Caches hasher
results. The cache capacity is one filename hash. Each translation unit gets one cache.
Variable Documentation
◆ UnitFileNameHashCacher
|
static |