This is the abstract factory for graph loader strategy.
More...
#include <AbstractGraphLoaderStrategyFactory.h>
|
std::string | m_factoryKey |
| The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. More...
|
|
This is the abstract factory for graph loader strategy.
- See also
- AbstractGraphLoaderStrategy
Definition at line 48 of file AbstractGraphLoaderStrategyFactory.h.
virtual te::graph::AbstractGraphLoaderStrategyFactory::~AbstractGraphLoaderStrategyFactory |
( |
| ) |
|
|
inlinevirtual |
te::graph::AbstractGraphLoaderStrategyFactory::AbstractGraphLoaderStrategyFactory |
( |
const std::string & |
factoryKey | ) |
|
|
protected |
Constructor.
- Parameters
-
factoryKey | The key that identifies the factory. |
|
protectedpure virtualinherited |
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
- Returns
- A reference to the internal dictionary.
It returns the factory key associated to the concreate factory.
- Returns
- The factory key associated to the concreate factory.
virtual const std::string& te::graph::AbstractGraphLoaderStrategyFactory::getType |
( |
| ) |
const |
|
pure virtual |
It creates and returns default graph loader strategy.
- Returns
- A default graph loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
It creates graph loader strategy with the proper type.
- Parameters
-
lsType | Type The name of the specific graph loader strategy type to be used to create. |
- Returns
- A proper graph loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
It creates graph loader strategy with the proper type.
- Parameters
-
lsType | Type The name of the specific graph loader strategy type to be used to create. |
gm | Pointer to a class that defines the graph metadata |
- Returns
- A proper graph loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.
Definition at line 136 of file AbstractFactory.h.
The documentation for this class was generated from the following file: