XDGKit v1.0.0-1
C++ XDG Utilities
|
A parsed INI file. More...
#include <XDGINI.h>
Public Member Functions | |
uint64_t | nBytes () const noexcept |
Sum of all key/value string sizes (including the '\0' terminators) | |
Static Public Member Functions | |
static std::shared_ptr< XDGINI > | LoadFile (const std::filesystem::path &iniFile) noexcept |
Loads and parses an INI file. | |
A parsed INI file.
The content is organized in nested unordered maps. The top-level map represents the sections, while the nested maps hold the key-value pairs within each section.
All values are stored as strings.
Example usage:
|
staticnoexcept |
Loads and parses an INI file.
iniFile | The path to the INI file to be loaded and parsed. |
|
inlinenoexcept |
Sum of all key/value string sizes (including the '\0' terminators)