EPANET  3.0
EPANET Development Project
datamanager.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 
12 #ifndef DATAMANAGER_H_
13 #define DATAMANAGER_H_
14 
15 class Network;
16 
18 {
19  static int getCount(int element, int* count, Network* nw);
20 
21  static int getNodeIndex(char* name, int* index, Network* nw);
22  static int getNodeId(int index, char* id, Network* nw);
23  static int getNodeType(int index, int* type, Network* nw);
24  static int getNodeValue(int index, int param, double* value, Network* nw);
25 
26  static int getLinkIndex(char* name, int* index, Network* nw);
27  static int getLinkId(int index, char* id, Network* nw);
28  static int getLinkType(int index, int* type, Network* nw);
29  static int getLinkNodes(int index, int* fromNode, int* toNode, Network* nw);
30  static int getLinkValue(int index, int param, double* value, Network* nw);
31 };
32 
33 #endif // DATAMANAGER_H_
Definition: datamanager.h:17
Contains the data elements that describe a pipe network.
Definition: network.h:41