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