proland::HydroGraph Class Reference
[graph]

A Graph with additional, river specific data. More...

#include <HydroGraph.h>

List of all members.

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.

Detailed Description

A Graph with additional, river specific data.

This data consists of:

Author:
Antoine Begault, Guillaume Piolat

Constructor & Destructor Documentation

proland::HydroGraph::HydroGraph (  ) 

Creates a new HydroGraph.

virtual proland::HydroGraph::~HydroGraph (  )  [virtual]

Deletes this HydroGraph.


Member Function Documentation

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.

Parameters:
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.

Parameters:
graph the graph to save
fileWriter the FileWriter used to save the file.
saveAreas if true, will save the subgraphs.

Generated on Sat May 12 09:42:58 2012 for proland by  doxygen 1.6.1