11 #ifndef OPTIONPARSER_H_ 12 #define OPTIONPARSER_H_ 26 void parseOption(
Network* network, std::vector<std::string>& tokens);
27 void parseTimeOption(
Network* network, std::vector<std::string>& tokens);
28 void parseEnergyOption(
Network* network, std::vector<std::string>& tokens);
29 void parseReactOption(
Network* network, std::vector<std::string>& tokens);
30 void parseReportOption(
Network* network, std::vector<std::string>& tokens);
33 std::string getEpanet3Keyword(
const std::string& s1,
34 const std::string& s2,
36 void setOption(
const std::string& keyword,
37 const std::string& value,
39 void parseQualOption(
const std::string& s2,
40 const std::string& s3,
42 void parseReportItems(
int nodesOrLinks,
46 void parseReportField(
Network* network,
Parses lines of project option data from a text file.
Definition: optionparser.h:22
Contains the data elements that describe a pipe network.
Definition: network.h:41