libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
mx::Item Class Reference

A single key/value pair read from a configuration file. More...

#include <cfg.hpp>

Collaboration diagram for mx::Item:
[legend]

Public Attributes

std::string key
 Configuration key name.
std::string value
 Value associated with the key.

Detailed Description

A single key/value pair read from a configuration file.

Definition at line 23 of file cfg.hpp.

Member Data Documentation

◆ key

std::string mx::Item::key

Configuration key name.

Definition at line 25 of file cfg.hpp.

Referenced by mx::ConfigFile::loadFile().

◆ value

std::string mx::Item::value

Value associated with the key.

Definition at line 26 of file cfg.hpp.

Referenced by mx::ConfigFile::loadFile().


The documentation for this class was generated from the following file: