ConfigStore class final
#include <config/config_store.hpp>
Runtime configuration orchestrator.
Performs lazy section loading, schema/type enforcement, default substitution, dirty tracking, and persistence through IConfigBackend.
Constructors, destructors, conversion operators
- ConfigStore(std::shared_ptr<IConfigBackend> backend) explicit
- Constructs store with concrete persistence backend.
Public functions
- auto commit_all() -> bool
- Commits all dirty sections currently opened in this store.
- auto open_section(const SectionSchema& schema) -> ConfigSectionView
- Opens one section view bound to given schema.
Function documentation
ConfigSectionView prf:: config:: ConfigStore:: open_section(const SectionSchema& schema)
Opens one section view bound to given schema.
Reuses already opened section state when called repeatedly.