EPANET  3.0
EPANET Development Project
nodeparser.h
Go to the documentation of this file.
1 /* EPANET 3
2  *
3  * Copyright (c) 2016 Open Water Analytics
4  * Licensed under the terms of the MIT License (see the LICENSE file for details).
5  *
6  */
7 
10 
11 #ifndef NODEPARSER_H_
12 #define NODEPARSER_H_
13 
14 #include <sstream>
15 #include <string>
16 #include <vector>
17 
18 class Node;
19 class Network;
20 
24 
26 {
27  public:
28  NodeParser() {}
29  ~NodeParser() {}
30 
31  void parseNodeData(std::string& nodeName, Network* nw, std::vector<std::string>& tokens);
32  void parseDemand(Node* node, Network* nw, std::vector<std::string>& tokens);
33  void parseEmitter(Node* node, Network* nw, std::vector<std::string>& tokens);
34  void parseCoords(Node* node, std::vector<std::string>& tokens);
35  void parseInitQual(Node* node, std::vector<std::string>& tokens);
36  void parseQualSource(Node* node, Network* nw, std::vector<std::string>& tokens);
37  void parseTankMixing(Node* node, std::vector<std::string>& tokens);
38  void parseTankReact(Node* node, std::vector<std::string>& tokens);
39 };
40 
41 #endif
42 
A connection point between links in a network.
Definition: node.h:30
The NodeParser class is used to parse lines of input data for network nodes read from a text file...
Definition: nodeparser.h:25
Contains the data elements that describe a pipe network.
Definition: network.h:41