Identifier.generateId

Generates a new identifier.

  1. Identifier generateId(const(char)[] prefix)
  2. Identifier generateId(const(char)[] prefix, size_t suffix)
    class Identifier
    nothrow extern (D) static
    generateId
    (
    const(char)[] prefix
    ,
    size_t suffix
    )
  3. Identifier generateId(const(char)* prefix, size_t length, size_t suffix)

Parameters

prefix const(char)[]

this will be the prefix of the name of the identifier. For debugging purpose.

suffix size_t

this will be the suffix of the name of the identifier. This is what makes the identifier unique

Meta