26#ifndef __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPHLOADERSTRATEGYFACTORY_H
27#define __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPHLOADERSTRATEGYFACTORY_H
90 virtual const std::string&
getType()
const = 0;
A class that defines the interface of an abstract factory.
This class defines the interface of abstract factories without initializing parameters.
static AbstractGraphLoaderStrategy * make()
It creates and returns default graph loader strategy.
virtual AbstractGraphLoaderStrategy * create(GraphMetadata *gm)=0
This method must be implemented by subclasses (loader strategy types).
static AbstractGraphLoaderStrategy * make(const std::string &lsType, GraphMetadata *gm)
It creates graph loader strategy with the proper type.
static AbstractGraphLoaderStrategy * make(const std::string &lsType)
It creates graph loader strategy with the proper type.
virtual const std::string & getType() const =0
Returns the type (name) of this factory.
AbstractGraphLoaderStrategyFactory(const std::string &factoryKey)
Constructor.
virtual ~AbstractGraphLoaderStrategyFactory()
Destructor.
This class define the main functions necessary to save and load the graph data and metadata informati...
Namespace for the Vector Geometry module of TerraLib.
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.