26 #ifndef __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPHLOADERSTRATEGYFACTORY_H
27 #define __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPHLOADERSTRATEGYFACTORY_H
30 #include "../../common/AbstractFactory.h"
31 #include "../Config.h"
38 class AbstractGraphLoaderStrategy;
90 virtual const std::string&
getType()
const = 0;
This class defines the interface of abstract factories without initializing parameters.
This is the abstract factory for graph loader strategy.
static AbstractGraphLoaderStrategy * make()
It creates and returns default graph loader strategy.
virtual const std::string & getType() const =0
Returns the type (name) of this factory.
static AbstractGraphLoaderStrategy * make(const std::string &lsType)
It creates graph loader strategy with the proper type.
virtual AbstractGraphLoaderStrategy * create(GraphMetadata *gm)=0
This method must be implemented by subclasses (loader strategy types).
AbstractGraphLoaderStrategyFactory(const std::string &factoryKey)
Constructor.
static AbstractGraphLoaderStrategy * make(const std::string &lsType, GraphMetadata *gm)
It creates graph loader strategy with the proper type.
virtual ~AbstractGraphLoaderStrategyFactory()
Destructor.
This class define the main functions necessary to save and load the graph data and metadata informati...
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.