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

Developer-mode configuration loaded from config.toml. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DeveloperConfig
 Developer-only runtime toggles shared by client and server. More...

Functions

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

Detailed Description

Developer-mode configuration loaded from config.toml.

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: