27 #include "../../common/StringUtils.h"
28 #include "../../common/Translator.h"
29 #include "../Config.h"
30 #include "../Exception.h"
58 throw Exception(
TE_TR(
"Could not find concrete factory! Check if it was initialized!"));
This is the abstract factory for graph loader strategy.
static AbstractGraphLoaderStrategy * make()
It creates and returns default graph loader strategy.
#define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE
This definition is used to set the default graph loader strategy.
This is the abstract factory for graph loader strategy.
virtual AbstractGraphLoaderStrategy * create(GraphMetadata *gm)=0
This method must be implemented by subclasses (loader strategy types).
static dictionary_type & getDictionary()
It returns a reference to the internal dictionary of concrete factories.
std::string Convert2UCase(const std::string &value)
It converts a string to upper case.
#define TE_TR(message)
It marks a string in order to get translated.
TFACTORY * find(const TFACTORYKEY &factoryKey) const
It looks for a given factory identified by a key.
AbstractGraphLoaderStrategyFactory(const std::string &factoryKey)
Constructor.
This class define the main functions necessary to save and load the graph data and metadata informati...
static TPRODUCT * make(const TFACTORYKEY &factoryKey)
It creates an object with the appropriated factory.
This class represents a dictionary of factories.