|
Squid Web Cache v8/master
|
#include <InstanceId.h>
Public Member Functions | |
| ScopedId () | |
| ScopedId (const char *s) | |
| ScopedId (const char *s, uint64_t v) | |
Public Attributes | |
| const char * | scope |
| uint64_t | value |
Represents an InstanceId<C> value independent from its owner class C. These "detached" IDs can be stored by and exchanged among C-unaware users at the price of storing a short scope c-string (that InstanceIds hard-code instead) and, in some cases, using more bits/space than InstanceId<C>::value uses.
Definition at line 18 of file InstanceId.h.
|
inline |
Definition at line 21 of file InstanceId.h.
|
inlineexplicit |
Definition at line 22 of file InstanceId.h.
|
inline |
Definition at line 24 of file InstanceId.h.
| const char* ScopedId::scope |
either the prefix() of the InstanceId object that we were detached from or, for 0 values, some other description (with endless lifetime) or nil
Definition at line 28 of file InstanceId.h.
| uint64_t ScopedId::value |
either the value of the InstanceId object that we were detached from or, if our creator did not know the exact value, zero
Definition at line 32 of file InstanceId.h.