Go to the documentation of this file.
26 #ifndef __TERRALIB_GRAPH_INTERNAL_GRAPHFACTORY_H
27 #define __TERRALIB_GRAPH_INTERNAL_GRAPHFACTORY_H
30 #include "../core/AbstractGraphFactory.h"
31 #include "../Config.h"
108 #endif // __TERRALIB_GRAPH_INTERNAL_GRAPHFACTORY_H
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory ....
te::graph::AbstractGraph * build()
Builder Function used to create the class object.
void getCreationalParameters(std::vector< std::pair< std::string, std::string > > ¶ms) const
It returns the list of parameters accepted as graph info.
static GraphFactory * sm_factory
Static instance used to register the factory.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
GraphFactory()
Constructor.
This is the concrete factory for the commung Graph type.
This is the abstract factory for Graphs.
Abstract class used to define the main functions of graph struct. All graph implementations must used...
~GraphFactory()
Destructor.
te::graph::AbstractGraph * iOpen(const std::string &, const std::map< std::string, std::string > &gInfo)
This method must be re-implemented by subclasses in order to have a finner control for the graph obje...
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...
te::graph::AbstractGraph * create(const std::string &dsInfo, const std::map< std::string, std::string > &gInfo)
This method must be implemented by subclasses (graph types).
const std::string & getType() const
Returns the type (name) of this factory.