Define ENSURE_YAML_ENTRY_EXISTS

Define Documentation

ENSURE_YAML_ENTRY_EXISTS(_c, _name)

Assert that a required key exists in the YAML node _c.

Throws a descriptive error when the key _name is missing.

Parameters:
  • _cmrpt::containers::yaml node to check (must support .has()).

  • _name – Key name as a string literal or std::string.