group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
DeveloperConfig.cpp File Reference

Implementation of loadDeveloperConfig(). More...

#include "DeveloperConfig.hpp"
#include <cstdio>
#include <toml++/toml.hpp>
Include dependency graph for DeveloperConfig.cpp:

Functions

DeveloperConfig loadDeveloperConfig (const char *path)
 Load developer config from a TOML file.

Detailed Description

Implementation of loadDeveloperConfig().

Function Documentation

◆ loadDeveloperConfig()

DeveloperConfig loadDeveloperConfig ( const char * path)
nodiscard

Load developer config from a TOML file.

Missing files, missing keys, and parse errors fall back to defaults.

Parameters
pathPath to config.toml.
Returns
Populated DeveloperConfig.
Here is the caller graph for this function: