EPANET  3.0
EPANET Development Project
patternparser.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 PATTERNPARSER_H_
12 #define PATTERNPARSER_H_
13 
14 #include <string>
15 #include <vector>
16 
17 class Network;
18 class Pattern;
19 
21 {
22  public:
23  PatternParser() {}
24  ~PatternParser() {}
25  void parsePatternData(Pattern* pattern, std::vector<std::string>& tokens);
26 
27  protected:
28  void parseFixedPattern(Pattern* pattern, std::vector<std::string>& tokens);
29  void parseVariablePattern(Pattern* pattern, std::vector<std::string>& tokens);
30 };
31 
32 #endif
Definition: patternparser.h:20
A set of multiplier factors associated with points in time.
Definition: pattern.h:29
Contains the data elements that describe a pipe network.
Definition: network.h:41