A Graph with additional, river specific data. More...
#include <HydroGraph.h>
Public Member Functions | |
HydroGraph () | |
Creates a new HydroGraph. | |
virtual | ~HydroGraph () |
Deletes this HydroGraph. | |
Static Public Member Functions | |
static void | save (Graph *graph, FileWriter *fileWriter, bool saveAreas=true) |
Saves a graph from a basic file. | |
static void | indexedSave (Graph *graph, FileWriter *fileWriter, bool saveAreas=true) |
Saves a graph from an indexed file. |
A Graph with additional, river specific data.
This data consists of:
proland::HydroGraph::HydroGraph | ( | ) |
Creates a new HydroGraph.
virtual proland::HydroGraph::~HydroGraph | ( | ) | [virtual] |
Deletes this HydroGraph.
static void proland::HydroGraph::indexedSave | ( | Graph * | graph, | |
FileWriter * | fileWriter, | |||
bool | saveAreas = true | |||
) | [static] |
Saves a graph from an indexed file.
Indexed files are used to load LazyGraphs faster. It contains the indexes of each element in the file.
graph | the graph to save | |
fileWriter | the FileWriter used to save the file | |
saveAreas | if true, will save the subgraphs |
static void proland::HydroGraph::save | ( | Graph * | graph, | |
FileWriter * | fileWriter, | |||
bool | saveAreas = true | |||
) | [static] |
Saves a graph from a basic file.
graph | the graph to save | |
fileWriter | the FileWriter used to save the file. | |
saveAreas | if true, will save the subgraphs. |