30#ifndef __TERRALIB_GRAPH_INTERNAL_TOPDOWNLOADERSTRATEGY_H
31#define __TERRALIB_GRAPH_INTERNAL_TOPDOWNLOADERSTRATEGY_H
This class define the main functions necessary to save and load the graph data and metadata informati...
AbstractGraphLoaderStrategy(te::graph::GraphMetadata *metadata)
Default constructor.
Abstract class used to define the main functions of graph struct. All graph implementations must used...
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
Class used to manager the graph data elements. This class uses a cache policy to control the elements...
This class define a important struct used to group a map of vertex and edges. A flag is used to indic...
virtual void removeVertex(int id)=0
Function used to remove a vertex saved in a data source.
virtual ~TopDownLoaderStrategy()
Default destructor.
TopDownLoaderStrategy(te::graph::GraphMetadata *metadata)
Default constructor.
virtual void loadDataByEdgeId(int edgeId, te::graph::AbstractGraph *g, te::graph::GraphCache *gc=0)=0
Functio used to load a group of edges elements given a base element.
virtual void removeEdge(int id)=0
Function used to remove a edge saved in a data source.
virtual void loadDataByVertexId(int vertexId, te::graph::AbstractGraph *g, te::graph::GraphCache *gc=0)=0
Functio used to load a group of vertex elements given a base element.
virtual void saveData(GraphData *data)=0
Save the graph data structure in Data Source.
From the point of view of graph theory, vertices are treated as featureless and indivisible objects,...
Configuration flags for the Graph module of TerraLib.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.