chronon::sender::config::YAMLOverride
Applies dot-notation key=value overrides to a YAML configuration. More...
#include <YAMLOverride.hpp>
Public Classes
| Name | |
|---|---|
| struct | Override Parsed override: path and raw value string. |
Public Functions
| Name | |
|---|---|
| Override | parseOverrideString(const std::string & override_str) |
| void | applyOverrides(YAML::Node & root, const std::vector< Override > & overrides) |
| void | applyOverrides(YAML::Node & root, const std::vector< std::string > & override_strings) |
| void | applyOverride(YAML::Node & root, const Override & override) |
| void | applyOverride(YAML::Node & root, const std::string & override_str) |
Detailed Description
class chronon::sender::config::YAMLOverride;
Applies dot-notation key=value overrides to a YAML configuration.
Example paths: "simulation.observation.logging.min_level=warn", "simulation.unit.fetch.params.icache_lines=20".
Public Functions Documentation
function parseOverrideString
static inline Override parseOverrideString(
const std::string & override_str
)
function applyOverrides
static inline void applyOverrides(
YAML::Node & root,
const std::vector< Override > & overrides
)
function applyOverrides
static inline void applyOverrides(
YAML::Node & root,
const std::vector< std::string > & override_strings
)
function applyOverride
static inline void applyOverride(
YAML::Node & root,
const Override & override
)
function applyOverride
static inline void applyOverride(
YAML::Node & root,
const std::string & override_str
)
Updated on 2026-05-26 at 05:42:32 +0000