• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • libconfig
  • Level
  • config::Level Class

    class config::Level

    One place a setting value can be set, in priority order. More...

    Header: #include <Level>

    Detailed Description

    A level is a value type: an integer priority, a stable id and an operator label. Each schema declares its own levels, so the engine holds no list of them. Two are built in: the declared default (priority 0, never stored) and the app level (priority 100, `app::Settings`). See config-ui §CFGM-3.

    Comparison by < answers "which level wins": the higher priority does. Equality needs the same priority and the same id.