Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
config.hpp File Reference

JSON configuration with dotted-path lookups, which can be changed and saved. More...

#include <aegis2d/core/export.hpp>
#include <concepts>
#include <cstdint>
#include <filesystem>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::core::ConfigError
 Thrown when a configuration cannot be read or parsed. More...
 
struct  aegis2d::core::ConfigValue
 One value of a configuration document, independent of the JSON library. More...
 
struct  aegis2d::core::ConfigMember
 One member of a JSON object. More...
 
class  aegis2d::core::Config
 JSON configuration file (server port, window size...) read through typed getters. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::core
 Logging, time, main loop, events and configuration shared by client and server.
 

Detailed Description

JSON configuration with dotted-path lookups, which can be changed and saved.