MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / CFGParser

Class CFGParser

LibLemon/include/lemon/core/cfgparser.h:8–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <stdio.h>
7
8class CFGParser{
9 struct CFGItem{
10 std::string name;
11 std::string value;
12 };
13private:
14 std::vector<std::pair<std::string, std::vector<CFGItem>>> items;
15 FILE* cfgFile = nullptr;
16 std::vector<char> cfgData;
17public:
18 CFGParser(const char* path);
19 ~CFGParser();
20
21 void Parse();
22 auto& GetItems() { return items; };
23};

Callers 1

InitializeMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected