|
CppNCorr
C++ ncorr Digital Image Correlation engine
|
Tiny, dependency-free INI-style configuration parser (header-only). More...
#include <cctype>#include <fstream>#include <map>#include <stdexcept>#include <string>Go to the source code of this file.
Classes | |
| class | ncorr::IniFile |
| In-memory representation of a parsed INI file. More... | |
Namespaces | |
| namespace | ncorr |
Tiny, dependency-free INI-style configuration parser (header-only).
Written in-tree to avoid adding any external dependency (no TOML/INI library). Format (deliberately minimal):
key = value pair per line.[section] headers are parsed; keys may be addressed as "section.key" or, for the default (top) section, just "key".This is intended for small config files (a few dozen keys); it loads the whole file into a map. It is not a general-purpose INI implementation.
Definition in file ini.h.