Lumiera
0.pre.03
»edit your freedom«
|
Identification Schemes.
Collection of commonly used mechanisms to build identification records, unique identifiers, registration numbers and hashes. These are used as glue and thin abstraction to link various subsystems or to allow interoperation of registration facilities
Namespaces |
Classes | |
class | BareEntryID |
type erased baseclass for building a combined hash and symbolic ID. More... | |
struct | EntryID |
typed symbolic and hash ID for asset-like position accounting. More... | |
struct | RandID |
Entry-ID with a symbolic tag but just a plain random hash part. More... | |
Functions | |
template<typename TY > | |
string | categoryFolder () |
template<class TY > | |
string | generateExtendedID (string prefix="") |
build a long type based identifier, with running counter and custom prefix. More... | |
template<class TY > | |
string | generateSymbolicID () |
build a per-type identifier, with type prefix and running counter. More... | |
template<typename TY > | |
HashVal | getTypeHash () |
template<typename TY > | |
string | instanceTypeID (const TY *const obj) |
designation of an distinct object instance More... | |
template<typename TY > | |
string | namePrefix () |
bool | operator== (BareEntryID const &i1, BareEntryID const &i2) |
TypedCounter & | sharedInstanceCounter () |
template<typename TY > | |
string | typeFullID () |
Complete unique type identifier. More... | |
template<typename TY > | |
string | typeSymbol () |
Short readable type identifier, not necessarily unique or complete. More... | |
|
inline |
Short readable type identifier, not necessarily unique or complete.
Definition at line 78 of file genfunc.hpp.
References stage::widget::name().
|
inline |
Complete unique type identifier.
Definition at line 90 of file genfunc.hpp.
References stage::widget::name().
|
inline |
designation of an distinct object instance
obj | pointer to the memory location of the object |
Definition at line 116 of file genfunc.hpp.
Referenced by EventMatch::argPos(), MockElm::buildMutator(), EventLog::call(), EventLog::getID(), and TestNexus::routeAdd().
|
inline |
build a per-type identifier, with type prefix and running counter.
namePrefix()
. Is this a problem? Definition at line 136 of file genfunc.hpp.
|
inline |
build a long type based identifier, with running counter and custom prefix.
prefix | optional prefix to prepend to the generated ID |
Definition at line 150 of file genfunc.hpp.
|
inline |
Definition at line 160 of file genfunc.hpp.