Go to the documentation of this file.
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;
116 #endif // __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPHLOADERSTRATEGYFACTORY_H
This class defines the interface of abstract factories without initializing parameters.
virtual ~AbstractGraphLoaderStrategyFactory()
Destructor.
static AbstractGraphLoaderStrategy * make()
It creates and returns default graph loader strategy.
static AbstractGraphLoaderStrategy * make(const std::string &lsType, GraphMetadata *gm)
It creates graph loader strategy with the proper type.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
AbstractGraphLoaderStrategyFactory(const std::string &factoryKey)
Constructor.
virtual AbstractGraphLoaderStrategy * create(GraphMetadata *gm)=0
This method must be implemented by subclasses (loader strategy types).
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.
This class define the main functions necessary to save and load the graph data and metadata informati...
This is the abstract factory for graph loader strategy.