Module biodivine_sketchbook::sketchbook::ids

source ยท
Expand description

Definitions and utilities for type-safe identifiers of various components.

Macrosยง

  • id_wrapper ๐Ÿ”’
    Macro to define various kinds of type-safe identifiers based on BaseId.

Structsยง

  • (internal) A base class to derive type-safe identifiers from (using a macro below).
  • A type-safe (string-based) identifier of a Dataset inside a particular model.
  • A type-safe (string-based) identifier of a DynProperty inside a particular model.
  • ID_REGEX ๐Ÿ”’
    A regular expression that matches the identifiers allowed.
  • A type-safe (string-based) identifier of a Layout inside a particular model.
  • A type-safe (string-based) identifier of a Observation inside a particular model.
  • A type-safe (string-based) identifier of a StatProperty inside a particular model.
  • A type-safe (string-based) identifier of a UninterpretedFn inside a particular model.
  • A type-safe (string-based) identifier of a Variable inside a particular model.

Constantsยง

  • ID_REGEX_STR ๐Ÿ”’
    (internal) A regex string of an identifier which we currently allow to appear.