MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / ConfigFile

Class ConfigFile

src/ConfigFile.h:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "Chameleon.h"
9
10class ConfigFile {
11 std::map<std::string,Chameleon> content_;
12
13public:
14 ConfigFile(std::string const& configFile);
15
16 Chameleon const& Value(std::string const& section, std::string const& entry) const;
17
18 Chameleon const& Value(std::string const& section, std::string const& entry, double value);
19 Chameleon const& Value(std::string const& section, std::string const& entry, std::string const& value);
20
21 bool hasValue(std::string const& section, std::string const& entry) const;
22};
23
24#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected