30 #ifndef __TERRALIB_GRAPH_INTERNAL_FLOWGRAPHBUILDER_H
31 #define __TERRALIB_GRAPH_INTERNAL_FLOWGRAPHBUILDER_H
34 #include "../Config.h"
52 namespace dt {
class Property; }
54 namespace gm {
class GeometryProperty; }
107 bool build(
const std::string& shapeFileName,
const std::string& linkColumn,
const int& srid,
const std::string& csvFileName,
const int& fromIdx,
const int& toIdx,
const int& weightIdx,
108 const std::map<std::string, std::string>& dsInfo,
const std::string& graphType,
const std::map<std::string, std::string>& gInfo);
128 std::auto_ptr<te::da::DataSource> getDataSource(
const std::string fileName);
156 bool createVertexObjects(
const std::string& shapeFileName,
const std::string& linkColumn,
const int& srid);
169 bool createEdgeObjects(
const std::string& csvFileName,
const int& fromIdx,
const int& toIdx,
const int& weightIdx);
178 #endif // __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
int m_edgeId
Attribute used as a index counter for edge objects.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
This class defines the Flow strategy to build a graph.
An abstract class for data providers like a DBMS, Web Services or a regular file. ...